aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid A. Hannasch <David.A.Hannasch@gmail.com>2021-08-23 12:33:30 -0600
committerKevin Daudt <kdaudt@alpinelinux.org>2021-11-28 19:37:07 +0000
commitc8cb427ed698e90f163e9c292581d8058875f8a0 (patch)
tree024c6b435b044ae2933bfcf7e00a35b92e969dab
parent909ba9d37cbbf232f260fc27aa739d2c46dd598d (diff)
downloadaports-c8cb427ed698e90f163e9c292581d8058875f8a0.tar.gz
aports-c8cb427ed698e90f163e9c292581d8058875f8a0.tar.bz2
aports-c8cb427ed698e90f163e9c292581d8058875f8a0.tar.xz
main/py3-packaging: upgrade to 21.2, s390x has no musl test setting
-rw-r--r--main/py3-packaging/APKBUILD16
1 files changed, 11 insertions, 5 deletions
diff --git a/main/py3-packaging/APKBUILD b/main/py3-packaging/APKBUILD
index 48705b4e43..53cc9725a3 100644
--- a/main/py3-packaging/APKBUILD
+++ b/main/py3-packaging/APKBUILD
@@ -2,21 +2,24 @@
# Maintainer:
pkgname=py3-packaging
_pkgname=packaging
-pkgver=20.9
-pkgrel=1
+pkgver=21.2
+pkgrel=0
pkgdesc="Core utilities for Python3 packages"
-options="!check" # Requires py3-pytest which requires py3-setuptools
+#options="!check" # Requires py3-pytest which requires py3-setuptools
url="https://pypi.python.org/pypi/packaging"
arch="noarch"
license="Apache-2.0 AND BSD-2-Clause"
depends="python3 py3-parsing py3-six"
-#checkdepends="py3-pytest" # disable check to breake circular dep with py3-setuptools
+# disable check to break circular dep with py3-setuptools
+checkdepends="py3-pytest py3-pretend"
source="https://files.pythonhosted.org/packages/source/p/packaging/packaging-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
replaces="py-packaging" # Backwards compatibility
provides="py-packaging=$pkgver-r$pkgrel" # Backwards compatibility
+[ "$CARCH" = s390x ] && options="$options !check" # fails a lot
+
build() {
python3 setup.py build
}
@@ -27,6 +30,7 @@ package() {
check() {
PYTHONPATH="$PWD/build/lib" python3 -m pytest \
+ --ignore=tests/test_manylinux.py \
--ignore=tests/test_markers.py \
--ignore=tests/test_specifiers.py \
--ignore=tests/test_tags.py \
@@ -35,4 +39,6 @@ check() {
# above because py3-pretend hasn't been packaged for Alpine Linux
}
-sha512sums="229b729aa9be7730509b7036dce0ca0750103fb7e2cd45d51f0eeaf2a4731605d63d11e11c10c7c481e228faa5e860c2c8f7bc6bee3190cafd72c22d7b3db264 packaging-20.9.tar.gz"
+sha512sums="
+21bdab5e529ee47a9a16d2863650120062011469e035e869fb6526ebaf61a6e8167e6a2278b74db8c15fcb9a8bc70a11c3ebe1e7ab1d677dc09ee67456d0aa1a packaging-21.2.tar.gz
+"