dev-python/Pyro5: update SRC_URI

Switch from gh to pypi.  Tests pass.

Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
Viorel Munteanu
2023-03-12 10:33:02 +02:00
parent 37c96a0279
commit 3639e8b609
2 changed files with 5 additions and 4 deletions

View File

@@ -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"