diff options
author | zlg <zlg@zlg.space> | 2018-11-21 03:20:23 -0800 |
---|---|---|
committer | zlg <zlg@zlg.space> | 2018-11-21 03:35:29 -0800 |
commit | f68fe057197d17af33c1f57e8c61d038623c5abc (patch) | |
tree | 8822ff4a191854a26720314b5174c490c8dc4cfd /user/py3-pbr | |
parent | 6d6595d6c6e3084e2155e75a2bd7806bfeb3d230 (diff) | |
download | packages-f68fe057197d17af33c1f57e8c61d038623c5abc.tar.gz packages-f68fe057197d17af33c1f57e8c61d038623c5abc.tar.bz2 packages-f68fe057197d17af33c1f57e8c61d038623c5abc.tar.xz packages-f68fe057197d17af33c1f57e8c61d038623c5abc.zip |
user/py3-pbr: new package
Diffstat (limited to 'user/py3-pbr')
-rw-r--r-- | user/py3-pbr/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/user/py3-pbr/APKBUILD b/user/py3-pbr/APKBUILD new file mode 100644 index 000000000..3619ca8c6 --- /dev/null +++ b/user/py3-pbr/APKBUILD @@ -0,0 +1,29 @@ +# 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" |