diff options
-rw-r--r-- | dev-python/zstd/Manifest | 1 | ||||
-rw-r--r-- | dev-python/zstd/zstd-1.5.2.6.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/zstd/Manifest b/dev-python/zstd/Manifest index 2c24893e5d7c..318d8d43e5ed 100644 --- a/dev-python/zstd/Manifest +++ b/dev-python/zstd/Manifest @@ -1 +1,2 @@ DIST zstd-1.5.2.5.tar.gz 606492 BLAKE2B 072f3e3c89f7e2c372bf020bcb3766ed264c26c0bdba424feb70753ffcf4232eecfcce96a389296c01c961408c05008373d65d9ac790f3b82e3567aa3c6c806f SHA512 8b1e79ff00c8dbf71994c4a9af4e88e749d11c101137c31013d7678aeb9c9a9b7cfa04989e0a68be32a4c4ae56907711541025233078b82fb313bfdb056cb150 +DIST zstd-1.5.2.6.tar.gz 606528 BLAKE2B 0d9b0937346e69a25eb834d2894ab74efdd3f35390afebc98a6cb255f18cdbe540433139d51f43bf0a9fb5d85bee588c7df8543842248e700652af3e3e721df2 SHA512 a692d87ffad4d148d56487fa740876653ccbd151ac8a897a35946a3899d4d3b3aaf6e9954a2050b4cee8137d5161481f3460a0e64ce339c624349bf030c9f975 diff --git a/dev-python/zstd/zstd-1.5.2.6.ebuild b/dev-python/zstd/zstd-1.5.2.6.ebuild new file mode 100644 index 000000000000..31f52d19f4d0 --- /dev/null +++ b/dev-python/zstd/zstd-1.5.2.6.ebuild @@ -0,0 +1,34 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +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() { + export ZSTD_EXTERNAL=1 +} |