dev-util/bdelta: update HOMEPAGE, bump up to EAPI=6
authorSergei Trofimovich <slyfox@gentoo.org>
Tue, 4 Jul 2017 21:33:20 +0000 (22:33 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Tue, 4 Jul 2017 21:56:10 +0000 (22:56 +0100)
Package-Manager: Portage-2.3.6, Repoman-2.3.2

dev-util/bdelta/bdelta-0.3.1-r1.ebuild [moved from dev-util/bdelta/bdelta-0.3.1.ebuild with 76% similarity]

similarity index 76%
rename from dev-util/bdelta/bdelta-0.3.1.ebuild
rename to dev-util/bdelta/bdelta-0.3.1-r1.ebuild
index edb6de3eca39b4e934595c6065d2f30bddebefb0..c199f1524f7d47cc55d123fd97c8cb2a025c2ead 100644 (file)
@@ -1,7 +1,7 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=6
 
 if [[ ${PV} = *9999* ]]; then
        EGIT_REPO_URI="git://github.com/jjwhitney/BDelta.git"
@@ -11,7 +11,7 @@ else
        UNPACKER_ECLASS="vcs-snapshot"
 fi
 
-inherit eutils multilib toolchain-funcs ${UNPACKER_ECLASS}
+inherit toolchain-funcs ${UNPACKER_ECLASS}
 
 if [[ -z ${LIVE_EBUILD} ]]; then
        KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-linux"
@@ -19,16 +19,16 @@ if [[ -z ${LIVE_EBUILD} ]]; then
 fi
 
 DESCRIPTION="Binary Delta - Efficient difference algorithm and format"
-HOMEPAGE="http://bdelta.org"
+HOMEPAGE="https://github.com/jjwhitney/BDelta"
 
 SLOT="0"
 LICENSE="MPL-2.0"
 IUSE=""
 
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-soname.patch
-       epatch "${FILESDIR}"/${P}-gcc-6.patch
-}
+PATCHES=(
+       "${FILESDIR}"/${P}-soname.patch
+       "${FILESDIR}"/${P}-gcc-6.patch
+)
 
 src_compile() {
        emake -C src \