summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-24 14:54:01 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-25 18:18:53 +0100
commit4db05a923f7dc2ec904ef0c9f8e38b50a79ca2c7 (patch)
tree1a6b7985bcfe495434c888deadc8fa146920c5b8 /dev-python/webob
parentdev-python/wand: Use pypi.eclass (diff)
downloadgentoo-4db05a923f7dc2ec904ef0c9f8e38b50a79ca2c7.tar.gz
gentoo-4db05a923f7dc2ec904ef0c9f8e38b50a79ca2c7.tar.bz2
gentoo-4db05a923f7dc2ec904ef0c9f8e38b50a79ca2c7.zip
dev-python/webob: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/webob')
-rw-r--r--dev-python/webob/webob-1.8.7-r1.ebuild9
1 files 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"