1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 18:25:41 +03:00
aports/community/py3-pytest-subtests/APKBUILD

30 lines
912 B
Text

# Contributor: Jacek Pruciak <alpine@juniorjpdj.pl>
# Maintainer: Jacek Pruciak <alpine@juniorjpdj.pl>
pkgname=py3-pytest-subtests
pkgver=0.10.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 --skip-build --root="$pkgdir"
}
sha512sums="
228b416b6a34386c8d6b393199f8683fdc7b015ce777a7251a472e704519065f6d2993efb110c35e090df1ac51023a1fdd3b5f85d2f7d6d6cbcb8677c459e532 pytest-subtests-0.10.0.tar.gz
"