commit:     cc8af48e82c59ad84161cb8c4c91f79363c20d5a
Author:     Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  6 04:36:15 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Jul 15 08:06:37 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc8af48e

sci-libs/Shapely-1.7.0: added desired changes

Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 sci-libs/Shapely/Shapely-1.7.0.ebuild | 9 ++++-----
 sci-libs/Shapely/metadata.xml         | 4 ++++
 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 22f90d786e6..d8dcb698da0 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 4cb05623997..fba577d3fb0 100644
--- a/sci-libs/Shapely/metadata.xml
+++ b/sci-libs/Shapely/metadata.xml
@@ -5,6 +5,10 @@
     <email>[email protected]</email>
     <name>Dennis Lamm</name>
   </maintainer>
+  <maintainer type="project">
+    <email>[email protected]</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.

Reply via email to