aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pkginfo/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-pkginfo/APKBUILD')
-rw-r--r--community/py3-pkginfo/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/py3-pkginfo/APKBUILD b/community/py3-pkginfo/APKBUILD
new file mode 100644
index 0000000000..384b12aa33
--- /dev/null
+++ b/community/py3-pkginfo/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Jakub Jirutka <jakub@jirutka.cz>
+# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
+pkgname=py3-pkginfo
+pkgver=1.5.0.1
+pkgrel=1
+pkgdesc="Parses metadata stored by distutils in PKG-INFO"
+url="https://code.launchpad.net/~tseaver/pkginfo"
+arch="noarch"
+license="MIT"
+depends="python3"
+source="https://files.pythonhosted.org/packages/source/p/pkginfo/pkginfo-$pkgver.tar.gz
+ disable-failing-test.patch
+ dont-package-tests.patch
+ "
+builddir="$srcdir/pkginfo-$pkgver"
+options="!check" # test command missing
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py test
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="319bb403970affd5a4222dfdb3d17738630d1350ea84e51ad1bebc6c8c72e0dcfd69a4eaf5e7bd156b8e605d806357922c05cc994dcafb01b7a33c617b2df447 pkginfo-1.5.0.1.tar.gz
+3eb9d1fe871b312f75b96158fa59f25a4533ac23873042776c129fa9489bc1e16883e4e2bef6401b283b8479b0cf86c4b49a5400c261ebea106bc01233881198 disable-failing-test.patch
+73a0b9191e1b39169d665cbbabba20254e33bb1e4b4e3c03b865425bd47309cbc92d1d8e125b68b57f657a583b070021819a061cf38a6cdd4ff009b23061ac8f dont-package-tests.patch"