aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-pbr/APKBUILD
blob: e052f1c8db5f5a4dc4b6f2ea5f2229dcfefa3156 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-pbr
_pkgname=pbr
pkgver=5.4.3
pkgrel=1
pkgdesc="Python3 Build Reasonableness"
url="https://pypi.python.org/pypi/pbr"
arch="noarch"
license="Apache-2.0"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

replaces="py-pbr" # Backwarwds compatibility
provides="py-pbr=$pkgver-r$pkgrel" # Backwarwds compatibility

check() {
	cd "$builddir"
	python3 setup.py check
}

build() {
	cd "$builddir"
	python3 setup.py build
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="546a24a84152f7e6929e456de08302fbc0a6f736d2b6a88078c4e07eb1c12736c88d5319a3e756c14ad11e879fd9efbcd5f14b4159f11526080561534543e2df  pbr-5.4.3.tar.gz"