1 |
commit: eec1da300c7e113173e68d09ca02f6a18c439d28 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 21 21:50:56 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 21 21:50:56 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eec1da30 |
7 |
|
8 |
app-text/pspdftool: Port to EAPI 7 |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
app-text/pspdftool/pspdftool-0.03.ebuild | 26 ++++++++++---------------- |
14 |
1 file changed, 10 insertions(+), 16 deletions(-) |
15 |
|
16 |
diff --git a/app-text/pspdftool/pspdftool-0.03.ebuild b/app-text/pspdftool/pspdftool-0.03.ebuild |
17 |
index 5b6cbb7e2ec..5dff5b9d0d3 100644 |
18 |
--- a/app-text/pspdftool/pspdftool-0.03.ebuild |
19 |
+++ b/app-text/pspdftool/pspdftool-0.03.ebuild |
20 |
@@ -1,31 +1,25 @@ |
21 |
-# Copyright 1999-2016 Gentoo Foundation |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=4 |
26 |
+EAPI=7 |
27 |
|
28 |
-ESVN_REPO_URI="https://svn.code.sf.net/p/pspdftool/code/trunk" |
29 |
-ESVN_PROJECT="pspdftool" |
30 |
- |
31 |
-[[ "${PV}" == "9999" ]] && EXTRA_ECLASS="subversion" |
32 |
-inherit autotools ${EXTRA_ECLASS} |
33 |
-unset EXTRA_ECLASS |
34 |
+inherit autotools |
35 |
|
36 |
DESCRIPTION="Tool for prepress preparation of PDF and PostScript documents" |
37 |
HOMEPAGE="https://sourceforge.net/projects/pspdftool" |
38 |
-[[ "${PV}" == "9999" ]] || SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
39 |
- |
40 |
-# Don't move KEYWORDS on the previous line or ekeyword won't work # 399061 |
41 |
-[[ "${PV}" == "9999" ]] || \ |
42 |
-KEYWORDS="~amd64 ~x86" |
43 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
44 |
|
45 |
LICENSE="GPL-2" |
46 |
SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
IUSE="zlib" |
49 |
|
50 |
-DEPEND="zlib? ( sys-libs/zlib ) " |
51 |
-RDEPEND="${DEPEND}" |
52 |
+RDEPEND="zlib? ( sys-libs/zlib )" |
53 |
+DEPEND="${RDEPEND}" |
54 |
|
55 |
src_prepare() { |
56 |
+ default |
57 |
+ mv configure.{in,ac} || die |
58 |
eautoreconf |
59 |
} |
60 |
|
61 |
@@ -35,5 +29,5 @@ src_configure() { |
62 |
|
63 |
src_install() { |
64 |
default |
65 |
- rm -rf "${ED}"/usr/share/doc/${PN}* |
66 |
+ rm -rf "${ED}"/usr/share/doc/${PN}* || die |
67 |
} |