# Contributor: Stuart Cardall # Maintainer: Stuart Cardall pkgname=py3-tox _pkgname=${pkgname#py3-*} pkgver=3.14.3 pkgrel=0 pkgdesc="virtualenv management and test command line tool" options="!check" # Requires unpackaged py3-pytest extensions url="https://tox.readthedocs.org/" arch="noarch" license="MIT" depends=" py3-packaging py3-pluggy py3-py py3-six py3-virtualenv py3-toml py3-filelock " checkdepends="py3-pytest" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces="py-tox" # Backwards compatibility provides="py-tox=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } check() { python3 setup.py test } sha512sums="6e1643b795411a7708670082f993d1aa68d80b2d7881cda46e84254b31724fef21e7d9f23e3775c50b34d13c61a2e50a24305d697c26c2c52211196db3f5f559 tox-3.14.3.tar.gz"