aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Jaekel <holger.jaekel@gmx.de>2019-12-14 22:22:24 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-12-15 16:20:57 +0100
commit82a82bf59bafac377dfd41894a751de9de0d83fd (patch)
tree44f6c5b2c36ee41cf1653200f55f2bfbbba0f289
parentd5a3510c7d08e7e4f9918b11bd424b84c28fb972 (diff)
downloadaports-82a82bf59bafac377dfd41894a751de9de0d83fd.tar.bz2
aports-82a82bf59bafac377dfd41894a751de9de0d83fd.tar.xz
testing/py3-cligj: new aport
-rw-r--r--testing/py3-cligj/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/py3-cligj/APKBUILD b/testing/py3-cligj/APKBUILD
new file mode 100644
index 0000000000..3c3d3e3675
--- /dev/null
+++ b/testing/py3-cligj/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Holger Jaekel <holger.jaekel@gmx.de>
+# Maintainer: Holger Jaekel <holger.jaekel@gmx.de>
+_pkgname=cligj
+pkgname=py3-$_pkgname
+pkgver=0.5.0
+pkgrel=0
+pkgdesc="Common arguments and options for GeoJSON processing commands, using Click"
+url="https://pypi.org/project/cligj/"
+arch="noarch"
+license="BSD-3-Clause"
+depends="
+ python3
+ py3-click
+ "
+makedepends="
+ py3-setuptools
+ "
+checkdepends="
+ pytest
+ "
+source="
+ py3-cligj-$pkgver.tar.gz::https://github.com/mapbox/cligj/archive/$pkgver.tar.gz
+ "
+builddir="$srcdir/cligj-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ PYTHONPATH=. pytest
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=2
+}
+
+sha512sums="d0f7ddaa3ff98e5cfac6ff6f3cac0720674f8fa28cc720035cbc71265875cb84e8e847c8a09ac8a5d4a0547f291a4c59536fca88b9eeee92c7259c7eb4c2d599 py3-cligj-0.5.0.tar.gz"