commit:     8811c0e0c2c8e8cf3d75eb40b968132526d92220
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 24 13:54:00 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 25 17:18:52 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8811c0e0

dev-python/wand: Use pypi.eclass

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/wand/wand-0.6.11.ebuild | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/dev-python/wand/wand-0.6.11.ebuild 
b/dev-python/wand/wand-0.6.11.ebuild
index 13b137e5a7a5..9bc949713fc1 100644
--- a/dev-python/wand/wand-0.6.11.ebuild
+++ b/dev-python/wand/wand-0.6.11.ebuild
@@ -4,19 +4,18 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN=${PN^}
 PYTHON_COMPAT=( pypy3 python3_{9..11} )
 
-inherit distutils-r1
+inherit distutils-r1 pypi
 
-MY_P=${P^}
 DESCRIPTION="Ctypes-based simple ImageMagick binding for Python"
 HOMEPAGE="
        https://docs.wand-py.org/
        https://github.com/emcconville/wand/
        https://pypi.org/project/Wand/
 "
-SRC_URI="mirror://pypi/${MY_P::1}/${PN^}/${MY_P}.tar.gz"
-S=${WORKDIR}/${MY_P}
 
 LICENSE="MIT"
 SLOT="0"

Reply via email to