mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-14 13:12:09 +01:00
main/py3-pbr: switch to gpep517
This commit is contained in:
parent
829e7c608b
commit
6f0b7d9670
@ -3,12 +3,13 @@
|
||||
pkgname=py3-pbr
|
||||
_pkgname=pbr
|
||||
pkgver=5.11.1
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="Python3 Build Reasonableness"
|
||||
url="https://pypi.org/project/pbr"
|
||||
arch="noarch"
|
||||
license="Apache-2.0"
|
||||
depends="py3-setuptools"
|
||||
makedepends="py3-gpep517 py3-wheel"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgname-$pkgver"
|
||||
@ -18,11 +19,14 @@ replaces="py-pbr" # Backwards compatibility
|
||||
provides="py-pbr=$pkgver-r$pkgrel" # Backwards compatibility
|
||||
|
||||
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"
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
.dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user