sci-libs/rtree: Use pypi.eclass

Closes: https://github.com/gentoo/gentoo/pull/30329
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-03-25 18:18:59 +01:00
parent 5bc7ff22ff
commit 80fe33b5c6
+3 -6
View File
@@ -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"