diff options
author | 2017-12-25 17:35:50 +0100 | |
---|---|---|
committer | 2017-12-25 20:15:40 +0100 | |
commit | 20eee95d714d1b25653426ee3446c7fce08913c2 (patch) | |
tree | 25ad05c40c093b67c6c524373994bff99b1c5612 /app-text/unpaper/unpaper-9999.ebuild | |
parent | app-text/nfoview: [QA] Port to git-r3 (diff) | |
download | gentoo-20eee95d714d1b25653426ee3446c7fce08913c2.tar.gz gentoo-20eee95d714d1b25653426ee3446c7fce08913c2.tar.bz2 gentoo-20eee95d714d1b25653426ee3446c7fce08913c2.zip |
app-text/unpaper: [QA] Port to git-r3
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-text/unpaper/unpaper-9999.ebuild')
-rw-r--r-- | app-text/unpaper/unpaper-9999.ebuild | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/app-text/unpaper/unpaper-9999.ebuild b/app-text/unpaper/unpaper-9999.ebuild index aed3c7c6ab3f..e2d4212348de 100644 --- a/app-text/unpaper/unpaper-9999.ebuild +++ b/app-text/unpaper/unpaper-9999.ebuild @@ -1,13 +1,11 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 -inherit autotools-utils - -if [[ ${PV} == 9999 ]]; then +if [[ ${PV} == *9999 ]]; then EGIT_REPO_URI="https://github.com/Flameeyes/unpaper.git" - inherit git-2 autotools + inherit git-r3 autotools else SRC_URI="https://www.flameeyes.eu/files/${P}.tar.xz" KEYWORDS="~amd64 ~x86" @@ -17,7 +15,6 @@ DESCRIPTION="Post-processor for scanned and photocopied book pages" HOMEPAGE="https://www.flameeyes.eu/projects/unpaper" LICENSE="GPL-2" - SLOT="0" IUSE="libav test" @@ -33,9 +30,7 @@ DEPEND="dev-libs/libxslt # images. Wait until we get a better testsuite. RESTRICT="test" -if [[ ${PV} == 9999 ]]; then - src_prepare() { - eautoreconf - autotools-utils_src_prepare - } -fi +src_prepare() { + default + [[ ${PV} == *9999 ]] && eautoreconf +} |