aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Polański <michal@polanski.me>2020-11-21 12:00:02 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-11-21 23:55:31 +0000
commitf30f59470187933b7e61bb318ff007d8053c09f0 (patch)
tree206e58733833b6224280ac08b281b3417cd0b084
parentcf7b64ec617cec691422007da0b30196cf3948a5 (diff)
downloadaports-f30f59470187933b7e61bb318ff007d8053c09f0.tar.gz
aports-f30f59470187933b7e61bb318ff007d8053c09f0.tar.bz2
aports-f30f59470187933b7e61bb318ff007d8053c09f0.tar.xz
testing/py3-zstandard: new aport
Python bindings to the Zstandard (zstd) compression library https://github.com/indygreg/python-zstandard
-rw-r--r--testing/py3-zstandard/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/py3-zstandard/APKBUILD b/testing/py3-zstandard/APKBUILD
new file mode 100644
index 0000000000..0c88d1f560
--- /dev/null
+++ b/testing/py3-zstandard/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Michał Polański <michal@polanski.me>
+# Maintainer: Michał Polański <michal@polanski.me>
+pkgname=py3-zstandard
+_pkgname=python-zstandard
+pkgver=0.14.0
+pkgrel=0
+pkgdesc="Python bindings to the Zstandard (zstd) compression library"
+url="https://github.com/indygreg/python-zstandard"
+license="BSD-3-Clause"
+arch="all !s390x" # tests fail on s390x: https://github.com/indygreg/python-zstandard/issues/105
+depends="python3"
+makedepends="python3-dev py3-setuptools py3-cffi"
+checkdepends="py3-hypothesis"
+source="$_pkgname-$pkgver.tar.gz::https://github.com/indygreg/python-zstandard/archive/$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py test
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build
+}
+
+sha512sums="135dc7a759274ae11e43543ab230eec50b462e9eef50a4c35d22e1922e394bfa0bf31955385e2ca177bb4e8b84faf6e5850e62668251add3fcb5b775e160cd8b python-zstandard-0.14.0.tar.gz"