diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-03-24 14:53:33 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-03-25 18:18:29 +0100 |
commit | f71a9b6bc0eb5a865a29c2f0d5724f170940700c (patch) | |
tree | e9402c8b89dcb39e1efa65330dc2c941716ca757 /dev-python/gmpy | |
parent | dev-python/genshi: Use pypi.eclass (diff) | |
download | gentoo-f71a9b6bc0eb5a865a29c2f0d5724f170940700c.tar.gz gentoo-f71a9b6bc0eb5a865a29c2f0d5724f170940700c.tar.bz2 gentoo-f71a9b6bc0eb5a865a29c2f0d5724f170940700c.zip |
dev-python/gmpy: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/gmpy')
-rw-r--r-- | dev-python/gmpy/gmpy-2.1.5.ebuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/dev-python/gmpy/gmpy-2.1.5.ebuild b/dev-python/gmpy/gmpy-2.1.5.ebuild index 4d5fd881ee7f..3e57cc8e5ab4 100644 --- a/dev-python/gmpy/gmpy-2.1.5.ebuild +++ b/dev-python/gmpy/gmpy-2.1.5.ebuild @@ -4,20 +4,16 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools +PYPI_PN="gmpy2" PYTHON_COMPAT=( python3_{9..11} ) -inherit distutils-r1 - -MY_PN="${PN}2" -MY_P="${MY_PN}-${PV/_beta/b}" +inherit distutils-r1 pypi DESCRIPTION="Python bindings for GMP, MPC, MPFR and MPIR libraries" HOMEPAGE=" https://github.com/aleaxit/gmpy/ https://pypi.org/project/gmpy2/ " -SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} LICENSE="LGPL-3+" SLOT="2" |