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

                                         

                        

                      
            

                                     
                                  


                                                                                                
                 

                         
                                                                                              


                                    




                              


                                                               
                                                                                                                                                               
# 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.3
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="546a24a84152f7e6929e456de08302fbc0a6f736d2b6a88078c4e07eb1c12736c88d5319a3e756c14ad11e879fd9efbcd5f14b4159f11526080561534543e2df  pbr-5.4.3.tar.gz"