# Contributor: Stuart Cardall # Maintainer: Stuart Cardall pkgname=py3-tox _pkgname=${pkgname#py3-*} pkgver=3.9.0 pkgrel=2 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-virtualenv py3-py py3-pluggy py3-argparse py3-six py3-filelock py3-toml py3-setuptools" 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() { cd "$builddir" python3 setup.py build } package() { cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } check() { cd "$builddir" python3 setup.py test } sha512sums="7cac28d4f8bc4c30f827a9770da43a06b19fdfec1251c079a380e161851d51df0d395d8b6499100c387a6d711352447a8fd2c14e1ebe6d3a9a0b08ca6c3464ee tox-3.9.0.tar.gz"