summaryrefslogtreecommitdiff
path: root/dev-php/PEAR-Config
diff options
context:
space:
mode:
Diffstat (limited to 'dev-php/PEAR-Config')
-rw-r--r--dev-php/PEAR-Config/Manifest4
-rw-r--r--dev-php/PEAR-Config/PEAR-Config-1.10.12-r1.ebuild13
-rw-r--r--dev-php/PEAR-Config/PEAR-Config-2.0.0_pre20140323-r1.ebuild (renamed from dev-php/PEAR-Config/PEAR-Config-2.0.0_pre20140323.ebuild)11
3 files changed, 10 insertions, 18 deletions
diff --git a/dev-php/PEAR-Config/Manifest b/dev-php/PEAR-Config/Manifest
index 98f2a7ea6230..8cdd95a0e39a 100644
--- a/dev-php/PEAR-Config/Manifest
+++ b/dev-php/PEAR-Config/Manifest
@@ -1,5 +1,3 @@
-DIST Config-1.10.12.tgz 32291 BLAKE2B 8df42a9c3c34c7fe6cb7f5ffae75488e4cb557bde97c84e044356471d618cfa9ca9ce350cf5346bf9251e89f9716126b1bc342b4765ea81de2235fdcc51527e9 SHA512 c4ebb92d1440fbbb5119341eae7d90944661da35236af1d7ea8ed6753913aa2805a2256e8cb58b7c72f0ff0c56022c72e7d432be9e3e729001004192cbef0642
DIST Config-2.0.0_pre20140323.tar.gz 34309 BLAKE2B 4c9af6b488f874f58a54a6051a41dbbfd04d2ca042089ce1433b5a11ec2e3e7d35c0b4a08bae7cb5081a7da0d5d08c5f14e982178e1cc409194f80cc46cd4e32 SHA512 7056724cde7d39f5a2ac69c8e2dffd0ff57cb8caba6f014b5cb2a3b047946ca160fb4c30c01cf1986286d885893c9e0f504cee8920b46324987f707b5408be24
-EBUILD PEAR-Config-1.10.12-r1.ebuild 360 BLAKE2B 3c361c2b2b0d208a4b0f976aab3fcdbc40fd4077f174383dc46b8a501d54f1e16cc3f889a2d25c53d483fea236ddf7eff93f43f1b2f1651cb6541caf9588cdd9 SHA512 7db6f984939aaab86aacce3179c9dc1be773ef9135971bf191cce69b5a582fc723853d46ed94116ee543e1cb286f03e4fca9be93e58109e52cad5d90d0cf5ccd
-EBUILD PEAR-Config-2.0.0_pre20140323.ebuild 726 BLAKE2B b95046909f2c8308c48ca129e99c8aca27618037aba006f7829a8e264d6eccb3a722f76cc41d5b3ff56ed1dfaef9377af5534c09dff45d3c415696b5e66d1fa6 SHA512 fedd4b188eb9fecc35ff71d4b1bbb6fec3493668e83b68b2c3f491b2e75808c5f0a2bc2100dbd89b6d8a9d755be0c89ff5e4477ce10d172531e503ac64152b1c
+EBUILD PEAR-Config-2.0.0_pre20140323-r1.ebuild 921 BLAKE2B f34e1a351860a1965aff01998724d3cf42f07b3502eeebb84c689cf740d84c6a00d17015138d59abc8db57f18fff826d5a5eb65fd2b29fe698204415a0eef3ae SHA512 6154d657b0ff663c4b3f33f517bb26199491cf7380ea1ae0931892b3188de622b833d17c0422d58f496453b695f93e3374873784ec068959b3ecc8c0e4504a45
MISC metadata.xml 239 BLAKE2B 9b7c5dcb74289073481cf07031b7a92f32496cc1097becb074d74a8fbb8133de429ce1baf284e446e44132943c8b32e6b824570f15828588e42ea49ef5661f00 SHA512 2181b874bfe8cd31e7730d8207e26cfd2f272eaf2d1b57ae0faff126347a5298fa1c506d9107e1da9736c8a0ed9c8c339e4d9509a8726b79dbe86e073c12dee0
diff --git a/dev-php/PEAR-Config/PEAR-Config-1.10.12-r1.ebuild b/dev-php/PEAR-Config/PEAR-Config-1.10.12-r1.ebuild
deleted file mode 100644
index fc014c497089..000000000000
--- a/dev-php/PEAR-Config/PEAR-Config-1.10.12-r1.ebuild
+++ /dev/null
@@ -1,13 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit php-pear-r1
-
-DESCRIPTION="Provides multiple methods for configuration manipulation"
-LICENSE="PHP-2.02"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
-IUSE="xml"
-RDEPEND="xml? ( dev-php/PEAR-XML_Parser dev-php/PEAR-XML_Util )"
diff --git a/dev-php/PEAR-Config/PEAR-Config-2.0.0_pre20140323.ebuild b/dev-php/PEAR-Config/PEAR-Config-2.0.0_pre20140323-r1.ebuild
index 684a28704a96..fd949ea89cfc 100644
--- a/dev-php/PEAR-Config/PEAR-Config-2.0.0_pre20140323.ebuild
+++ b/dev-php/PEAR-Config/PEAR-Config-2.0.0_pre20140323-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -9,8 +9,9 @@ DESCRIPTION="Provides multiple methods for configuration manipulation"
LICENSE="PHP-2.02"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
-IUSE="xml"
+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 )
@@ -18,5 +19,11 @@ 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"
+}