summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-24 14:54:07 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-25 18:18:59 +0100
commit80fe33b5c69b8fefffcd1aa744efd69a6b4c8ffa (patch)
tree16a764ce02540e95b73b9ff995a0ccd7f6306ce5
parentsci-libs/keras-preprocessing: Use pypi.eclass (diff)
downloadgentoo-80fe33b5c69b8fefffcd1aa744efd69a6b4c8ffa.tar.gz
gentoo-80fe33b5c69b8fefffcd1aa744efd69a6b4c8ffa.tar.bz2
gentoo-80fe33b5c69b8fefffcd1aa744efd69a6b4c8ffa.zip
sci-libs/rtree: Use pypi.eclass
Closes: https://github.com/gentoo/gentoo/pull/30329 Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--sci-libs/rtree/rtree-1.0.0.ebuild9
1 files 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"