summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-24 14:53:47 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-25 18:18:42 +0100
commitb6b760dd99f3f91715c93422462b78903370d6df (patch)
treeeb768c7ab55f48ac1096a61eea800a38bf047f54 /dev-python/pyopenssl
parentdev-python/pyjwt: Use pypi.eclass (diff)
downloadgentoo-b6b760dd99f3f91715c93422462b78903370d6df.tar.gz
gentoo-b6b760dd99f3f91715c93422462b78903370d6df.tar.bz2
gentoo-b6b760dd99f3f91715c93422462b78903370d6df.zip
dev-python/pyopenssl: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pyopenssl')
-rw-r--r--dev-python/pyopenssl/pyopenssl-23.0.0.ebuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/dev-python/pyopenssl/pyopenssl-23.0.0.ebuild b/dev-python/pyopenssl/pyopenssl-23.0.0.ebuild
index 0d719ff13004..568cdb43e89c 100644
--- a/dev-python/pyopenssl/pyopenssl-23.0.0.ebuild
+++ b/dev-python/pyopenssl/pyopenssl-23.0.0.ebuild
@@ -4,13 +4,12 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN="pyOpenSSL"
PYTHON_COMPAT=( python3_{9..11} pypy3 )
PYTHON_REQ_USE="threads(+)"
-inherit distutils-r1 toolchain-funcs
-
-MY_PN=pyOpenSSL
-MY_P=${MY_PN}-${PV}
+inherit distutils-r1 toolchain-funcs pypi
DESCRIPTION="Python interface to the OpenSSL library"
HOMEPAGE="
@@ -18,8 +17,6 @@ HOMEPAGE="
https://github.com/pyca/pyopenssl/
https://pypi.org/project/pyOpenSSL/
"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-S=${WORKDIR}/${MY_P}
LICENSE="Apache-2.0"
SLOT="0"