mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
dev-python/isal: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST isal-1.8.0.tar.gz 4133365 BLAKE2B cd098d34932729ca734b06580e75a8d5001e69deee9f2ad0b5fffaca05e23c34d44d4c2e8cd543afda6b200b2dba304b25c3a177ebe32706d0eeabbfdef3c954 SHA512 9508b3ac9d7ef61935da7333655a6e83517cbf1018438d4aec4afdd187a37b8e9725a5a97b611181df60bf19733f1ed0b1ac7310bc01ca37edf1cdeaaa932ce8
|
||||
DIST python-isal-1.7.2.gh.tar.gz 3396847 BLAKE2B a92f2fb3bbf3786d0fdb15cf838d71dc9ae3f4870a50a6280ee31cd9f8277d603e144dd9af18d24eb98070f8368897ab2d3b7853b9a48dafbb5733c8851652be SHA512 0c97a2ec72428d522d3afd3fc109183600c33f42328c71cc78c7c4e376d4c9a8fef5287830653b280712f8a5d67f46f4088f8deb1edfb57b6f4385dcc8744d52
|
||||
|
||||
@@ -1,59 +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-isal-${PV}
|
||||
DESCRIPTION="Faster zlib and gzip via the ISA-L library"
|
||||
HOMEPAGE="
|
||||
https://github.com/pycompression/python-isal/
|
||||
https://pypi.org/project/isal/
|
||||
"
|
||||
# no tests in sdist, as of 1.7.2
|
||||
# https://github.com/pycompression/python-isal/issues/231
|
||||
SRC_URI="
|
||||
https://github.com/pycompression/python-isal/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="
|
||||
dev-libs/isa-l:=
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/test[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_configure() {
|
||||
export PYTHON_ISAL_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
|
||||
# it is an noeol file...
|
||||
echo >> setup.cfg || die
|
||||
echo "version = ${PV}" >> setup.cfg || die
|
||||
echo "__version__ = '${PV}'" > src/isal/_version.py || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest tests
|
||||
}
|
||||
Reference in New Issue
Block a user