commit:     3c911d78d61262aa9d8275c463ac33897ea71cdc
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  2 06:02:51 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Apr  2 07:06:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c911d78

dev-python/lz4: Bump to 4.4.4

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/lz4/Manifest         |  1 +
 dev-python/lz4/lz4-4.4.4.ebuild | 49 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/lz4/Manifest b/dev-python/lz4/Manifest
index 7dab8d103c7f..403ceb471701 100644
--- a/dev-python/lz4/Manifest
+++ b/dev-python/lz4/Manifest
@@ -1 +1,2 @@
 DIST lz4-4.4.3.tar.gz 171848 BLAKE2B 
54873ac48b5b43787dd45c92056af2d302e018c0b78acb56ccef50becb4073ded1dead6d02ef203b239a4699e0af4527da04a74d3550a5a36fcdc88dda98772c
 SHA512 
b02899f3011453f77e99aa31c7dc717a7d0ca636475e9ead617196d906e3e2abcee511e84f68e9071b27227cad8ece7fb5f78c04bd8f44cc0959bb687b72e73f
+DIST lz4-4.4.4.tar.gz 171884 BLAKE2B 
a5a1a183b831de32c6197007a278351ed2ff7003c77d686432887436ca8920345995f1a1c2f64144d71ad929fe0cea13939c568030b8622a6b55bc53f0cad41b
 SHA512 
eb49fa28d8745c8d232e82565338e1021da8bc27b4f9c01277e51fbd01a30943f420ee7a983e4683ccb81e72039a12b05b56836fa06c10039ba7267df72d0fcb

diff --git a/dev-python/lz4/lz4-4.4.4.ebuild b/dev-python/lz4/lz4-4.4.4.ebuild
new file mode 100644
index 000000000000..13562005ac5c
--- /dev/null
+++ b/dev-python/lz4/lz4-4.4.4.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2025 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..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="LZ4 Bindings for Python"
+HOMEPAGE="
+       https://github.com/python-lz4/python-lz4/
+       https://pypi.org/project/lz4/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~riscv ~sparc ~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
+}

Reply via email to