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/zstd-1.5.0.0.ebuild
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/zstd-1.5.0.0.ebuild')
-rw-r--r--dev-python/zstd/zstd-1.5.0.0.ebuild33
1 files changed, 33 insertions, 0 deletions
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 00000000000..04aba4d235e
--- /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
+}