summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-11-17 17:58:26 +0100
committerMichał Górny <mgorny@gentoo.org>2020-11-17 18:43:33 +0100
commitc2a9d394dbd7f7739388ee8aa14db24de4f76357 (patch)
tree549113f54d98a19c061aa61b32812d8f95583f58 /dev-python/indexed_gzip/indexed_gzip-0.8.10.ebuild
parentdev-python/imapclient: Port up to py3.9 (diff)
downloadgentoo-c2a9d394dbd7f7739388ee8aa14db24de4f76357.tar.gz
gentoo-c2a9d394dbd7f7739388ee8aa14db24de4f76357.tar.bz2
gentoo-c2a9d394dbd7f7739388ee8aa14db24de4f76357.zip
dev-python/indexed_gzip: Port up to py3.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/indexed_gzip/indexed_gzip-0.8.10.ebuild')
-rw-r--r--dev-python/indexed_gzip/indexed_gzip-0.8.10.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-python/indexed_gzip/indexed_gzip-0.8.10.ebuild b/dev-python/indexed_gzip/indexed_gzip-0.8.10.ebuild
index e18054409874..5d5f8c2e5cf8 100644
--- a/dev-python/indexed_gzip/indexed_gzip-0.8.10.ebuild
+++ b/dev-python/indexed_gzip/indexed_gzip-0.8.10.ebuild
@@ -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