dev-python/indexed_gzip: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-11-14 05:36:46 +01:00
parent 3518e79ba0
commit e270dde71a
2 changed files with 0 additions and 59 deletions

View File

@@ -1,2 +1 @@
DIST indexed_gzip-1.6.13.tar.gz 102730 BLAKE2B 8ab5490c3c830121ce3104c624fe36cb0064f6265b5e5f9ebd6efb0402c33e206b4d97c35803fa10fdbc25a7ccac61f19b2fd9bfb205e07acee40737d6404659 SHA512 de8a606f712a0bddf618cedac12d2b5613e14aaaacc93d1930352101bdeaca8bd5126dd67df36d691f31bc27d553a61901934bbb0b2514e4360c6cd49e395c41
DIST indexed_gzip-1.7.0.tar.gz 103849 BLAKE2B b33ef1f19e47c2dc12fd6e6fcc972badf4faaecaa5571aa44c765a6fafbec8e32fe2c4254d4e62722b6e744cfa27470ce517d08025b0492e8c032663b094344e SHA512 80f82699c6b64248f0609fb34e54e3838e642040820381cc64feb70b46721b69207686f9cccd55ebfb10dfcdee5fb5c1bf6404d1cfec07eb5a97767635c5dc4e

View File

@@ -1,58 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
DESCRIPTION="Fast random access of gzip files in Python"
HOMEPAGE="
https://pypi.org/project/indexed-gzip/
https://github.com/pauldmccarthy/indexed_gzip/
"
SRC_URI="
https://github.com/pauldmccarthy/indexed_gzip/archive/v${PV}.tar.gz
-> ${P}.tar.gz
"
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
sys-libs/zlib:=
"
DEPEND="
${RDEPEND}
"
BDEPEND="
dev-python/cython[${PYTHON_USEDEP}]
test? (
dev-python/numpy[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
src_prepare() {
# strip custom "clean" command that doesn't support "-a"
# https://bugs.gentoo.org/838955
# TODO: this can be removed once distutils-r1 stops using clean
sed -i -e '/cmdclass/d' setup.py || die
distutils-r1_src_prepare
}
src_compile() {
if use test; then
export INDEXED_GZIP_TESTING=1
fi
distutils-r1_src_compile
}
python_test() {
cd "${BUILD_DIR}/install$(python_get_sitedir)/indexed_gzip/tests" || die
epytest
}