summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-05-19 07:52:40 +0200
committerMichał Górny <mgorny@gentoo.org>2021-05-19 07:52:40 +0200
commite3914632b1ccf2850553ad3c515e38c705922a19 (patch)
treed4564582cede3fedb6638b26f10237fbedc22cb9 /dev-python/zstd/zstd-1.5.0.2.ebuild
parentdev-util/stripe-mock: Bump to 0.105.0 (diff)
downloadgentoo-e3914632b1ccf2850553ad3c515e38c705922a19.tar.gz
gentoo-e3914632b1ccf2850553ad3c515e38c705922a19.tar.bz2
gentoo-e3914632b1ccf2850553ad3c515e38c705922a19.zip
dev-python/zstd: Bump to 1.5.0.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/zstd/zstd-1.5.0.2.ebuild')
-rw-r--r--dev-python/zstd/zstd-1.5.0.2.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/zstd/zstd-1.5.0.2.ebuild b/dev-python/zstd/zstd-1.5.0.2.ebuild
new file mode 100644
index 00000000000..04aba4d235e
--- /dev/null
+++ b/dev-python/zstd/zstd-1.5.0.2.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
+}