dev-python/lz4: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-04-04 18:55:45 +02:00
parent 181fffefc4
commit 1a6d02a64d
3 changed files with 0 additions and 74 deletions

View File

@@ -1,2 +1 @@
DIST lz4-4.4.4.tar.gz 171884 BLAKE2B a5a1a183b831de32c6197007a278351ed2ff7003c77d686432887436ca8920345995f1a1c2f64144d71ad929fe0cea13939c568030b8622a6b55bc53f0cad41b SHA512 eb49fa28d8745c8d232e82565338e1021da8bc27b4f9c01277e51fbd01a30943f420ee7a983e4683ccb81e72039a12b05b56836fa06c10039ba7267df72d0fcb
DIST lz4-4.4.5.tar.gz 172886 BLAKE2B 27c6ec1c66ac77609e64eff6656e484900b17724b0df914e4b36215edeeb7bc6296425d7749ac25659a6a9bf10e83cce1d31af701e6464c7361f624b7d253d83 SHA512 29a3a244987295b39465191bd1c95d935a63ad3f94a6a0a9c88c5ff2063c04f28a201b9d8a4591cb36b35101e3b956dd445ed638de1d3ba2b307655c28f2353f

View File

@@ -1,20 +0,0 @@
https://github.com/python-lz4/python-lz4/pull/303
From: Karolina Surma <ksurma@redhat.com>
Date: Thu, 29 May 2025 12:06:30 +0200
Subject: [PATCH] Correct the import of _compression for Python 3.14
This is backwards compatible with all supported versions of Python.
--- a/lz4/frame/__init__.py
+++ b/lz4/frame/__init__.py
@@ -25,9 +25,9 @@
__doc__ = _doc
try:
- import _compression # Python 3.6 and later
+ import compression._common._streams as _compression # Python 3.14
except ImportError:
- from . import _compression
+ import _compression # Python 3.6 - 3.13
BLOCKSIZE_DEFAULT = _BLOCKSIZE_DEFAULT

View File

@@ -1,53 +0,0 @@
# 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_{11..14} )
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"
DEPEND="
app-arch/lz4:=
"
RDEPEND="
${DEPEND}
"
BDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
dev-python/pkgconfig[${PYTHON_USEDEP}]
test? (
dev-python/psutil[${PYTHON_USEDEP}]
)
"
PATCHES=(
"${FILESDIR}"/${P}-fix-py3.14.patch # merged upstream
)
# 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
}