aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-simpleparse/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-03-16 02:48:47 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-02 01:43:47 +0000
commitaad2afe051973fa7fd6f4f9b83703c09445ff17c (patch)
tree4266144bb0c3984f784b0dd910d33fa98a72c353 /community/py3-simpleparse/APKBUILD
parentaad758e364da9a69d0d519b619cc6eb2c7d150f8 (diff)
downloadaports-aad2afe051973fa7fd6f4f9b83703c09445ff17c.tar.bz2
aports-aad2afe051973fa7fd6f4f9b83703c09445ff17c.tar.xz
community/py3-*: move from main/ and modernize
Diffstat (limited to 'community/py3-simpleparse/APKBUILD')
-rw-r--r--community/py3-simpleparse/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/community/py3-simpleparse/APKBUILD b/community/py3-simpleparse/APKBUILD
new file mode 100644
index 0000000000..6d8654b1c4
--- /dev/null
+++ b/community/py3-simpleparse/APKBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=py3-simpleparse
+_pkgname=SimpleParse
+pkgver=2.2.0
+pkgrel=2
+pkgdesc="Python library providing simple and fast parser generator"
+url="https://launchpad.net/simpleparse"
+arch="all"
+license="eGenix ISC"
+depends="python3"
+makedepends="python3-dev"
+options="!check" # no test suite
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip"
+builddir="$srcdir"/$_pkgname-$pkgver
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --skip-build --root="$pkgdir"
+}
+
+sha512sums="90956843384739b52a0dc5397633f089c519b4acf922ad953dba49686a4e2c243f8bff6586c1f54c84cdef0c9555fbf6681c41ca70a4bf0f716f2892ae913b0e SimpleParse-2.2.0.zip"