# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=py3-testtools _pkgname=testtools pkgver=2.3.0 pkgrel=5 pkgdesc="Extensions to the Python standard library unit testing framework" url="https://pypi.python.org/pypi/testtools" arch="noarch" license="MIT" depends="python3 py3-pbr py3-setuptools py3-fixtures py3-extras py3-six py3-mimeparse" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-testtools" # Backwards compatibility provides="py-testtools=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { python3 setup.py check } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="558fe6a1bdce7215f9f6f178f469a2b76948dc7ff0ce27400482a16683474edb81d9bf90ae48b6fcb8df9eb70759341b694aa162ed3d9d4abd372981cdcd8a64 testtools-2.3.0.tar.gz"