mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-15 20:25:17 +03:00
community/py3-nox: upgrade to 2025.05.01
This commit is contained in:
parent
287ac55fbe
commit
addad0075f
2 changed files with 19 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# 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=2024.10.09
|
pkgver=2025.05.01
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Flexible test automation for Python"
|
pkgdesc="Flexible test automation for Python"
|
||||||
url="https://nox.thea.codes/"
|
url="https://nox.thea.codes/"
|
||||||
|
@ -10,6 +10,7 @@ license="Apache-2.0"
|
||||||
depends="
|
depends="
|
||||||
py3-argcomplete
|
py3-argcomplete
|
||||||
py3-colorlog
|
py3-colorlog
|
||||||
|
py3-dependency-groups
|
||||||
py3-packaging
|
py3-packaging
|
||||||
py3-py
|
py3-py
|
||||||
py3-setuptools
|
py3-setuptools
|
||||||
|
@ -18,9 +19,12 @@ depends="
|
||||||
python3
|
python3
|
||||||
"
|
"
|
||||||
makedepends="py3-gpep517 py3-hatchling"
|
makedepends="py3-gpep517 py3-hatchling"
|
||||||
checkdepends="py3-pytest"
|
checkdepends="py3-pytest py3-attrs"
|
||||||
|
options="net" # tests require
|
||||||
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
|
||||||
|
fix-test.patch
|
||||||
|
"
|
||||||
builddir="$srcdir/nox-$pkgver"
|
builddir="$srcdir/nox-$pkgver"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
@ -43,5 +47,6 @@ package() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
51d1f70ba94d01abd10ba3a12896facd13a7a2881496221b6fa9d0a43ff947303b0cc975a29169a3d9e0174277e23e0bc4b1137b2774c1abffa23a48c9d69a11 py3-nox-2024.10.09.tar.gz
|
1b1efac7dd78029d6c61122cdafde8077bfe2635a1d3441e848847e5c81da6cd9f2db102796b855520e9d239ee5b9b782e50b40e904c9bafafcc2f44cf61e871 py3-nox-2025.05.01.tar.gz
|
||||||
|
543d2e7a68a6dabaa5c0e1ceb1a578f5a0cd1a77ceda4f68007335edd1ead19cbcad064edcbc0addd95a905505e37ba9971b0d6e83fc281a65c96b1d0e1c6680 fix-test.patch
|
||||||
"
|
"
|
||||||
|
|
10
community/py3-nox/fix-test.patch
Normal file
10
community/py3-nox/fix-test.patch
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
Upstream: No
|
||||||
|
Reason: install is verbose but only last line should be tested
|
||||||
|
--- a/tests/test_main.py
|
||||||
|
+++ b/tests/test_main.py
|
||||||
|
@@ -1117,4 +1117,4 @@
|
||||||
|
print(job.stdout)
|
||||||
|
print(job.stderr)
|
||||||
|
assert job.returncode == 0
|
||||||
|
- assert job.stdout.rstrip() == "2024.10.9"
|
||||||
|
+ assert job.stdout.rstrip().splitlines()[-1] == "2024.10.9"
|
Loading…
Add table
Add a link
Reference in a new issue