# Maintainer: Drew DeVault pkgname=py3-six _pkgname=six pkgver=1.13.0 pkgrel=0 pkgdesc="Python 2 and 3 compatibility library" url="https://pypi.python.org/pypi/six" arch="noarch" license="MIT" depends="python3" makedepends="py3-setuptools" source="$pkgname-$pkgver.tar.gz::https://github.com/benjaminp/$_pkgname/archive/$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces="py-six" # Backwards compatibility provides="py-six=$pkgver-r$pkgrel" # Backwards compatibility # circular dependency with pytest #checkdepends="pytest py3-pytest" options="!check" build() { python3 setup.py build } check() { python3 -m pytest -rfsxX } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="b30f689019d021708fba96c367c7bb913f18aa3f11891fbd6326c3bb0f93c6f4b4fce9709bbd131f4876362422f026097e69aead95adf96a0fe68daa430d376f py3-six-1.13.0.tar.gz"