1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-19 09:15:30 +03:00
aports/testing/py3-pytest-env/APKBUILD
Galen Abell 6b34528d39 testing/py3-pytest-env: new aport
https://github.com/MobileDynasty/pytest-env
Pytest plugin for adding environment variables
testing/
2021-07-08 05:05:38 -03:00

27 lines
838 B
Text

# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=py3-pytest-env
_pyname=pytest-env
pkgver=0.6.2
pkgrel=0
pkgdesc="Pytest plugin for adding environment variables"
url="https://github.com/MobileDynasty/pytest-env"
arch="noarch"
license="MIT"
depends="python3 py3-pytest"
makedepends="py3-setuptools"
options="!check" # no tests
source="$_pyname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pyname%${_pyname#?}}/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
0b3bb21fc881023c102b584593c6e28840400ce8190810f33f9a421df4141e17dcfad2943c4159aaab82376b7b47b07b45f97c9cb232a7d17c4d35b55966596d pytest-env-0.6.2.tar.gz
"