mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
community/py3-nox: upgrade to 2023.04.22
This commit is contained in:
parent
f3ee4c0e8a
commit
6a0159b882
@ -1,8 +1,8 @@
|
|||||||
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
||||||
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
||||||
pkgname=py3-nox
|
pkgname=py3-nox
|
||||||
pkgver=2022.11.21
|
pkgver=2023.04.22
|
||||||
pkgrel=1
|
pkgrel=0
|
||||||
pkgdesc="Flexible test automation for Python"
|
pkgdesc="Flexible test automation for Python"
|
||||||
url="https://nox.thea.codes/"
|
url="https://nox.thea.codes/"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
@ -17,7 +17,7 @@ depends="
|
|||||||
py3-wheel
|
py3-wheel
|
||||||
python3
|
python3
|
||||||
"
|
"
|
||||||
makedepends="py3-gpep517"
|
makedepends="py3-gpep517 py3-hatchling"
|
||||||
checkdepends="py3-pytest"
|
checkdepends="py3-pytest"
|
||||||
subpackages="$pkgname-pyc"
|
subpackages="$pkgname-pyc"
|
||||||
source="https://github.com/theacodes/nox/archive/$pkgver/py3-nox-$pkgver.tar.gz"
|
source="https://github.com/theacodes/nox/archive/$pkgver/py3-nox-$pkgver.tar.gz"
|
||||||
@ -32,16 +32,16 @@ build() {
|
|||||||
check() {
|
check() {
|
||||||
python3 -m venv --clear --without-pip --system-site-packages test-env
|
python3 -m venv --clear --without-pip --system-site-packages test-env
|
||||||
test-env/bin/python3 -m installer \
|
test-env/bin/python3 -m installer \
|
||||||
dist/nox-$pkgver-py3-none-any.whl
|
dist/nox*.whl
|
||||||
# all tox_to_nox tests have python2.7 hardcoded
|
# all tox_to_nox tests have python2.7 hardcoded
|
||||||
test-env/bin/python3 -m pytest --ignore=tests/test_tox_to_nox.py
|
test-env/bin/python3 -m pytest --ignore=tests/test_tox_to_nox.py
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
python3 -m installer -d "$pkgdir" --compile-bytecode 0 \
|
python3 -m installer -d "$pkgdir" \
|
||||||
dist/nox-$pkgver-py3-none-any.whl
|
dist/nox*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
7f725425acd7d1ef55e04c5330c1f4fd2f2f5107c24b4bb7f7e2711cf6a5c1b8f2777a4902ee31d4a56898a953f3da6a9ed340d652fbc63cba33f5f763702b78 py3-nox-2022.11.21.tar.gz
|
7425588b0ae87d66211a4fec1d204122a2adb114ddca866d2e66e1caff930f593af1540e5c88806894400ea8aba92037d3f458a98df05d6ac70662705426ee6e py3-nox-2023.04.22.tar.gz
|
||||||
"
|
"
|
||||||
|
Loading…
Reference in New Issue
Block a user