summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-09-11 20:52:16 +0200
committerMichał Górny <mgorny@gentoo.org>2017-09-11 20:56:20 +0200
commit5895ca960bd5ede4022c1e3603c772bf8c93afb5 (patch)
treed5004d5d67c8efb7360449fbe4b40041a2c7c1d8
parentmedia-libs/silgraphite: Remove last-rited pkg (diff)
downloadgentoo-5895ca96.tar.gz
gentoo-5895ca96.tar.bz2
gentoo-5895ca96.zip
dev-php/PEAR-Translation2: Remove last-rited pkg
-rw-r--r--dev-php/PEAR-Translation2/Manifest1
-rw-r--r--dev-php/PEAR-Translation2/PEAR-Translation2-2.0.4-r1.ebuild29
-rw-r--r--dev-php/PEAR-Translation2/files/modern-php.patch328
-rw-r--r--dev-php/PEAR-Translation2/metadata.xml8
-rw-r--r--profiles/package.mask1
5 files changed, 0 insertions, 367 deletions
diff --git a/dev-php/PEAR-Translation2/Manifest b/dev-php/PEAR-Translation2/Manifest
deleted file mode 100644
index b2245057c103..000000000000
--- a/dev-php/PEAR-Translation2/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST Translation2-2.0.4.tgz 58272 SHA256 4cce7070e7ef556a8400745597dc8b5c8605848da42167b125ce8f559adddaf7 SHA512 f1c74f9409c15dbb5c955cc5f19b73cf11c424be28a5d6ef4066d8bf9176a26e63bc2e773712c1e1da636386778b467c965ce915f036ad5e91f3695062732f64 WHIRLPOOL 90509fc6efd44327a7bc357ba333f4f79475af8a3163e3136358e9e592bda0a2e04ce76fa7401b3ba3f144cb96dc3176233ea9698977a33a9bacfc2ed8a8afbc
diff --git a/dev-php/PEAR-Translation2/PEAR-Translation2-2.0.4-r1.ebuild b/dev-php/PEAR-Translation2/PEAR-Translation2-2.0.4-r1.ebuild
deleted file mode 100644
index e627b59f3ce0..000000000000
--- a/dev-php/PEAR-Translation2/PEAR-Translation2-2.0.4-r1.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-inherit php-pear-r2
-
-DESCRIPTION="Class for multilingual applications management"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
-IUSE="examples minimal xml"
-
-RDEPEND="dev-lang/php:*[nls]
- !minimal? ( dev-php/PEAR-Cache_Lite
- dev-php/PEAR-DB
- dev-php/PEAR-DB_DataObject
- dev-php/PEAR-MDB
- dev-php/PEAR-MDB2
- dev-php/PEAR-File_Gettext
- >=dev-php/PEAR-I18Nv2-0.9.1 )
- xml? ( >=dev-php/PEAR-XML_Serializer-0.13.0 )"
-PATCHES=( "${FILESDIR}/modern-php.patch" )
-src_install() {
- local DOCS=( docs/gettext_readme.txt )
- php-pear-r2_src_install
- use examples && dodoc -r docs/examples
- # Fix this for PHP5
- # dobin scripts/t2xmlchk.php
-}
diff --git a/dev-php/PEAR-Translation2/files/modern-php.patch b/dev-php/PEAR-Translation2/files/modern-php.patch
deleted file mode 100644
index c9b8ccaacf75..000000000000
--- a/dev-php/PEAR-Translation2/files/modern-php.patch
+++ /dev/null
@@ -1,328 +0,0 @@
-diff -uarN a/docs/examples/gettext_admin.php b/docs/examples/gettext_admin.php
---- a/docs/examples/gettext_admin.php 2010-12-05 17:56:30.000000000 -0500
-+++ b/docs/examples/gettext_admin.php 2017-08-04 09:22:31.277320045 -0400
-@@ -17,7 +17,7 @@
- $days = array();
- $months= array();
-
--$lc = &new I18Nv2_Locale;
-+$lc = new I18Nv2_Locale;
-
- foreach ($langs as $lang) {
- $lc->setLocale($lang);
-diff -uarN a/docs/examples/gettext_prepare.php b/docs/examples/gettext_prepare.php
---- a/docs/examples/gettext_prepare.php 2010-12-05 17:56:31.000000000 -0500
-+++ b/docs/examples/gettext_prepare.php 2017-08-04 09:22:31.278320085 -0400
-@@ -4,7 +4,7 @@
- require_once 'File/Gettext.php';
- require_once 'I18Nv2/Locale.php';
-
--$l = &new I18Nv2_Locale('en');
-+$l = new I18Nv2_Locale('en');
- $g = &File_Gettext::factory('MO');
-
- $g->meta = array('Content-Type' => 'text/plain; charset=iso-8859-1');
-diff -uarN a/scripts/t2xmlchk.php b/scripts/t2xmlchk.php
---- a/scripts/t2xmlchk.php 2010-12-05 17:56:31.000000000 -0500
-+++ b/scripts/t2xmlchk.php 2017-08-04 09:22:31.277320045 -0400
-@@ -39,7 +39,7 @@
- exit("\n");
- }
-
--$validator =& new XML_DTD_XmlValidator();
-+$validator =new XML_DTD_XmlValidator();
-
- $dtd_file = tempnam('/tmp', 't2');
- $fp = fopen($dtd_file, 'w');
-@@ -63,7 +63,7 @@
- 'string' => 'key',
- 'tr' => 'lang'
- );
--$unserializer = &new XML_Unserializer(array('keyAttribute' => $keyAttr));
-+$unserializer = new XML_Unserializer(array('keyAttribute' => $keyAttr));
- if (PEAR::isError($status = $unserializer->unserialize($xml_file, true))) {
- exit("FAILED : " . $status->getMessage() . "\n");
- } else {
-diff -uarN a/tests/admin_containers_tests.php b/tests/admin_containers_tests.php
---- a/tests/admin_containers_tests.php 2010-12-05 17:56:31.000000000 -0500
-+++ b/tests/admin_containers_tests.php 2017-08-04 09:22:31.272319845 -0400
-@@ -19,7 +19,7 @@
-
- if (!defined('TEST_RUNNING')) {
- define('TEST_RUNNING', true);
-- $test = &new AdminContainersTests();
-+ $test = new AdminContainersTests();
- $test->run(new HtmlReporter());
- }
- ?>
-\ No newline at end of file
-diff -uarN a/tests/admin_db_test.php b/tests/admin_db_test.php
---- a/tests/admin_db_test.php 2010-12-05 17:56:31.000000000 -0500
-+++ b/tests/admin_db_test.php 2017-08-04 09:22:31.274319925 -0400
-@@ -5,7 +5,7 @@
-
- if (!defined('TEST_RUNNING')) {
- define('TEST_RUNNING', true);
-- $test = &new TestOfAdminContainerDB();
-+ $test = new TestOfAdminContainerDB();
- $test->run(new HtmlReporter());
- }
- ?>
-\ No newline at end of file
-diff -uarN a/tests/admin_gettext_mo_test.php b/tests/admin_gettext_mo_test.php
---- a/tests/admin_gettext_mo_test.php 2010-12-05 17:56:31.000000000 -0500
-+++ b/tests/admin_gettext_mo_test.php 2017-08-04 09:22:31.274319925 -0400
-@@ -23,7 +23,7 @@
-
- if (!defined('TEST_RUNNING')) {
- define('TEST_RUNNING', true);
-- $test = &new TestOfAdminContainerGettextMO();
-+ $test = new TestOfAdminContainerGettextMO();
- $test->run(new HtmlReporter());
- }
- ?>
-\ No newline at end of file
-diff -uarN a/tests/admin_gettext_po_test.php b/tests/admin_gettext_po_test.php
---- a/tests/admin_gettext_po_test.php 2010-12-05 17:56:31.000000000 -0500
-+++ b/tests/admin_gettext_po_test.php 2017-08-04 09:22:31.273319885 -0400
-@@ -5,7 +5,7 @@
-
- if (!defined('TEST_RUNNING')) {
- define('TEST_RUNNING', true);
-- $test = &new TestOfAdminContainerGettextPO();
-+ $test = new TestOfAdminContainerGettextPO();
- $test->run(new HtmlReporter());
- }
- ?>
-\ No newline at end of file
-diff -uarN a/tests/admin_mdb2_test.php b/tests/admin_mdb2_test.php
---- a/tests/admin_mdb2_test.php 2010-12-05 17:56:31.000000000 -0500
-+++ b/tests/admin_mdb2_test.php 2017-08-04 09:22:31.274319925 -0400
-@@ -15,7 +15,7 @@
-
- if (!defined('TEST_RUNNING')) {
- define('TEST_RUNNING', true);
-- $test = &new TestOfAdminContainerMDB2();
-+ $test = new TestOfAdminContainerMDB2();
- $test->run(new HtmlReporter());
- }
- ?>
-\ No newline at end of file
-diff -uarN a/tests/admin_mdb_test.php b/tests/admin_mdb_test.php
---- a/tests/admin_mdb_test.php 2010-12-05 17:56:31.000000000 -0500
-+++ b/tests/admin_mdb_test.php 2017-08-04 09:22:31.273319885 -0400
-@@ -15,7 +15,7 @@
-
- if (!defined('TEST_RUNNING')) {
- define('TEST_RUNNING', true);
-- $test = &new TestOfAdminContainerMDB();
-+ $test = new TestOfAdminContainerMDB();
- $test->run(new HtmlReporter());
- }
- ?>
-\ No newline at end of file
-diff -uarN a/tests/all_tests.php b/tests/all_tests.php
---- a/tests/all_tests.php 2010-12-05 17:56:31.000000000 -0500
-+++ b/tests/all_tests.php 2017-08-04 09:22:31.275319965 -0400
-@@ -18,6 +18,6 @@
- }
- }
-
--$test = &new AllTests();
-+$test = new AllTests();
- $test->run(new HtmlReporter());
- ?>
-\ No newline at end of file
-diff -uarN a/tests/containers_tests.php b/tests/containers_tests.php
---- a/tests/containers_tests.php 2010-12-05 17:56:31.000000000 -0500
-+++ b/tests/containers_tests.php 2017-08-04 09:22:31.274319925 -0400
-@@ -18,7 +18,7 @@
-
- if (!defined('TEST_RUNNING')) {
- define('TEST_RUNNING', true);
-- $test = &new ContainersTests();
-+ $test = new ContainersTests();
- $test->run(new HtmlReporter());
- }
- ?>
-\ No newline at end of file
-diff -uarN a/tests/db_test.php b/tests/db_test.php
---- a/tests/db_test.php 2010-12-05 17:56:31.000000000 -0500
-+++ b/tests/db_test.php 2017-08-04 09:22:31.274319925 -0400
-@@ -5,7 +5,7 @@
-
- if (!defined('TEST_RUNNING')) {
- define('TEST_RUNNING', true);
-- $test = &new TestOfContainerDB();
-+ $test = new TestOfContainerDB();
- $test->run(new HtmlReporter());
- }
- ?>
-\ No newline at end of file
-diff -uarN a/tests/gettext_mo_test.php b/tests/gettext_mo_test.php
---- a/tests/gettext_mo_test.php 2010-12-05 17:56:31.000000000 -0500
-+++ b/tests/gettext_mo_test.php 2017-08-04 09:22:31.273319885 -0400
-@@ -82,7 +82,7 @@
-
- if (!defined('TEST_RUNNING')) {
- define('TEST_RUNNING', true);
-- $test = &new TestOfGettextMO();
-+ $test = new TestOfGettextMO();
- $test->run(new HtmlReporter());
- }
- ?>
-\ No newline at end of file
-diff -uarN a/tests/gettext_po_test.php b/tests/gettext_po_test.php
---- a/tests/gettext_po_test.php 2010-12-05 17:56:31.000000000 -0500
-+++ b/tests/gettext_po_test.php 2017-08-04 09:22:31.275319965 -0400
-@@ -80,7 +80,7 @@
-
- if (!defined('TEST_RUNNING')) {
- define('TEST_RUNNING', true);
-- $test = &new TestOfGettextPO();
-+ $test = new TestOfGettextPO();
- $test->run(new HtmlReporter());
- }
- ?>
-\ No newline at end of file
-diff -uarN a/tests/gettext_prepare.php b/tests/gettext_prepare.php
---- a/tests/gettext_prepare.php 2010-12-05 17:56:31.000000000 -0500
-+++ b/tests/gettext_prepare.php 2017-08-04 09:22:31.275319965 -0400
-@@ -4,7 +4,7 @@
- require_once 'File/Gettext.php';
- require_once 'I18Nv2/Locale.php';
-
--$l = &new I18Nv2_Locale('en');
-+$l = new I18Nv2_Locale('en');
-
- foreach (array('mo', 'po') as $fileType) {
-
-diff -uarN a/tests/mdb2_test.php b/tests/mdb2_test.php
---- a/tests/mdb2_test.php 2010-12-05 17:56:31.000000000 -0500
-+++ b/tests/mdb2_test.php 2017-08-04 09:22:31.273319885 -0400
-@@ -15,7 +15,7 @@
-
- if (!defined('TEST_RUNNING')) {
- define('TEST_RUNNING', true);
-- $test = &new TestOfContainerMDB2();
-+ $test = new TestOfContainerMDB2();
- $test->run(new HtmlReporter());
- }
- ?>
-\ No newline at end of file
-diff -uarN a/tests/mdb_test.php b/tests/mdb_test.php
---- a/tests/mdb_test.php 2010-12-05 17:56:31.000000000 -0500
-+++ b/tests/mdb_test.php 2017-08-04 09:22:31.273319885 -0400
-@@ -15,7 +15,7 @@
-
- if (!defined('TEST_RUNNING')) {
- define('TEST_RUNNING', true);
-- $test = &new TestOfContainerMDB();
-+ $test = new TestOfContainerMDB();
- $test->run(new HtmlReporter());
- }
- ?>
-\ No newline at end of file
-diff -uarN a/Translation2/Container/xml.php b/Translation2/Container/xml.php
---- a/Translation2/Container/xml.php 2010-12-05 17:56:31.000000000 -0500
-+++ b/Translation2/Container/xml.php 2017-08-04 09:22:31.277320045 -0400
-@@ -160,7 +160,7 @@
- return new PEAR_Error ("Can\'t read from the XML source: {$this->_filename}");
- }
- @flock($fp, LOCK_SH);
-- $unserializer = &new XML_Unserializer (array('keyAttribute' => $keyAttr));
-+ $unserializer = new XML_Unserializer (array('keyAttribute' => $keyAttr));
- if (PEAR::isError($status = $unserializer->unserialize($this->_filename, true))) {
- fclose($fp);
- return $status;
-diff -uarN a/Translation2/Container.php b/Translation2/Container.php
---- a/Translation2/Container.php 2010-12-05 17:56:31.000000000 -0500
-+++ b/Translation2/Container.php 2017-08-04 09:32:40.021575421 -0400
-@@ -80,6 +80,9 @@
- *
- * @access public
- */
-+ function __construct()
-+ {
-+ }
- function Translation2_Container()
- {
- }
-@@ -357,4 +360,4 @@
-
- // }}}
- }
--?>
-\ No newline at end of file
-+?>
-diff -uarN a/Translation2/Decorator.php b/Translation2/Decorator.php
---- a/Translation2/Decorator.php 2010-12-05 17:56:31.000000000 -0500
-+++ b/Translation2/Decorator.php 2017-08-04 09:33:23.341206788 -0400
-@@ -35,7 +35,7 @@
- * @version CVS: $Id: Decorator.php 305985 2010-12-05 22:55:33Z clockwerx $
- * @link http://pear.php.net/package/Translation2
- */
--
-+require_once 'Translation2.php';
- /**
- * Translation2_Decorator. Base Decorator class for Translation2
- *
-@@ -88,7 +88,7 @@
- *
- * @param object &$translation2 Translation2 object to decorate
- */
-- function Translation2_Decorator(& $translation2)
-+ function __construct(& $translation2)
- {
- $this->translation2 = & $translation2;
- //used for debug only
-@@ -96,7 +96,10 @@
- $this->currentPageID = & $translation2->currentPageID;
- $this->lang = & $translation2->lang;
- }
--
-+ function Translation2_Decorator(& $translation2)
-+ {
-+ self::__construct($translation2);
-+ }
- // }}}
- // {{{ setOptions()
-
-@@ -413,4 +416,4 @@
-
- // }}}
- }
--?>
-\ No newline at end of file
-+?>
-diff -uarN a/Translation2.php b/Translation2.php
---- a/Translation2.php 2010-12-05 17:56:31.000000000 -0500
-+++ b/Translation2.php 2017-08-04 09:31:14.843367708 -0400
-@@ -122,7 +122,7 @@
- /**
- * Constructor
- */
-- function Translation2()
-+ function __construct()
- {
- if (func_num_args()) {
- $msg = '<b>Translation2 error:</b>'
-@@ -130,7 +130,10 @@
- trigger_error($msg, E_USER_ERROR);
- }
- }
--
-+ function Translation2()
-+ {
-+ self::__construct();
-+ }
- // }}}
- // {{{ factory()
-
-@@ -595,4 +598,4 @@
-
- // }}}
- }
--?>
-\ No newline at end of file
-+?>
diff --git a/dev-php/PEAR-Translation2/metadata.xml b/dev-php/PEAR-Translation2/metadata.xml
deleted file mode 100644
index b86acf66c756..000000000000
--- a/dev-php/PEAR-Translation2/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>php-bugs@gentoo.org</email>
- <name>PHP</name>
- </maintainer>
-</pkgmetadata>
diff --git a/profiles/package.mask b/profiles/package.mask
index 679da79c0266..24b676e53ec6 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -365,7 +365,6 @@ dev-php/PEAR-SOAP
dev-php/PEAR-Services_Amazon
dev-php/PEAR-Services_Weather
dev-php/PEAR-Testing_Selenium
-dev-php/PEAR-Translation2
# Lars Wendler <polynomial-c@gentoo.org> (06 Aug 2017)
# Masked for security reasons: