summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzlg <zlg@zlg.space>2018-11-21 03:20:23 -0800
committerzlg <zlg@zlg.space>2018-11-21 03:35:29 -0800
commitf68fe057197d17af33c1f57e8c61d038623c5abc (patch)
tree8822ff4a191854a26720314b5174c490c8dc4cfd
parent6d6595d6c6e3084e2155e75a2bd7806bfeb3d230 (diff)
downloadpackages-f68fe057197d17af33c1f57e8c61d038623c5abc.tar.gz
packages-f68fe057197d17af33c1f57e8c61d038623c5abc.tar.bz2
packages-f68fe057197d17af33c1f57e8c61d038623c5abc.tar.xz
packages-f68fe057197d17af33c1f57e8c61d038623c5abc.zip
user/py3-pbr: new package
-rw-r--r--user/py3-pbr/APKBUILD29
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"