summaryrefslogtreecommitdiff
path: root/user/py3-pbr/APKBUILD
blob: 0b45bbf34374bb54d0fe833c4608ab8c3083b3c9 (plain) (blame)
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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Contributor: zlg <zlg+adelie@zlg.space>
# Maintainer:
pkgname=py3-pbr
_pkgname=${pkgname#py3-}
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=5.4.2
pkgrel=0
pkgdesc="Python Build Reasonableness"
url="https://pypi.org/project/pbr"
arch="noarch"
options="!check" # needs fixtures, git, hacking, sphinx, stestr, test{resources,scenarios,tools}
license="Apache-2.0"
depends="python3"
makedepends="python3-dev"
subpackages=""
source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

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

sha512sums="fd1ff768ed589760a1c9d339f3ddaaa0f13723a196913b0524659085333bbb3485506998875b9e293935ece2bb2ea042fba317822ac171ef99bdd43103525bed  pbr-5.4.2.tar.gz"