commit:     80fe33b5c69b8fefffcd1aa744efd69a6b4c8ffa
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 24 13:54:07 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 25 17:18:59 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80fe33b5

sci-libs/rtree: Use pypi.eclass

Closes: https://github.com/gentoo/gentoo/pull/30329
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sci-libs/rtree/rtree-1.0.0.ebuild | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/sci-libs/rtree/rtree-1.0.0.ebuild 
b/sci-libs/rtree/rtree-1.0.0.ebuild
index 2def4993819c..c30e40df1d5a 100644
--- a/sci-libs/rtree/rtree-1.0.0.ebuild
+++ b/sci-libs/rtree/rtree-1.0.0.ebuild
@@ -5,16 +5,13 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{9..11} )
 DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN=${PN^}
 
-inherit distutils-r1
-
-MY_PN="Rtree"
-MY_P="${MY_PN}-${PV}"
+inherit distutils-r1 pypi
 
 DESCRIPTION="R-Tree spatial index for Python GIS"
 HOMEPAGE="https://rtree.readthedocs.io";
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"

Reply via email to