mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +03:00
46 lines
1 KiB
Text
46 lines
1 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-jaraco.envs
|
|
pkgver=2.4.0
|
|
pkgrel=2
|
|
pkgdesc="Classes for orchestrating Python (virtual) environments"
|
|
url="https://github.com/jaraco/jaraco.envs"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="
|
|
py3-path
|
|
python3
|
|
"
|
|
makedepends="
|
|
py3-gpep517
|
|
py3-setuptools
|
|
py3-setuptools_scm
|
|
py3-wheel
|
|
"
|
|
checkdepends="
|
|
py3-pytest
|
|
py3-tox
|
|
py3-virtualenv
|
|
"
|
|
source="https://pypi.python.org/packages/source/j/jaraco.envs/jaraco.envs-$pkgver.tar.gz"
|
|
builddir="$srcdir/jaraco.envs-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m venv --clear --without-pip --system-site-packages testenv
|
|
testenv/bin/python3 -m installer dist/*.whl
|
|
testenv/bin/python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
d4da2a3f8ec9add63a0b2f754523da5b6593d869537e38c33ea86e59105c4be0cea15546897d70b869cf81be709d9b3fa2cfa35bbefcb9ab32a373ea620553aa jaraco.envs-2.4.0.tar.gz
|
|
"
|