1 |
commit: 8e3f7e4ab976ef3fea3714c9a75346c116a11bfa |
2 |
Author: Aaron Bauman <bman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 31 21:02:41 2018 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 1 14:05:15 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e3f7e4a |
7 |
|
8 |
net-misc/pedro: bump EAPI and drop eutils |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
net-misc/pedro/files/pedro-1.6-portage.patch | 4 ++-- |
13 |
net-misc/pedro/pedro-1.6.ebuild | 24 ++++++++++-------------- |
14 |
2 files changed, 12 insertions(+), 16 deletions(-) |
15 |
|
16 |
diff --git a/net-misc/pedro/files/pedro-1.6-portage.patch b/net-misc/pedro/files/pedro-1.6-portage.patch |
17 |
index be1f9d3b213..b72a3251b89 100644 |
18 |
--- a/net-misc/pedro/files/pedro-1.6-portage.patch |
19 |
+++ b/net-misc/pedro/files/pedro-1.6-portage.patch |
20 |
@@ -1,5 +1,5 @@ |
21 |
---- pedro-1.6.orig/configure 2011-08-23 11:01:21.000000000 +1200 |
22 |
-+++ pedro-1.6/configure 2011-11-19 21:28:47.000000000 +1300 |
23 |
+--- a/configure |
24 |
++++ b/configure |
25 |
@@ -10478,7 +10478,7 @@ |
26 |
ac_config_headers="$ac_config_headers config.h" |
27 |
|
28 |
|
29 |
diff --git a/net-misc/pedro/pedro-1.6.ebuild b/net-misc/pedro/pedro-1.6.ebuild |
30 |
index 00b9a3e6b9a..a3983f5619e 100644 |
31 |
--- a/net-misc/pedro/pedro-1.6.ebuild |
32 |
+++ b/net-misc/pedro/pedro-1.6.ebuild |
33 |
@@ -1,9 +1,7 @@ |
34 |
-# Copyright 1999-2012 Gentoo Foundation |
35 |
+# Copyright 1999-2018 Gentoo Foundation |
36 |
# Distributed under the terms of the GNU General Public License v2 |
37 |
|
38 |
-EAPI=2 |
39 |
- |
40 |
-inherit eutils |
41 |
+EAPI=6 |
42 |
|
43 |
DESCRIPTION="Pedro is a subscription/notification communications system" |
44 |
HOMEPAGE="http://www.itee.uq.edu.au/~pjr/HomePages/PedroHome.html" |
45 |
@@ -20,25 +18,23 @@ DEPEND="${RDEPEND}" |
46 |
|
47 |
S="${WORKDIR}"/${P} |
48 |
|
49 |
-src_prepare() { |
50 |
- epatch "${FILESDIR}"/${P}-portage.patch |
51 |
-} |
52 |
+PATCHES=( "${FILESDIR}/${P}-portage.patch" ) |
53 |
|
54 |
src_install() { |
55 |
- emake DESTDIR="${D}" install || die "emake install failed" |
56 |
- |
57 |
- dodoc AUTHORS README || die |
58 |
+ default |
59 |
|
60 |
if use doc ; then |
61 |
- dodoc "${WORKDIR}"/${PN}.pdf || die |
62 |
+ dodoc "${WORKDIR}"/${PN}.pdf |
63 |
fi |
64 |
|
65 |
if use examples ; then |
66 |
insinto /usr/share/doc/${PF}/examples |
67 |
- doins src/examples/*.{c,tcl} || die |
68 |
+ doins src/examples/*.{c,tcl} |
69 |
+ |
70 |
insinto /usr/share/doc/${PF}/examples/java_api |
71 |
- doins src/java_api/*.java || die |
72 |
+ doins src/java_api/*.java |
73 |
+ |
74 |
insinto /usr/share/doc/${PF}/examples/python_api |
75 |
- doins src/python_api/*.py || die |
76 |
+ doins src/python_api/*.py |
77 |
fi |
78 |
} |