summaryrefslogtreecommitdiff
path: root/dev-python/indexed_gzip
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/indexed_gzip')
-rw-r--r--dev-python/indexed_gzip/indexed_gzip-0.8.10.ebuild5
1 files changed, 2 insertions, 3 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 df3e0c94ef12..9fbd1a7f6254 100644
--- a/dev-python/indexed_gzip/indexed_gzip-0.8.10.ebuild
+++ b/dev-python/indexed_gzip/indexed_gzip-0.8.10.ebuild
@@ -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