aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCeleste <20312-Celeste@users.gitlab.alpinelinux.org>2023-10-02 03:58:39 +0000
committerAndy Postnikov <apostnikov@gmail.com>2023-10-05 19:26:48 +0000
commitb04927ec69b1b43e8535f25390fef027ba452664 (patch)
treed3a391c0af977c9c4e334b5c24875d2b7789892f
parent533fac460c9db5ad5cc53f59e24ff3c4886a0663 (diff)
main/py3-packaging: upgrade to 23.2
-rw-r--r--main/py3-packaging/APKBUILD18
1 files changed, 8 insertions, 10 deletions
diff --git a/main/py3-packaging/APKBUILD b/main/py3-packaging/APKBUILD
index 00dbcc651b1..a7988e8f1e1 100644
--- a/main/py3-packaging/APKBUILD
+++ b/main/py3-packaging/APKBUILD
@@ -2,8 +2,8 @@
# Maintainer: Peter Shkenev <santurysim@gmail.com>
pkgname=py3-packaging
_pkgname=packaging
-pkgver=23.1
-pkgrel=3
+pkgver=23.2
+pkgrel=0
pkgdesc="Core utilities for Python3 packages"
options="!check" # Requires py3-pytest which requires py3-setuptools
url="https://pypi.org/project/packaging"
@@ -34,16 +34,14 @@ package() {
}
check() {
- PYTHONPATH="$PWD/build/lib" python3 -m pytest \
- --ignore=tests/test_manylinux.py \
- --ignore=tests/test_markers.py \
- --ignore=tests/test_specifiers.py \
+ python3 -m venv --clear --without-pip --system-site-packages .testenv
+ .testenv/bin/python3 -m installer .dist/*.whl
+ .testenv/bin/python3 -m pytest \
--ignore=tests/test_tags.py \
- --ignore=tests/test_version.py
- # tests that require https://pypi.org/project/pretend/ are disabled
- # above because py3-pretend hasn't been packaged for Alpine Linux
+ --deselect \
+ tests/test_manylinux.py::test_is_manylinux_compatible_old
}
sha512sums="
-0f2246b8bfeb467623ee72e6fdb7c0416e3b4ba0e00102c1528581e0835cc8e731a812b15e2e429d3ebb0001713d95cc2675f443f4597b092e305a3ef2e9137a packaging-23.1.tar.gz
+8ab5e9bc4feef2fac1c9044dc8a6f2d41aaf9fe2dae671de8b98c0b1a19dca2169588b87d85a8c990d808b1e76faee65984ce970eaa3282b75e107ca82cc2863 packaging-23.2.tar.gz
"