mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 08:26:49 +02:00
34 lines
983 B
Text
34 lines
983 B
Text
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=py3-pbr
|
|
_pkgname=pbr
|
|
pkgver=5.11.1
|
|
pkgrel=5
|
|
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"
|
|
options="!check" # requires testscenarios from pypi
|
|
|
|
replaces="py-pbr" # Backwards compatibility
|
|
provides="py-pbr=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
466dc5ce2622c43451186698f00d405141878449ffe9f7771b0057e8356bf12b426a9bfefff7e5843f1b3f963af3ffc9c4a42fa91a9407b79617abea046ff438 pbr-5.11.1.tar.gz
|
|
"
|