summaryrefslogblamecommitdiff
path: root/user/py3-pbr/APKBUILD
blob: 2bbf0283cafb4e6cd2320b4b2375680168e942f0 (plain) (tree)
1
2
3
4
5
6
7
8





                                                           
                                  

                                                                                                
                 















                                                                                                                                                               
# 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.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/${_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"