summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-01-05 15:46:48 +0100
committerMichał Górny <mgorny@gentoo.org>2020-01-05 16:17:54 +0100
commit7fb85227fef3dd540f1b84bc831a28464e4b0932 (patch)
treec04f664d63e8726147150d45603a7838295c425f
parentacct-user/pcscd: initial commit (diff)
downloadgentoo-7fb85227fef3dd540f1b84bc831a28464e4b0932.tar.gz
gentoo-7fb85227fef3dd540f1b84bc831a28464e4b0932.tar.bz2
gentoo-7fb85227fef3dd540f1b84bc831a28464e4b0932.zip
dev-util/squashdelta: Bump to EAPI 7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-util/squashdelta/squashdelta-0.1.1.ebuild9
-rw-r--r--dev-util/squashdelta/squashdelta-9999.ebuild9
2 files changed, 8 insertions, 10 deletions
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