summaryrefslogblamecommitdiff
path: root/user/py3-pbr/APKBUILD
blob: 53bd5311c3a55c3bfb1af9a865ab1a80166d2310 (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.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/$_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="ac955b472a3cbfdae1743ffb4c1f2196900dca2366d92bb1ace0ab7b47f100393bab0517c6788e7f58e6cf1dcceddf1ba3d70d1851f715ec1ab84251b2a2533c  pbr-5.4.1.tar.gz"