From 1499281eb965669a4264cc1c0061f7c63c900cae Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 30 Aug 2023 13:55:57 -0400 Subject: [PATCH] testing/py3-urllib3-secure-extra: move from user --- .../py3-urllib3-secure-extra/APKBUILD | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) rename {user => testing}/py3-urllib3-secure-extra/APKBUILD (85%) diff --git a/user/py3-urllib3-secure-extra/APKBUILD b/testing/py3-urllib3-secure-extra/APKBUILD similarity index 85% rename from user/py3-urllib3-secure-extra/APKBUILD rename to testing/py3-urllib3-secure-extra/APKBUILD index 6920d15..3aac4e8 100644 --- a/user/py3-urllib3-secure-extra/APKBUILD +++ b/testing/py3-urllib3-secure-extra/APKBUILD @@ -9,21 +9,24 @@ arch="noarch" pkgdesc="Marker library to detect whether urllib3 was installed with the deprecated [secure] extra" url="https://pypi.python.org/project/$_pkgname" license="Apache-2.0" -depends="py3-urllib3" -makedepends="py3-flit py3-build py3-installer" -checkdepends="py3-pytest" +depends=" + py3-urllib3 + " +makedepends=" + py3-flit + py3-build + py3-installer + " +options="!check" # No testsuite source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver +subpackages="$pkgname-pyc" build() { flit build --setup-py --format wheel python3 -m build --wheel --no-isolation } -check() { - PYTHONPATH="$srcdir" pytest || true -} - package() { python3 -m installer --destdir="$pkgdir" dist/*.whl }