From: Michał Górny Date: Sun, 5 Jan 2020 14:46:48 +0000 (+0100) Subject: dev-util/squashdelta: Bump to EAPI 7 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=7fb85227fef3dd540f1b84bc831a28464e4b0932;p=gentoo.git dev-util/squashdelta: Bump to EAPI 7 Signed-off-by: Michał Górny --- diff --git a/dev-util/squashdelta/squashdelta-0.1.1.ebuild b/dev-util/squashdelta/squashdelta-0.1.1.ebuild index 9f6ebdce8b9d..ea0756376a3d 100644 --- a/dev-util/squashdelta/squashdelta-0.1.1.ebuild +++ b/dev-util/squashdelta/squashdelta-0.1.1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 DESCRIPTION="Efficient (partially uncompressed) SquashFS binary delta tool" HOMEPAGE="https://github.com/mgorny/squashdelta/" @@ -12,6 +12,8 @@ LICENSE="BSD public-domain" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="lz4 +lzo" +# SquashDelta does not make much sense without a compression algo. +REQUIRED_USE="|| ( lz4 lzo )" COMMON_DEPEND=" lz4? ( app-arch/lz4:0= ) @@ -20,9 +22,6 @@ RDEPEND="${COMMON_DEPEND} dev-util/xdelta:3" DEPEND=${COMMON_DEPEND} -# SquashDelta does not make much sense without a compression algo. -REQUIRED_USE="|| ( lz4 lzo )" - src_configure() { local myconf=( $(use_enable lz4) diff --git a/dev-util/squashdelta/squashdelta-9999.ebuild b/dev-util/squashdelta/squashdelta-9999.ebuild index fd19fe305141..af4bc7cf66ba 100644 --- a/dev-util/squashdelta/squashdelta-9999.ebuild +++ b/dev-util/squashdelta/squashdelta-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 EGIT_REPO_URI="https://github.com/mgorny/${PN}.git" inherit autotools git-r3 @@ -15,6 +15,8 @@ LICENSE="BSD public-domain" SLOT="0" KEYWORDS="" IUSE="lz4 +lzo" +# SquashDelta does not make much sense without a compression algo. +REQUIRED_USE="|| ( lz4 lzo )" COMMON_DEPEND=" lz4? ( app-arch/lz4:0= ) @@ -23,9 +25,6 @@ RDEPEND="${COMMON_DEPEND} dev-util/xdelta:3" DEPEND=${COMMON_DEPEND} -# SquashDelta does not make much sense without a compression algo. -REQUIRED_USE="|| ( lz4 lzo )" - src_prepare() { default eautoreconf