2022-02-01 01:03:15 +00:00

31 lines
911 B
Plaintext

# Contributor: Jacek Pruciak <alpine@juniorjpdj.pl>
# Maintainer: Jacek Pruciak <alpine@juniorjpdj.pl>
pkgname=py3-pytest-subtests
pkgver=0.6.0
pkgrel=0
pkgdesc="pytest plugin for subTest() support and subtests fixture"
url="https://github.com/pytest-dev/pytest-subtests/"
arch="noarch"
license="MIT"
depends="python3 py3-pytest"
makedepends="py3-setuptools py3-setuptools_scm"
checkdepends="py3-pytest-xdist"
source="https://files.pythonhosted.org/packages/source/p/pytest-subtests/pytest-subtests-$pkgver.tar.gz"
builddir="$srcdir/pytest-subtests-$pkgver"
build() {
python3 setup.py build
}
check() {
PYTHONPATH="$builddir/build/lib:$PYTHONPATH" pytest -v
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
9b6697db135b215ae9f38704a4334f0f407959686f92f914c4e9c68087287145b7669a5730cecc77121c669d60adb10f4449ec253645d939db52b5885a122b99 pytest-subtests-0.6.0.tar.gz
"