summaryrefslogblamecommitdiff
path: root/user/py3-pbr/APKBUILD
blob: 3619ca8c69d49ebbac35a399a4f24cb4d9d6cc76 (plain) (tree)




























                                                                                                                                                               
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: zlg <zlg+adelie@zlg.space>
pkgname=py3-pbr
_pkgname=${pkgname#py3-}
pkgver=5.1.1
pkgrel=0
pkgdesc="Python Build Reasonableness"
url="https://pypi.python.org/pypi/pbr"
arch="noarch"
options="!check" # needs fixtures, git, hacking, sphinx, stestr, test{resources,scenarios,tools}
license="Apache-2.0"
depends=""
makedepends="python3-dev"
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

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

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

sha512sums="cd6f8bdc6db80841e948dbb278423556861aa681b970050a40c920dd00e32704a29cfdd28aabd4d14e0e577fff1bc816f0646a62c9450d0d85233ab5802606f1  pbr-5.1.1.tar.gz"