summaryrefslogtreecommitdiff
path: root/dev-python/lz4
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-02 08:48:32 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-02 08:48:32 +0000
commite12724a13a1677867978f5ecd7fabda4eb1e3aa8 (patch)
treec4a7ae297f78e8e1302dc99fe9b664b7f34ce937 /dev-python/lz4
parentb46ba5cce8bd84d9a74b39923d9cdb29659cf662 (diff)
gentoo auto-resync : 02:01:2024 - 08:48:32
Diffstat (limited to 'dev-python/lz4')
-rw-r--r--dev-python/lz4/Manifest2
-rw-r--r--dev-python/lz4/lz4-4.3.3.ebuild49
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/lz4/Manifest b/dev-python/lz4/Manifest
index 3de42dae759b..bf867142ba4d 100644
--- a/dev-python/lz4/Manifest
+++ b/dev-python/lz4/Manifest
@@ -1,3 +1,5 @@
DIST lz4-4.3.2.tar.gz 170869 BLAKE2B bd6ddcb7294cbfaf2a2a0de78c49434956c376a38de08b457283684ac3e7b394da1e7964221de44bb91197511a40fda9103ec53478437daa4460d7fabeaef5a1 SHA512 c2e7d3ec0954110c9b21e562147e80c8abddd21ebb213491d1072454834151a0f3a0935c0f3eebec34c024fe6e79136ccf6363dcb5390aa03cb52489fcb4113c
+DIST lz4-4.3.3.tar.gz 171509 BLAKE2B 7db336fd488ca1ba6bb80ba6a6e66bf1499004bb1ba46a3451c90721d7bb76f49ac5fc5bb5f884e350a29b565a7db14fccb907da925f7b5d14474e030e967e77 SHA512 9bdacf6766cca5d1c59f0a0f795910da104ce51d4c43057c4c07fed98765881a702604d60d22a10dea937c4d683e3fcf07c26a6c7a7b5a15b45759fcedb55900
EBUILD lz4-4.3.2.ebuild 964 BLAKE2B dbe1207105793291980dcf28f00509c8d98c43ffafa2271b9e8bc49e24bcf67d398402b7d5edcdba1d88d141fee2a880da3fbf6551497b4b76bedb4b613344ad SHA512 b306e5714c3e71a39e72b58f8770bdd2001321bed040cb99e12908839309d5503f0e74c82fc8f7b2883c534487a45006a87305341ffa2e3db18edb0a9dba00f5
+EBUILD lz4-4.3.3.ebuild 968 BLAKE2B 1411df682ee6a6774615a8fadc53677acaa41bfeaa013365e77418c10251ff476f90c27e322e773304ff6e06904cd986e8c5e075b20e75e2cfb212f2629a0ff4 SHA512 17efd75b0405fb86994851dada8e58dfd16dd90d6ed6310591d58d792b0ce73ace7d918238e2d59b25e7fc42dc5ea3ceae3f81db30dc59a0aef4f46d8a271e1b
MISC metadata.xml 454 BLAKE2B b02d4acc9eb7d4fb35bf36371cb660d099c77f807fc08fc351b7e0e1d2e0199fdab82d83bb6bc31a56bfdb9a5b020b2f57aa9b89b59a7e5c22fcce554b6b0859 SHA512 a1b61eb4d3ce636b10abcff25ee3315bf5ecb3bdee58e1c45ff99f0b40717b13e3a8ec33c9abcb926bd716990a31749b1bf6729d8137b7859857318c386a8ec7
diff --git a/dev-python/lz4/lz4-4.3.3.ebuild b/dev-python/lz4/lz4-4.3.3.ebuild
new file mode 100644
index 000000000000..c3434bfb8af3
--- /dev/null
+++ b/dev-python/lz4/lz4-4.3.3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="LZ4 Bindings for Python"
+HOMEPAGE="
+ https://github.com/python-lz4/python-lz4/
+ https://pypi.org/project/lz4/
+"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+
+DEPEND="
+ app-arch/lz4:=
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+ dev-python/pkgconfig[${PYTHON_USEDEP}]
+ test? (
+ dev-python/psutil[${PYTHON_USEDEP}]
+ )
+"
+
+# note: test suite fails with xdist
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_IGNORE=(
+ # lz4.stream is not officially supported and not installed by default
+ # (we do not support installing it at the moment)
+ tests/stream
+ )
+
+ rm -rf lz4 || die
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}