summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-24 14:53:36 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-25 18:18:31 +0100
commit81c965c4c07b387fe6a738a307380e1b0c5219a9 (patch)
treeb61ad0a473aaa3a10577453e69577f9a2ffbacc0 /dev-python/m2crypto
parentdev-python/js2py: Use pypi.eclass (diff)
downloadgentoo-81c965c4c07b387fe6a738a307380e1b0c5219a9.tar.gz
gentoo-81c965c4c07b387fe6a738a307380e1b0c5219a9.tar.bz2
gentoo-81c965c4c07b387fe6a738a307380e1b0c5219a9.zip
dev-python/m2crypto: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/m2crypto')
-rw-r--r--dev-python/m2crypto/m2crypto-0.38.0.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-python/m2crypto/m2crypto-0.38.0.ebuild b/dev-python/m2crypto/m2crypto-0.38.0.ebuild
index bed3a446f47c..276d45fe28c0 100644
--- a/dev-python/m2crypto/m2crypto-0.38.0.ebuild
+++ b/dev-python/m2crypto/m2crypto-0.38.0.ebuild
@@ -4,15 +4,14 @@
EAPI=7
PYTHON_COMPAT=( python3_{9..11} )
+PYPI_NO_NORMALIZE=1
+PYPI_PN="M2Crypto"
PYTHON_REQ_USE="threads(+)"
-inherit distutils-r1 toolchain-funcs
+inherit distutils-r1 toolchain-funcs pypi
-MY_PN="M2Crypto"
DESCRIPTION="A Python crypto and SSL toolkit"
HOMEPAGE="https://gitlab.com/m2crypto/m2crypto https://pypi.org/project/M2Crypto/"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
-S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"