# Contributor: William Pitcock <nenolod@dereferenced.org> # Maintainer: pkgname=py3-six _pkgname=six pkgver=1.12.0 pkgrel=0 pkgdesc="Python 2 compatibility library" url="https://pypi.python.org/pypi/six" arch="noarch" options="!check" # Circular dependency with py3-pytest license="MIT" depends="" makedepends="python3-dev" #checkdepends="py3-pluggy py3-pytest" source="$pkgname-$pkgver.tar.gz::https://github.com/benjaminp/$_pkgname/archive/$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { cd "$builddir" python3 setup.py build } check() { cd "$builddir" python3 setup.py test } package() { cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="67f218ec591411b4a460e4e2744083b7e128440a50d006433cd85a7485b3f4bbf37830bee4cfd3e24194e4873f9ad251a62900e2f5fce7429d647b3df14543c3 py3-six-1.12.0.tar.gz"