summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-05-15 23:13:53 +0200
committerMichał Górny <mgorny@gentoo.org>2021-05-15 23:18:15 +0200
commit46740635250491f0410d952a2cddb136553d64c9 (patch)
tree1904a5f681f8bc342b1aca808ffd075ecaa48a77 /dev-python/zstd
parentdev-python/python-engineio: Bump to 4.2.0 (diff)
downloadgentoo-46740635250491f0410d952a2cddb136553d64c9.tar.gz
gentoo-46740635250491f0410d952a2cddb136553d64c9.tar.bz2
gentoo-46740635250491f0410d952a2cddb136553d64c9.zip
dev-python/zstd: Bump to 1.5.0.0
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.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/zstd/Manifest b/dev-python/zstd/Manifest
index 55da06cf3c5c..f8f6e5da2d2f 100644
--- a/dev-python/zstd/Manifest
+++ b/dev-python/zstd/Manifest
@@ -1,2 +1,3 @@
DIST zstd-1.4.5.1.tar.gz 483105 BLAKE2B 5edd7d2c7cb26817d2a7f30536373d19a6939140dea3fb93589ff45495d51afbd1e98c4f73145869dd8a72a35c0e7543a7a21d688771746485b4dd275933dff8 SHA512 f27e255bc66798b2227d39eaa7648803e7753556b522d3dc37e82413f01dcff44b05f652c210e9832077876bd954a3abdad5ed1823f5f50217b83159bbaf896d
DIST zstd-1.4.9.1.tar.gz 516353 BLAKE2B ec318c1b6e3d44a8959dae61c2ba3f2210c0cb9daf88519b07b1df8801b8345a2b9c18fddab497a478a1c6e03118f42f9526019a624f86f347691b7daea17bb0 SHA512 53816d252611ce3a1aa0dfa7b568ce8ffba07dd8ca6009ab3406680e674f5040633718cc65e1d5a0cfea1e1f5dd746a8f3e91b313b2be39b0ed4c6f9d887b24e
+DIST zstd-1.5.0.0.tar.gz 527774 BLAKE2B dec3ee37beb2e71be1cb589af86f0590062561537611ced21d666e7c57935e014bd19be99c651accd41dd3248f473cb3750dc4e0b923949d79e74ff5ce9a7db0 SHA512 c24abfb32a9308687a9a76194199dc157168f0802178d0865b1332eb17a2018de1ca9455042faaf1271401c2d2b88b24e62a1639dbe05ac29cabfef579f7f669
diff --git a/dev-python/zstd/zstd-1.5.0.0.ebuild b/dev-python/zstd/zstd-1.5.0.0.ebuild
new file mode 100644
index 000000000000..04aba4d235e8
--- /dev/null
+++ b/dev-python/zstd/zstd-1.5.0.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..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
+}