Skip to content

Commit

Permalink
dev-util/squashdelta: Bump to EAPI 7
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Górny <[email protected]>
  • Loading branch information
mgorny committed Jan 5, 2020
1 parent 22019e1 commit 7fb8522
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
9 changes: 4 additions & 5 deletions dev-util/squashdelta/squashdelta-0.1.1.ebuild
Original file line number Diff line number Diff line change
@@ -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/"
Expand All @@ -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= )
Expand All @@ -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)
Expand Down
9 changes: 4 additions & 5 deletions dev-util/squashdelta/squashdelta-9999.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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= )
Expand All @@ -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
Expand Down

0 comments on commit 7fb8522

Please sign in to comment.