summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-12-25 17:35:50 +0100
committerDavid Seifert <soap@gentoo.org>2017-12-25 20:15:40 +0100
commit20eee95d714d1b25653426ee3446c7fce08913c2 (patch)
tree25ad05c40c093b67c6c524373994bff99b1c5612 /app-text/unpaper
parentapp-text/nfoview: [QA] Port to git-r3 (diff)
downloadgentoo-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')
-rw-r--r--app-text/unpaper/unpaper-5.1.ebuild6
-rw-r--r--app-text/unpaper/unpaper-6.1-r1.ebuild21
-rw-r--r--app-text/unpaper/unpaper-6.1.ebuild6
-rw-r--r--app-text/unpaper/unpaper-9999.ebuild21
4 files changed, 22 insertions, 32 deletions
diff --git a/app-text/unpaper/unpaper-5.1.ebuild b/app-text/unpaper/unpaper-5.1.ebuild
index 945ae6370e42..37edf751413c 100644
--- a/app-text/unpaper/unpaper-5.1.ebuild
+++ b/app-text/unpaper/unpaper-5.1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-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"
diff --git a/app-text/unpaper/unpaper-6.1-r1.ebuild b/app-text/unpaper/unpaper-6.1-r1.ebuild
index aed3c7c6ab3f..e2d4212348de 100644
--- a/app-text/unpaper/unpaper-6.1-r1.ebuild
+++ b/app-text/unpaper/unpaper-6.1-r1.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
+}
diff --git a/app-text/unpaper/unpaper-6.1.ebuild b/app-text/unpaper/unpaper-6.1.ebuild
index 068f014b1ee9..710f894a8ffa 100644
--- a/app-text/unpaper/unpaper-6.1.ebuild
+++ b/app-text/unpaper/unpaper-6.1.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
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"
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
+}