dev-python/indexed_gzip: Port up to py3.9

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-11-17 17:58:26 +01:00
parent cf97fcb4f0
commit c2a9d394db

View File

@@ -3,7 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{6,7} )
PYTHON_COMPAT=( python3_{6..9} )
inherit distutils-r1 virtualx
@@ -14,18 +14,17 @@ SRC_URI="https://github.com/pauldmccarthy/indexed_gzip/archive/v${PV}.tar.gz ->
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="
dev-python/cython[${PYTHON_USEDEP}]
test? (
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)
"
RDEPEND=""
distutils_enable_tests pytest
src_compile() {
if use test; then
export INDEXED_GZIP_TESTING=1