commit:     3639e8b609bb9d2b0c85cc1cccb510023f48a520
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 12 08:33:02 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Mar 12 08:37:24 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3639e8b6

dev-python/Pyro5: update SRC_URI

Switch from gh to pypi.  Tests pass.

Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 dev-python/Pyro5/Manifest          | 2 +-
 dev-python/Pyro5/Pyro5-5.14.ebuild | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/dev-python/Pyro5/Manifest b/dev-python/Pyro5/Manifest
index 199b3fce2..a1dc237c2 100644
--- a/dev-python/Pyro5/Manifest
+++ b/dev-python/Pyro5/Manifest
@@ -1 +1 @@
-DIST Pyro5-5.14.gh.tar.gz 432770 BLAKE2B 
9424441166b662bedbef89099fe00d7a6a608023b2416515f409c42eeaba47a1977e5bdc73bf6d7058fc4b35103e839d60506d59aae9390071be680e740c804b
 SHA512 
7341e88cf86a6832b2bf9681f58d998d10c3c01db70ff6e11e90c927d25581cb5606edaf52fbb0b0b44137cb129661b68769ca8ae2fd61d5461f18c74214831c
+DIST Pyro5-5.14.tar.gz 447725 BLAKE2B 
0382fd69df02a2977df6238bdfe7aed0f52253cc3a8fc684d6e08caa2c06c5c572dee15c53bb463e5e477941ec67e8e8c9358eb8cda7b413c9debf2ab3a292f7
 SHA512 
0ca65ad01a950f59d8e2cf745e5b61065b5f02d361651ae75dc27de921ea04b5f65bd9fd18ed7ae9b0d055eda3ceb19dffd10295061e496bd1fa70563339db2d

diff --git a/dev-python/Pyro5/Pyro5-5.14.ebuild 
b/dev-python/Pyro5/Pyro5-5.14.ebuild
index ec6292b27..1a6246628 100644
--- a/dev-python/Pyro5/Pyro5-5.14.ebuild
+++ b/dev-python/Pyro5/Pyro5-5.14.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021-2022 Gentoo Authors
+# Copyright 2021-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -6,7 +6,7 @@ EAPI=8
 PYTHON_COMPAT=( python3_{8..11} pypy3 )
 DISTUTILS_USE_PEP517=setuptools
 
-inherit distutils-r1
+inherit distutils-r1 pypi
 
 DESCRIPTION="Distributed object middleware for Python (RPC)"
 HOMEPAGE="
@@ -14,7 +14,8 @@ HOMEPAGE="
        https://pypi.org/project/Pyro5/
        https://github.com/irmen/Pyro5
 "
-SRC_URI="https://github.com/irmen/${PN}/archive/refs/tags/v${PV}.tar.gz -> 
${P}.gh.tar.gz"
+SRC_URI="$(pypi_sdist_url --no-normalize "${PN^}" "${PV}")"
+S=${WORKDIR}/${P^}
 
 LICENSE="MIT"
 SLOT="0"

Reply via email to