# Contributor: Dmitry Romanenko # Maintainer: Dmitry Romanenko pkgname=py3-pytest-forked _pkgname=pytest-forked pkgver=1.1.1 pkgrel=0 pkgdesc="extracted --boxed from pytest-xdist to ensure backward compat" url="https://github.com/pytest-dev/pytest-forked" arch="noarch" license="MIT" depends="py3-pytest" makedepends="py3-setuptools_scm" checkdepends="py3-tox" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces="pytest-forked" # Backwards compatibility provides="pytest-forked=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { local _py3ver=$(python3 -c 'import sys; print("{}{}".format(sys.version_info.major, sys.version_info.minor))') tox -e py$_py3ver } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="4158a5354f749e4bc7497506ab42c43da682ebd93860b1b0a8df5f8f9efe64c4c495cf61457244622c42e18cc119851b81f53e7da9b2ebfb4a8e1db6dddf4c2e pytest-forked-1.1.1.tar.gz"