From e5b0cb1ba431079b864eba51e80bbe924b811a5b Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Tue, 14 Oct 2025 19:01:21 +0200 Subject: dev-python/libvirt-python: Reflect tar name change in live ebuild As of [1] libvirt-python release tarballs are named 'libvirt_python'. Reflect this name change in the live ebuild, since ebuild for new releases are going to be copied from it. This also removes replacement of "_rc" to "-rc" which might have been useful back in the day when python bindings lived in libvirt main repository, but they were moved to a separate repo ~12 years ago [2]. 1: https://gitlab.com/libvirt/libvirt-python/-/commit/a2047351b2889f611e229725971fd8cf7b3d284c 2: https://gitlab.com/libvirt/libvirt/-/commit/a7a1244a739d134a9aca7f76c12d63043810c077 Signed-off-by: Michal Privoznik Part-of: https://github.com/gentoo/gentoo/pull/44234 Signed-off-by: Sam James --- dev-python/libvirt-python/libvirt-python-9999.ebuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'dev-python/libvirt-python/libvirt-python-9999.ebuild') diff --git a/dev-python/libvirt-python/libvirt-python-9999.ebuild b/dev-python/libvirt-python/libvirt-python-9999.ebuild index 001848fbae78..48f58863517d 100644 --- a/dev-python/libvirt-python/libvirt-python-9999.ebuild +++ b/dev-python/libvirt-python/libvirt-python-9999.ebuild @@ -20,18 +20,17 @@ if [[ ${PV} == *9999* ]]; then EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt-python.git" RDEPEND="app-emulation/libvirt:=" else - MY_P="${P/_rc/-rc}" + MY_P="${P/-/_}" SRC_URI="https://download.libvirt.org/python/${MY_P}.tar.gz verify-sig? ( https://download.libvirt.org/python/${MY_P}.tar.gz.asc )" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" RDEPEND="app-emulation/libvirt:0/${PV}" + S="${WORKDIR}/${MY_P}" fi DESCRIPTION="libvirt Python bindings" HOMEPAGE="https://www.libvirt.org" -S="${WORKDIR}/${P%_rc*}" - LICENSE="LGPL-2" SLOT="0" IUSE="examples test" -- cgit v1.2.3