summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-12-02 23:33:25 +0100
committerMichał Górny <mgorny@gentoo.org>2021-12-03 00:12:58 +0100
commitffaa9f5bc7a1383ff15b7cbcf7e8037f80fa95f7 (patch)
treee942b3833acad2b446404b43d4851ec05006d1f2 /dev-python/zstd
parentdev-python/nuitka: Bump to 0.6.18 (diff)
downloadgentoo-ffaa9f5bc7a1383ff15b7cbcf7e8037f80fa95f7.tar.gz
gentoo-ffaa9f5bc7a1383ff15b7cbcf7e8037f80fa95f7.tar.bz2
gentoo-ffaa9f5bc7a1383ff15b7cbcf7e8037f80fa95f7.zip
dev-python/zstd: Bump to 1.5.0.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/zstd')
-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
+}