diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-03-17 19:04:08 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-03-17 19:28:09 +0100 |
commit | efed8a212c2a2f4a1c433f9e957a0a7b72397119 (patch) | |
tree | 54c0dcaad5e2d6b877462f427dba811cafc4b0bc /dev-python/zope-event | |
parent | dev-python/zope-deprecation: Use pypi.eclass (diff) | |
download | gentoo-efed8a212c2a2f4a1c433f9e957a0a7b72397119.tar.gz gentoo-efed8a212c2a2f4a1c433f9e957a0a7b72397119.tar.bz2 gentoo-efed8a212c2a2f4a1c433f9e957a0a7b72397119.zip |
dev-python/zope-event: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/zope-event')
-rw-r--r-- | dev-python/zope-event/zope-event-4.6.ebuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/dev-python/zope-event/zope-event-4.6.ebuild b/dev-python/zope-event/zope-event-4.6.ebuild index 4523bf0ae852..18e2eec4af9a 100644 --- a/dev-python/zope-event/zope-event-4.6.ebuild +++ b/dev-python/zope-event/zope-event-4.6.ebuild @@ -6,17 +6,15 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{9..11} pypy3 ) -inherit distutils-r1 +inherit distutils-r1 pypi -MY_PN=${PN/-/.} -MY_P=${MY_PN}-${PV} DESCRIPTION="Event publishing / dispatch, used by Zope Component Architecture" HOMEPAGE=" https://pypi.org/project/zope.event/ https://github.com/zopefoundation/zope.event/ " -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" +SRC_URI="$(pypi_sdist_url --no-normalize "${PN/-/.}")" +S=${WORKDIR}/${P/-/.} LICENSE="ZPL" SLOT="0" |