From 80fe33b5c69b8fefffcd1aa744efd69a6b4c8ffa Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 24 Mar 2023 14:54:07 +0100 Subject: sci-libs/rtree: Use pypi.eclass MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://github.com/gentoo/gentoo/pull/30329 Signed-off-by: Michał Górny --- sci-libs/rtree/rtree-1.0.0.ebuild | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'sci-libs') 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" -- cgit v1.2.3-65-gdbad