diff options
| author | Michal Privoznik <michal.privoznik@gmail.com> | 2025-10-14 19:01:21 +0200 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-10-18 10:13:50 +0100 |
| commit | e5b0cb1ba431079b864eba51e80bbe924b811a5b (patch) | |
| tree | 5108b5e256138df157ca3d03e478950765aa001c /dev-python/libvirt-python/libvirt-python-9999.ebuild | |
| parent | 88f44b3f0895c0b29d4c56ee7499260ba0b1a1a2 (diff) | |
| download | gentoo-e5b0cb1ba431079b864eba51e80bbe924b811a5b.tar.gz gentoo-e5b0cb1ba431079b864eba51e80bbe924b811a5b.tar.bz2 gentoo-e5b0cb1ba431079b864eba51e80bbe924b811a5b.zip | |
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 <michal.privoznik@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44234
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/libvirt-python/libvirt-python-9999.ebuild')
| -rw-r--r-- | dev-python/libvirt-python/libvirt-python-9999.ebuild | 5 |
1 files changed, 2 insertions, 3 deletions
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" |
