# Contributor: Stefan Wagner # Maintainer: Stefan Wagner pkgname=py3-webencodings _pkgname=webencodings pkgver=0.5.1 pkgrel=7 pkgdesc="Character encoding for the web" url="https://github.com/gsnedders/python-webencodings" arch="noarch" license="MIT" depends="python3" makedepends="py3-setuptools" checkdepends="pytest" subpackages="$pkgname-pyc" source="$_pkgname-$pkgver.tar.gz::https://github.com/gsnedders/python-$_pkgname/archive/v$pkgver.tar.gz" builddir="$srcdir"/python-$_pkgname-$pkgver build() { python3 setup.py build } check() { py.test-3 } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" c5cb34f35fb5bc7ffb88c19eb3262dedbf6231c0ee2871dccbc0f9497193d8209fc20703d451a2bb41a5ff913e63abf7481f7a8f9886c953724e9cf71c34cb74 webencodings-0.5.1.tar.gz "