commit: 4db05a923f7dc2ec904ef0c9f8e38b50a79ca2c7
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 24 13:54:01 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 25 17:18:53 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4db05a92
dev-python/webob: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/webob/webob-1.8.7-r1.ebuild | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/dev-python/webob/webob-1.8.7-r1.ebuild
b/dev-python/webob/webob-1.8.7-r1.ebuild
index 0272d56dd282..9a31d394052f 100644
--- a/dev-python/webob/webob-1.8.7-r1.ebuild
+++ b/dev-python/webob/webob-1.8.7-r1.ebuild
@@ -4,12 +4,11 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN="WebOb"
PYTHON_COMPAT=( pypy3 python3_{9..11} )
-inherit distutils-r1
-
-MY_PN=WebOb
-MY_P=${MY_PN}-${PV}
+inherit distutils-r1 pypi
DESCRIPTION="WSGI request and response object"
HOMEPAGE="
@@ -17,8 +16,6 @@ HOMEPAGE="
https://github.com/Pylons/webob/
https://pypi.org/project/WebOb/
"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0"