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/keyrings-alt/
Date: Tue,  7 Feb 2023 09:26:55 +0000 (UTC)	[thread overview]
Message-ID: <1675762003.4ecce4b8547ff093cc014fd05e3f63a8022ea8f1.mgorny@gentoo> (raw)

commit:     4ecce4b8547ff093cc014fd05e3f63a8022ea8f1
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Feb  7 08:19:36 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb  7 09:26:43 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ecce4b8

dev-python/keyrings-alt: Switch to PyPI sdist

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

 dev-python/keyrings-alt/Manifest                  |  2 +-
 dev-python/keyrings-alt/keyrings-alt-4.2.0.ebuild | 12 +++---------
 2 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/dev-python/keyrings-alt/Manifest b/dev-python/keyrings-alt/Manifest
index 15929005b4e3..11ceb2bc92c7 100644
--- a/dev-python/keyrings-alt/Manifest
+++ b/dev-python/keyrings-alt/Manifest
@@ -1 +1 @@
-DIST keyrings.alt-4.2.0.gh.tar.gz 27017 BLAKE2B 736c3de24f54340c7f0c1e8e2b5eb453211fa2a786ec8ac98f9ae959d6f8f661b6d572f06cd362550d0a72bc7e3fbd44746d192e670ab61f7964d4f614aab870 SHA512 395b5a53cb05f3bc96aaf0a2dd826b185902d1ef03f9603f4731bf334938cfd36c7430e41ed7f6c574d54c56ed6a77e1160c741b02877cd3c1169ae1ca86f437
+DIST keyrings.alt-4.2.0.tar.gz 29855 BLAKE2B b256ec47ff93b7ec05193d26c530d5f8e925a7c4dbf2be1de26c47f4967cdcd46236eaffe9bceabc1cf04e4d7a23984fede9e8390ac6f8a6960705725bbb5126 SHA512 fe851f77ee0c794254e5197357c29c7f4dc05aac2df4c65825e54ccfea0f8d8a5d93d62a977b8cd0c462a875ac7c8591fa4bcb5d55e391cab77b3a31c006c0b1

diff --git a/dev-python/keyrings-alt/keyrings-alt-4.2.0.ebuild b/dev-python/keyrings-alt/keyrings-alt-4.2.0.ebuild
index 124dd8c94fba..4d0f67f3d179 100644
--- a/dev-python/keyrings-alt/keyrings-alt-4.2.0.ebuild
+++ b/dev-python/keyrings-alt/keyrings-alt-4.2.0.ebuild
@@ -6,19 +6,15 @@ EAPI=8
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( pypy3 python3_{9..11} )
 
-inherit distutils-r1
+inherit distutils-r1 pypi
 
-MY_P="${P/-/.}"
 DESCRIPTION="Alternate keyring implementations"
 HOMEPAGE="
 	https://github.com/jaraco/keyrings.alt/
 	https://pypi.org/project/keyrings.alt/
 "
-SRC_URI="
-	https://github.com/jaraco/keyrings.alt/archive/v${PV}.tar.gz
-		-> ${MY_P}.gh.tar.gz
-"
-S=${WORKDIR}/${MY_P}
+SRC_URI="$(pypi_sdist_url "${PN/-/.}")"
+S=${WORKDIR}/${P/-/.}
 
 LICENSE="MIT"
 SLOT="0"
@@ -38,8 +34,6 @@ BDEPEND="
 
 distutils_enable_tests pytest
 
-export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
-
 src_prepare() {
 	# oldschool namespaces
 	rm keyrings/__init__.py || die


             reply	other threads:[~2023-02-07  9:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-07  9:26 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-14  6:05 [gentoo-commits] repo/gentoo:master commit in: dev-python/keyrings-alt/ Michał Górny
2024-08-14  6:05 Michał Górny
2024-04-02  5:45 Michał Górny
2023-10-27 17:47 Michał Górny
2023-07-24 11:32 Michał Górny
2023-07-24  3:33 Michał Górny
2023-02-12 19:05 Michał Górny
2022-09-23 16:44 Michał Górny
2022-09-23 16:39 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=1675762003.4ecce4b8547ff093cc014fd05e3f63a8022ea8f1.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