mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
testing/py3-rfc3987: build with gpep517
This commit is contained in:
parent
249411042c
commit
0582b6ecb3
@ -2,13 +2,13 @@
|
||||
# Maintainer: Iskren Chernev <iskren.chernev@gmail.com>
|
||||
pkgname=py3-rfc3987
|
||||
pkgver=1.3.8
|
||||
pkgrel=5
|
||||
pkgrel=6
|
||||
pkgdesc="Parsing and validation of URIs (RFC 3896) and IRIs (RFC 3987)"
|
||||
url="https://github.com/dgerber/rfc3987"
|
||||
arch="noarch"
|
||||
license="GPL-3.0-or-later"
|
||||
depends="python3"
|
||||
makedepends="py3-setuptools"
|
||||
makedepends="py3-setuptools py3-gpep517"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/r/rfc3987/rfc3987-$pkgver.tar.gz"
|
||||
builddir="$srcdir/rfc3987-$pkgver"
|
||||
@ -16,10 +16,16 @@ builddir="$srcdir/rfc3987-$pkgver"
|
||||
options="!check" # No tests
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir .dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --skip-build --root="$pkgdir"
|
||||
gpep517 install-wheel --destdir "$pkgdir" \
|
||||
.dist/*.whl
|
||||
}
|
||||
sha512sums="0e81b8dbc8c410f08b1efa7ee1c90174ed6e70bf7622d3748f598d383583b439908e1b5da1e1a1eb22af4f214ae08680a29f00b253f37808034bae8a1808c32c py3-rfc3987-1.3.8.tar.gz"
|
||||
|
||||
sha512sums="
|
||||
0e81b8dbc8c410f08b1efa7ee1c90174ed6e70bf7622d3748f598d383583b439908e1b5da1e1a1eb22af4f214ae08680a29f00b253f37808034bae8a1808c32c py3-rfc3987-1.3.8.tar.gz
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user