summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2016-07-28 10:19:07 -0400
committerMichael Orlitzky <mjo@gentoo.org>2016-07-28 10:37:46 -0400
commit11a06aab5e325aa84eba2833d2b4ee0758d1cab3 (patch)
tree8b3326b3aedd796ee983fc9c95d2d439cd4733bd /dev-php
parentdev-php/PEAR-Structures_Graph: new revision to clean up dependencies. (diff)
downloadgentoo-11a06aab5e325aa84eba2833d2b4ee0758d1cab3.tar.gz
gentoo-11a06aab5e325aa84eba2833d2b4ee0758d1cab3.tar.bz2
gentoo-11a06aab5e325aa84eba2833d2b4ee0758d1cab3.zip
dev-php/PEAR-XML_Util: new revision to clean up dependencies.
This package had a build-time dependency on dev-lang/php that was intended to be a runtime dependency; now fixed. There were also redundant dependencies on dev-php/pear and dev-php/PEAR-PEAR (which are the same, for all intents and purposes). The dev-php/pear dependency has been removed in favor of a single PDEPEND on dev-php/PEAR-PEAR. Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/PEAR-XML_Util/PEAR-XML_Util-1.3.0-r1.ebuild (renamed from dev-php/PEAR-XML_Util/PEAR-XML_Util-1.3.0.ebuild)27
1 files changed, 12 insertions, 15 deletions
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
index 49c4b854bbee..54779be2087d 100644
--- 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
@@ -1,33 +1,30 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="5"
+EAPI=6
MY_PN="${PN/PEAR-/}"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="XML utility class"
-
+HOMEPAGE="http://pear.php.net/package/${MY_PN}"
+SRC_URI="http://pear.php.net/get/${MY_P}.tgz"
LICENSE="PHP-2.02"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE=""
-SRC_URI="http://pear.php.net/get/${MY_P}.tgz"
-
-DEPEND=">=dev-lang/php-5.3:*[pcre(+)]
- >=dev-php/PEAR-PEAR-1.8.1"
-RDEPEND="${DEPEND}"
-PDEPEND="dev-php/pear"
+IUSE="examples"
-HOMEPAGE="http://pear.php.net/package/XML_Util"
+# PCRE is needed for a few calls to preg_replace and preg_match.
+RDEPEND="dev-lang/php:*[pcre(+)]"
+PDEPEND="dev-php/PEAR-PEAR"
+DEPEND=""
S="${WORKDIR}/${MY_P}"
src_install() {
- insinto /usr/share/php/XML
- doins XML/Util.php
+ insinto /usr/share/php
+ doins -r XML
- insinto /usr/share/php/docs/${MY_PN}
- doins examples/*
+ use examples && dodoc -r examples
}