summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/zstd/Manifest1
-rw-r--r--dev-python/zstd/zstd-1.5.0.3.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/zstd/Manifest b/dev-python/zstd/Manifest
index 301fdceb5c35..c3b64f748b58 100644
--- a/dev-python/zstd/Manifest
+++ b/dev-python/zstd/Manifest
@@ -1 +1,2 @@
DIST zstd-1.5.0.2.tar.gz 528892 BLAKE2B 9aaa0beba1a6703d881daf5c5e10d93a8c67923d07773bce5eda3eba652f50c4cb4aa18d2ea9bea304a8742a7e8501568679837aa8bb1e71fe6eff5a5d08d193 SHA512 a7a6033e743c5bc0fa5256dfd256c2a9417c200cda5d5c02c6c7a5d5553d188637e21908658a4a948e565b16bb03f85f57c74d51c63a3ae7eb160f8b3bdbd3c3
+DIST zstd-1.5.0.3.tar.gz 535958 BLAKE2B b8f08d8d0fab22112cd2ed565da747013027349fe8fabcaa882b8e15a1dabd14f8e8797b6b45910bfe4c9f7c94256ea7203084eb6d30b117d2d03745ec441886 SHA512 fb13f05e930fa78f24252e24cd65ea24971e4e6a6f4684a291ddb1e682bd2fe9bbc037c87acbc832ec84ffd0dc51df63c1deb9647eb5b8123c510fe92c7b9f3c
diff --git a/dev-python/zstd/zstd-1.5.0.3.ebuild b/dev-python/zstd/zstd-1.5.0.3.ebuild
new file mode 100644
index 000000000000..05b57722c588
--- /dev/null
+++ b/dev-python/zstd/zstd-1.5.0.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Simple python bindings to Yann Collet ZSTD compression library"
+HOMEPAGE="https://github.com/sergey-dryabzhinsky/python-zstd"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+ app-arch/zstd:=
+ !dev-python/zstandard[${PYTHON_USEDEP}]
+"
+DEPEND=${RDEPEND}
+
+distutils_enable_tests unittest
+
+src_configure() {
+ mydistutilsargs=( --external )
+
+ # for tests
+ export ZSTD_EXTERNAL=1
+ export VERSION=${PV}
+ export PKG_VERSION=${PV}
+ export LEGACY=0
+}