# Maintainer: Drew DeVault pkgname=py3-six _pkgname=six pkgver=1.14.0 pkgrel=1 pkgdesc="Python 2 and 3 compatibility library" url="https://pypi.python.org/pypi/six" arch="noarch" license="MIT" depends="python3" 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="1604c083841693beac32a67bdab0c01f8bb77f648f5da408c68c7fa61137843371ae75c7c0a0a19172ad77e737b35a2a762e22a3908b90958a65945b476bfb65 py3-six-1.14.0.tar.gz"