1 |
commit: 11a06aab5e325aa84eba2833d2b4ee0758d1cab3 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 28 14:19:07 2016 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 28 14:37:46 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11a06aab |
7 |
|
8 |
dev-php/PEAR-XML_Util: new revision to clean up dependencies. |
9 |
|
10 |
This package had a build-time dependency on dev-lang/php that was |
11 |
intended to be a runtime dependency; now fixed. There were also |
12 |
redundant dependencies on dev-php/pear and dev-php/PEAR-PEAR (which |
13 |
are the same, for all intents and purposes). The dev-php/pear |
14 |
dependency has been removed in favor of a single PDEPEND on |
15 |
dev-php/PEAR-PEAR. |
16 |
|
17 |
Package-Manager: portage-2.2.28 |
18 |
|
19 |
...-1.3.0.ebuild => PEAR-XML_Util-1.3.0-r1.ebuild} | 27 ++++++++++------------ |
20 |
1 file changed, 12 insertions(+), 15 deletions(-) |
21 |
|
22 |
diff --git a/dev-php/PEAR-XML_Util/PEAR-XML_Util-1.3.0.ebuild b/dev-php/PEAR-XML_Util/PEAR-XML_Util-1.3.0-r1.ebuild |
23 |
similarity index 52% |
24 |
rename from dev-php/PEAR-XML_Util/PEAR-XML_Util-1.3.0.ebuild |
25 |
rename to dev-php/PEAR-XML_Util/PEAR-XML_Util-1.3.0-r1.ebuild |
26 |
index 49c4b85..54779be 100644 |
27 |
--- a/dev-php/PEAR-XML_Util/PEAR-XML_Util-1.3.0.ebuild |
28 |
+++ b/dev-php/PEAR-XML_Util/PEAR-XML_Util-1.3.0-r1.ebuild |
29 |
@@ -1,33 +1,30 @@ |
30 |
-# Copyright 1999-2015 Gentoo Foundation |
31 |
+# Copyright 1999-2016 Gentoo Foundation |
32 |
# Distributed under the terms of the GNU General Public License v2 |
33 |
# $Id$ |
34 |
|
35 |
-EAPI="5" |
36 |
+EAPI=6 |
37 |
|
38 |
MY_PN="${PN/PEAR-/}" |
39 |
MY_P="${MY_PN}-${PV}" |
40 |
|
41 |
DESCRIPTION="XML utility class" |
42 |
- |
43 |
+HOMEPAGE="http://pear.php.net/package/${MY_PN}" |
44 |
+SRC_URI="http://pear.php.net/get/${MY_P}.tgz" |
45 |
LICENSE="PHP-2.02" |
46 |
SLOT="0" |
47 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
48 |
-IUSE="" |
49 |
-SRC_URI="http://pear.php.net/get/${MY_P}.tgz" |
50 |
- |
51 |
-DEPEND=">=dev-lang/php-5.3:*[pcre(+)] |
52 |
- >=dev-php/PEAR-PEAR-1.8.1" |
53 |
-RDEPEND="${DEPEND}" |
54 |
-PDEPEND="dev-php/pear" |
55 |
+IUSE="examples" |
56 |
|
57 |
-HOMEPAGE="http://pear.php.net/package/XML_Util" |
58 |
+# PCRE is needed for a few calls to preg_replace and preg_match. |
59 |
+RDEPEND="dev-lang/php:*[pcre(+)]" |
60 |
+PDEPEND="dev-php/PEAR-PEAR" |
61 |
+DEPEND="" |
62 |
|
63 |
S="${WORKDIR}/${MY_P}" |
64 |
|
65 |
src_install() { |
66 |
- insinto /usr/share/php/XML |
67 |
- doins XML/Util.php |
68 |
+ insinto /usr/share/php |
69 |
+ doins -r XML |
70 |
|
71 |
- insinto /usr/share/php/docs/${MY_PN} |
72 |
- doins examples/* |
73 |
+ use examples && dodoc -r examples |
74 |
} |