summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Lamm <expeditioneer@gentoo.org>2020-07-06 06:36:15 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-07-15 11:06:37 +0300
commitcc8af48e82c59ad84161cb8c4c91f79363c20d5a (patch)
treef482d4fb61433667c0d1800c33ffd0150d2721d2
parentsci-libs/Shapely-1.7.0: added missing 'RESTRICT="!test? ( test )"' (diff)
downloadgentoo-cc8af48e82c59ad84161cb8c4c91f79363c20d5a.tar.gz
gentoo-cc8af48e82c59ad84161cb8c4c91f79363c20d5a.tar.bz2
gentoo-cc8af48e82c59ad84161cb8c4c91f79363c20d5a.zip
sci-libs/Shapely-1.7.0: added desired changes
Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
-rw-r--r--sci-libs/Shapely/Shapely-1.7.0.ebuild9
-rw-r--r--sci-libs/Shapely/metadata.xml4
2 files changed, 8 insertions, 5 deletions
diff --git a/sci-libs/Shapely/Shapely-1.7.0.ebuild b/sci-libs/Shapely/Shapely-1.7.0.ebuild
index 22f90d786e6f..d8dcb698da07 100644
--- a/sci-libs/Shapely/Shapely-1.7.0.ebuild
+++ b/sci-libs/Shapely/Shapely-1.7.0.ebuild
@@ -14,8 +14,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${PV}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
@@ -24,12 +22,13 @@ RDEPEND="
BDEPEND="${RDEPEND}
dev-python/cython[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
- test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+"
+
+distutils_enable_tests pytest
distutils_enable_sphinx docs
python_test() {
distutils_install_for_testing
- ${PYTHON} -m pytest tests || die "tests failed under ${EPYTHON}"
+ ${EPYTHON} -m pytest tests || die "tests failed under ${EPYTHON}"
}
diff --git a/sci-libs/Shapely/metadata.xml b/sci-libs/Shapely/metadata.xml
index 4cb05623997a..fba577d3fb03 100644
--- a/sci-libs/Shapely/metadata.xml
+++ b/sci-libs/Shapely/metadata.xml
@@ -5,6 +5,10 @@
<email>expeditioneer@gentoo.org</email>
<name>Dennis Lamm</name>
</maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
<longdescription>
Shapely is a BSD-licensed Python package for manipulation and analysis of planar geometric objects.
It is based on the widely deployed GEOS (the engine of PostGIS) and JTS (from which GEOS is ported) libraries.