aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Jaekel <holger.jaekel@gmx.de>2019-12-14 22:38:33 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-12-15 16:19:52 +0100
commitd5a3510c7d08e7e4f9918b11bd424b84c28fb972 (patch)
tree86990ee4e513f7c8fc2cff7a70d23c22c59c02bf
parentae5d84193dc8826d52f997054cca9f2c35cdb56a (diff)
downloadaports-d5a3510c7d08e7e4f9918b11bd424b84c28fb972.tar.bz2
aports-d5a3510c7d08e7e4f9918b11bd424b84c28fb972.tar.xz
testing/py3-snuggs: new aports
-rw-r--r--testing/py3-snuggs/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py3-snuggs/APKBUILD b/testing/py3-snuggs/APKBUILD
new file mode 100644
index 0000000000..1631c98dfc
--- /dev/null
+++ b/testing/py3-snuggs/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Holger Jaekel <holger.jaekel@gmx.de>
+# Maintainer: Holger Jaekel <holger.jaekel@gmx.de>
+_pkgname=snuggs
+pkgname=py3-$_pkgname
+pkgver=1.4.7
+pkgrel=0
+pkgdesc="Snuggs are s-expressions for Numpy"
+url="https://pypi.org/project/snuggs/"
+arch="noarch"
+license="MIT"
+depends="
+ python3
+ py3-click
+ py3-numpy
+ py3-parsing
+ "
+makedepends="
+ py3-setuptools
+ "
+checkdepends="
+ pytest
+ py3-hypothesis
+ "
+source="
+ py3-snuggs-$pkgver.tar.gz::https://github.com/mapbox/snuggs/archive/$pkgver.tar.gz
+ "
+builddir="$srcdir/snuggs-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ pytest
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=2
+}
+
+sha512sums="c1f40e521d1b0cf15075b22b04000c74ecbd0522cdd820b8c159aac812924d877349b3f3bca93b09eed5b025a34c26665a41c7a52a8145419558b115cf8ef361 py3-snuggs-1.4.7.tar.gz"