summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-04-18 10:04:07 +0200
committerMichał Górny <mgorny@gentoo.org>2022-04-18 10:19:09 +0200
commit6eed0eca062dd3475fa93eb304987d10232f6cc9 (patch)
tree39801965fd09688f6dee578dddb8800714fee455 /dev-python/zstd
parentdev-python/dkimpy: EAPI 8, PEP517 (diff)
downloadgentoo-6eed0eca062dd3475fa93eb304987d10232f6cc9.tar.gz
gentoo-6eed0eca062dd3475fa93eb304987d10232f6cc9.tar.bz2
gentoo-6eed0eca062dd3475fa93eb304987d10232f6cc9.zip
dev-python/zstd: Bump to 1.5.2.2
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.2.2.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/zstd/Manifest b/dev-python/zstd/Manifest
index 4f70ec3b4e2f..a775391b336d 100644
--- a/dev-python/zstd/Manifest
+++ b/dev-python/zstd/Manifest
@@ -1,2 +1,3 @@
DIST zstd-1.5.1.0.tar.gz 604039 BLAKE2B 5f3e2f2848d67d2455bab721d011946fa8138729566243046e2b294e51c1144a0a0576f9e64e15472c8da4b45514a052a751b2ac3d87f17301ab634f560bf19a SHA512 4775f9db3b924116272060fd46885a601ec5153b350974ef5fe41878f10aad0fee428f053ce71aaf881eb73bfc11ae1d89148f65447fc6febe3f53a50ffa0a63
DIST zstd-1.5.2.0.tar.gz 605453 BLAKE2B 1564bf6f5d37ca5c55a161373f10ff99ffc942abf3d177bf15943570bc30367f0d6aee88cbfd28f1a57483945e0d3de5fde0dfc78bc2b0066faef12de2684fbd SHA512 99df709b889732dc5d6e682e79c52731b918458ccf720431a6afc757dd4cd58bd3ffe1ad45158d28a87d7baaa883fd074cb94717e023ee80eef1561d651504e1
+DIST zstd-1.5.2.2.tar.gz 605458 BLAKE2B b302edd73d303dffe66564217b03c4477e2679788ab58782bd620ae8e5e0410da3c672715622ad5cff1bfd24835bfe61255b1df4ba7c6d452c08dee42d45a1e0 SHA512 fc5d60db491adefbf9af5d46600701075418986ffe5042d74eae75e2d1ec3347141dea3bf0a384f87ffbf833be398157f9b3d7277e6a30994b1287b14b6a2d21
diff --git a/dev-python/zstd/zstd-1.5.2.2.ebuild b/dev-python/zstd/zstd-1.5.2.2.ebuild
new file mode 100644
index 000000000000..8dd524a01c03
--- /dev/null
+++ b/dev-python/zstd/zstd-1.5.2.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2020-2022 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/
+ https://pypi.org/project/zstd/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+DEPEND="
+ app-arch/zstd:=
+"
+RDEPEND="
+ ${DEPEND}
+ !<dev-python/zstandard-0.15.2-r1[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests unittest
+
+src_configure() {
+ DISTUTILS_ARGS=( --external )
+
+ # for tests
+ export ZSTD_EXTERNAL=1
+ export VERSION=${PV}
+ export PKG_VERSION=${PV}
+ export LEGACY=0
+}