public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
Date: Fri, 17 Mar 2023 18:28:20 +0000 (UTC)	[thread overview]
Message-ID: <1679077690.1701229cd7c20a3c73e826e1bf7d56c39249c7ec.mgorny@gentoo> (raw)

commit:     1701229cd7c20a3c73e826e1bf7d56c39249c7ec
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 17 18:04:09 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Mar 17 18:28:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1701229c

dev-python/zope-exceptions: Use pypi.eclass

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

 dev-python/zope-exceptions/zope-exceptions-4.6.ebuild | 7 +++----
 1 file 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"


             reply	other threads:[~2023-03-17 18:28 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-17 18:28 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-27 21:07 [gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/ Michał Górny
2024-10-31  5:24 Michał Górny
2024-06-18 15:56 Michał Górny
2024-06-07 14:48 Michał Górny
2023-07-24 11:34 Michał Górny
2023-07-11 10:41 Michał Górny
2023-06-30  2:56 Michał Górny
2023-06-06  6:13 Michał Górny
2023-03-21  6:49 Michał Górny
2022-11-14  5:07 Michał Górny
2022-11-11  6:41 Arthur Zamarin
2022-11-11  6:41 Arthur Zamarin
2022-04-22 15:35 Michał Górny
2022-04-11 19:58 Michał Górny
2022-04-09 19:12 Michał Górny
2022-02-11  9:42 Michał Górny
2021-03-02  8:40 Sam James
2020-12-04 12:38 Michał Górny
2020-12-03 17:31 Michał Górny
2020-10-16 18:22 Michał Górny
2020-08-22  7:13 Michał Górny
2020-08-18 14:59 Sam James
2020-08-02  9:33 Michał Górny
2020-03-29 12:22 Michał Górny
2020-01-12 20:19 Matthew Thode
2019-11-30  8:28 Michał Górny
2019-11-30  8:28 Michał Górny
2017-05-07 18:43 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1679077690.1701229cd7c20a3c73e826e1bf7d56c39249c7ec.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox