Skip to content

Commit

Permalink
app-emulation/libguestfs-appliance: port old to EAPI 7
Browse files Browse the repository at this point in the history
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Jun 8, 2021
1 parent f1331c4 commit f496b49
Showing 1 changed file with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
# 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

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.
Expand All @@ -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*
Expand Down

0 comments on commit f496b49

Please sign in to comment.