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/simplegeneric/
Date: Mon, 27 Mar 2023 19:21:39 +0000 (UTC)	[thread overview]
Message-ID: <1679944859.eec05acdb78546b12367a95516d56168484d6f7f.mgorny@gentoo> (raw)

commit:     eec05acdb78546b12367a95516d56168484d6f7f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 27 19:16:38 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar 27 19:20:59 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eec05acd

dev-python/simplegeneric: Use pypi.eclass

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

 dev-python/simplegeneric/simplegeneric-0.8.1-r2.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/dev-python/simplegeneric/simplegeneric-0.8.1-r2.ebuild b/dev-python/simplegeneric/simplegeneric-0.8.1-r2.ebuild
index a26a78b5e527..da2028bec534 100644
--- a/dev-python/simplegeneric/simplegeneric-0.8.1-r2.ebuild
+++ b/dev-python/simplegeneric/simplegeneric-0.8.1-r2.ebuild
@@ -6,16 +6,18 @@ EAPI=8
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{9..11} )
 
-inherit distutils-r1
+inherit distutils-r1 pypi
 
 DESCRIPTION="Simple generic functions for Python"
 HOMEPAGE="https://pypi.org/project/simplegeneric/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
+SRC_URI="$(pypi_sdist_url "${PN}" "${PV}" .zip)"
 
 LICENSE="ZPL"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 
-BDEPEND="app-arch/unzip"
+BDEPEND="
+	app-arch/unzip
+"
 
 distutils_enable_tests setup.py


             reply	other threads:[~2023-03-27 19:21 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-27 19:21 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-05-28 18:07 [gentoo-commits] repo/gentoo:master commit in: dev-python/simplegeneric/ Arthur Zamarin
2022-08-18 10:17 Michał Górny
2022-08-18  7:01 Agostino Sarubbo
2022-08-18  6:18 Michał Górny
2022-08-17 20:01 Sam James
2022-08-17 19:31 Arthur Zamarin
2022-08-17 19:31 Arthur Zamarin
2022-08-17 19:02 Arthur Zamarin
2022-08-17 18:49 Arthur Zamarin
2022-08-17 18:43 Arthur Zamarin
2022-07-15 18:45 Arthur Zamarin
2022-07-15 18:45 Arthur Zamarin
2021-06-05 18:20 Michał Górny
2021-01-06 22:30 Fabian Groffen
2020-10-18  3:48 Matthew Thode
2017-11-25 21:44 David Seifert
2017-03-10  6:27 Zac Medico

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=1679944859.eec05acdb78546b12367a95516d56168484d6f7f.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