commit: 5710733ee395c689fabbd7b57bc69070bcd34172
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 23 13:35:32 2018 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Mon Apr 23 13:58:57 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5710733e
dev-php/PEAR-Config: Revbump to fix tests
Package-Manager: Portage-2.3.31, Repoman-2.3.9
.../PEAR-Config-2.0.0_pre20140323-r1.ebuild | 29 ++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/dev-php/PEAR-Config/PEAR-Config-2.0.0_pre20140323-r1.ebuild
b/dev-php/PEAR-Config/PEAR-Config-2.0.0_pre20140323-r1.ebuild
new file mode 100644
index 00000000000..fd949ea89cf
--- /dev/null
+++ b/dev-php/PEAR-Config/PEAR-Config-2.0.0_pre20140323-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit php-pear-r2 vcs-snapshot
+
+DESCRIPTION="Provides multiple methods for configuration manipulation"
+LICENSE="PHP-2.02"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test xml"
+RDEPEND="xml? ( dev-php/PEAR-XML_Parser dev-php/PEAR-XML_Util )"
+DEPEND="test? ( ${RDEPEND} )"
+SRC_URI="https://github.com/pear/Config/archive/606a24034ad80f9d6ccb5a8b698b702b392e4674.tar.gz
-> ${PEAR_P}.tar.gz"
+DOCS=( docs/TODO )
+HTML_DOCS=( docs/Apache.php docs/IniCommented.php docs/IniFromScratch.php )
+
+src_prepare() {
+ # Move snapshot location to where the eclass expects
+ mv "${S}/package.xml" "${WORKDIR}/package.xml" || die
+ sed -i 's/&new/new/' test/phpt_test.php.inc || die
+ sed -i 's/& new/ new/' test/bug6441.phpt || die
+ eapply_user
+}
+
+src_test() {
+ pear run-tests test || die "Tests failed"
+}