dev-python/zlib-ng: drop 0.5.1

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2026-01-30 18:03:36 +02:00
parent c07b33517b
commit cd3db43205
2 changed files with 0 additions and 61 deletions

View File

@@ -1,2 +1 @@
DIST python-zlib-ng-0.5.1.gh.tar.gz 3381700 BLAKE2B 9c9c460c60a10fa5f24816f6f4562f4feeef585c70da34bb0fe0ea2b9c43e62f19f1559a0dd74a48659b02561d3ba505fc3b1b399249a0d8d0603695f7c44db5 SHA512 98d689d6d3462310cdec4d73ec63ee2a8842b54ae5285c7765629b2385a23234bfec45207fedd1e36cca58e7388cb49c34e8bef5f4e102c61e624c80e488492e
DIST zlib_ng-1.0.0.tar.gz 5799954 BLAKE2B 6ea833a6c63f9113d81cc603adff0cfa7e3f606d960c95386baa73046a20eb17faa28788e526ac0b7579ec2dd96de2c076afc11b2ac3b130c0c5d9a3ffe0a99d SHA512 66350217df5803a805ae9e44eb985eab0ed3e45d419f01640f808f38c5a618a51ae31ac700dbd4ab1c0f66f0afad812f6f82375bdacd87e29ba8e85f47754274

View File

@@ -1,60 +0,0 @@
# Copyright 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=( pypy3_11 python3_{11..14} )
inherit distutils-r1
MY_P=python-zlib-ng-${PV}
DESCRIPTION="Drop-in replacement for zlib and gzip modules using zlib-ng"
HOMEPAGE="
https://github.com/pycompression/python-zlib-ng/
https://pypi.org/project/zlib-ng/
"
# no tests in sdist, as of 0.5.1
# same upstream as dev-python/isal, so let's see how that report goes:
# https://github.com/pycompression/python-isal/issues/231
SRC_URI="
https://github.com/pycompression/python-zlib-ng/archive/v${PV}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S=${WORKDIR}/${MY_P}
LICENSE="PSF-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
DEPEND="
sys-libs/zlib-ng:=
"
RDEPEND="
${DEPEND}
"
BDEPEND="
test? (
dev-python/test[${PYTHON_USEDEP}]
)
"
EPYTEST_XDIST=1
distutils_enable_tests pytest
src_configure() {
export PYTHON_ZLIB_NG_LINK_DYNAMIC=1
# why people can't use setuptools-scm...
sed -i -e '/versioningit/d' setup.py || die
sed -i -e 's/versioningit/ignoreme/' pyproject.toml || die
echo "[metadata]" >> setup.cfg || die
echo "version = ${PV}" >> setup.cfg || die
echo "__version__ = '${PV}'" > src/zlib_ng/_version.py || die
}
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest tests
}