testing/py3-urllib3-secure-extra: move from user
This commit is contained in:
parent
034a8b80aa
commit
1499281eb9
1 changed files with 10 additions and 7 deletions
|
@ -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
|
||||
}
|
Loading…
Reference in a new issue