diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-03-17 19:04:09 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-03-17 19:28:10 +0100 |
commit | 1701229cd7c20a3c73e826e1bf7d56c39249c7ec (patch) | |
tree | c24bd2883b6ca3ed63bb3975c9aa1803b48f3c4f /dev-python/zope-exceptions | |
parent | dev-python/zope-event: Use pypi.eclass (diff) | |
download | gentoo-1701229cd7c20a3c73e826e1bf7d56c39249c7ec.tar.gz gentoo-1701229cd7c20a3c73e826e1bf7d56c39249c7ec.tar.bz2 gentoo-1701229cd7c20a3c73e826e1bf7d56c39249c7ec.zip |
dev-python/zope-exceptions: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/zope-exceptions')
-rw-r--r-- | dev-python/zope-exceptions/zope-exceptions-4.6.ebuild | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild index 3b4323daa488..55d8d703c531 100644 --- a/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild +++ b/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild @@ -6,16 +6,15 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{9..11} pypy3 ) -inherit distutils-r1 +inherit distutils-r1 pypi -MY_P=${P/-/.} DESCRIPTION="General purpose exceptions for Zope packages" HOMEPAGE=" https://pypi.org/project/zope.exceptions/ https://github.com/zopefoundation/zope.exceptions/ " -SRC_URI="mirror://pypi/${PN::1}/${PN/-/.}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" +SRC_URI="$(pypi_sdist_url --no-normalize "${PN/-/.}")" +S=${WORKDIR}/${P/-/.} LICENSE="ZPL" SLOT="0" |