diff --git a/community/py3-nox/APKBUILD b/community/py3-nox/APKBUILD index f2f3ef38505..696ae4dc557 100644 --- a/community/py3-nox/APKBUILD +++ b/community/py3-nox/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Patrycja Rosa # Maintainer: Patrycja Rosa pkgname=py3-nox -pkgver=2024.10.09 +pkgver=2025.05.01 pkgrel=0 pkgdesc="Flexible test automation for Python" url="https://nox.thea.codes/" @@ -10,6 +10,7 @@ license="Apache-2.0" depends=" py3-argcomplete py3-colorlog + py3-dependency-groups py3-packaging py3-py py3-setuptools @@ -18,9 +19,12 @@ depends=" python3 " makedepends="py3-gpep517 py3-hatchling" -checkdepends="py3-pytest" +checkdepends="py3-pytest py3-attrs" +options="net" # tests require 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" build() { @@ -43,5 +47,6 @@ package() { } sha512sums=" -51d1f70ba94d01abd10ba3a12896facd13a7a2881496221b6fa9d0a43ff947303b0cc975a29169a3d9e0174277e23e0bc4b1137b2774c1abffa23a48c9d69a11 py3-nox-2024.10.09.tar.gz +1b1efac7dd78029d6c61122cdafde8077bfe2635a1d3441e848847e5c81da6cd9f2db102796b855520e9d239ee5b9b782e50b40e904c9bafafcc2f44cf61e871 py3-nox-2025.05.01.tar.gz +543d2e7a68a6dabaa5c0e1ceb1a578f5a0cd1a77ceda4f68007335edd1ead19cbcad064edcbc0addd95a905505e37ba9971b0d6e83fc281a65c96b1d0e1c6680 fix-test.patch " diff --git a/community/py3-nox/fix-test.patch b/community/py3-nox/fix-test.patch new file mode 100644 index 00000000000..60f77368029 --- /dev/null +++ b/community/py3-nox/fix-test.patch @@ -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"