summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-08 07:02:01 +0000
committerSam James <sam@gentoo.org>2021-06-08 07:10:38 +0000
commitf496b491de3c9214afe0e5bfeaa6ab186ee9e405 (patch)
treeab83777e3b28051313706b109a3c56ec848f5ed2 /app-emulation/libguestfs-appliance
parentapp-emulation/libguestfs-appliance: add 1.40.1 (diff)
downloadgentoo-f496b491de3c9214afe0e5bfeaa6ab186ee9e405.tar.gz
gentoo-f496b491de3c9214afe0e5bfeaa6ab186ee9e405.tar.bz2
gentoo-f496b491de3c9214afe0e5bfeaa6ab186ee9e405.zip
app-emulation/libguestfs-appliance: port old to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-emulation/libguestfs-appliance')
-rw-r--r--app-emulation/libguestfs-appliance/libguestfs-appliance-1.38.0.ebuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/app-emulation/libguestfs-appliance/libguestfs-appliance-1.38.0.ebuild b/app-emulation/libguestfs-appliance/libguestfs-appliance-1.38.0.ebuild
index 31e8b16bfd51..91cac60c818c 100644
--- a/app-emulation/libguestfs-appliance/libguestfs-appliance-1.38.0.ebuild
+++ b/app-emulation/libguestfs-appliance/libguestfs-appliance-1.38.0.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
CHECKREQS_DISK_USR=500M
CHECKREQS_DISK_BUILD=500M
@@ -9,20 +9,18 @@ CHECKREQS_DISK_BUILD=500M
inherit check-reqs
DESCRIPTION="VM appliance disk image used in libguestfs package"
-HOMEPAGE="http://libguestfs.org/"
-SRC_URI="http://libguestfs.org/download/binaries/appliance/appliance-${PV}.tar.xz"
+HOMEPAGE="https://libguestfs.org/"
+SRC_URI="https://libguestfs.org/download/binaries/appliance/appliance-${PV}.tar.xz"
+S="${WORKDIR}"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
-DEPEND="app-arch/xz-utils"
+BDEPEND="app-arch/xz-utils"
# Mixing libguestfs versions causes weird problems. #501588
RDEPEND="!<app-emulation/libguestfs-${PV}"
-S="${WORKDIR}"
-
src_unpack() {
# We'll unpack the tarball directly into ${D} to speed up install.
# Otherwise we need to duplicate hundreds of data.
@@ -31,7 +29,7 @@ src_unpack() {
src_install() {
dodir /usr/share/guestfs
- cd "${ED}"/usr/share/guestfs
+ cd "${ED}"/usr/share/guestfs || die
unpack ${A}
cd appliance || die
dodoc README*