dev-php/PEAR-HTML_Template_IT: Remove last-rited pkg
authorMichał Górny <mgorny@gentoo.org>
Mon, 11 Sep 2017 18:54:54 +0000 (20:54 +0200)
committerMichał Górny <mgorny@gentoo.org>
Mon, 11 Sep 2017 18:56:31 +0000 (20:56 +0200)
dev-php/PEAR-HTML_Template_IT/Manifest [deleted file]
dev-php/PEAR-HTML_Template_IT/PEAR-HTML_Template_IT-1.3.0-r1.ebuild [deleted file]
dev-php/PEAR-HTML_Template_IT/PEAR-HTML_Template_IT-1.3.0.ebuild [deleted file]
dev-php/PEAR-HTML_Template_IT/files/constructor.patch [deleted file]
dev-php/PEAR-HTML_Template_IT/files/preg-callback.patch [deleted file]
dev-php/PEAR-HTML_Template_IT/metadata.xml [deleted file]
profiles/package.mask

diff --git a/dev-php/PEAR-HTML_Template_IT/Manifest b/dev-php/PEAR-HTML_Template_IT/Manifest
deleted file mode 100644 (file)
index ff46c07..0000000
+++ /dev/null
@@ -1 +0,0 @@
-DIST HTML_Template_IT-1.3.0.tgz 23309 SHA256 fe042e9fcc34b77cb6c008090257a25c39e3c1f5e3b0cac99e4eef142954fe70 SHA512 3174db25b09de3dd11e572c6f85b40ba8d6dd213175bcf9b308a52a6b3756ffa7870cfca5766f5692282b5788d6ae586003259e518f26fc263b25da12f99e168 WHIRLPOOL 6591343353dcd5ce09161d0afed1ebedaf6d92592ef467f11bb1126c733059a41d043675d8ed966d0cd949cfc22897cc659c5c229d85bd421221a11f6fb4cff4
diff --git a/dev-php/PEAR-HTML_Template_IT/PEAR-HTML_Template_IT-1.3.0-r1.ebuild b/dev-php/PEAR-HTML_Template_IT/PEAR-HTML_Template_IT-1.3.0-r1.ebuild
deleted file mode 100644 (file)
index c60b49c..0000000
+++ /dev/null
@@ -1,32 +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="Integrated Templates"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
-IUSE="examples test"
-DEPEND="test? ( dev-php/phpunit ${RDEPEND} )"
-
-src_prepare() {
-       eapply "${FILESDIR}/preg-callback.patch" \
-               "${FILESDIR}/constructor.patch"
-       eapply_user
-}
-
-src_install() {
-       use examples && HTML_DOCS=(
-               examples/sample_it.php
-               examples/sample_itx_addblockfile.php
-               examples/templates/
-       )
-       php-pear-r2_src_install
-}
-
-src_test() {
-       phpunit tests/AllTests.php || die
-}
diff --git a/dev-php/PEAR-HTML_Template_IT/PEAR-HTML_Template_IT-1.3.0.ebuild b/dev-php/PEAR-HTML_Template_IT/PEAR-HTML_Template_IT-1.3.0.ebuild
deleted file mode 100644 (file)
index 6afed25..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit php-pear-r1
-
-DESCRIPTION="Integrated Templates"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
-IUSE=""
diff --git a/dev-php/PEAR-HTML_Template_IT/files/constructor.patch b/dev-php/PEAR-HTML_Template_IT/files/constructor.patch
deleted file mode 100644 (file)
index 61d54ea..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-diff -aurN a/HTML/Template/IT_Error.php b/HTML/Template/IT_Error.php
---- a/HTML/Template/IT_Error.php       2010-03-10 03:08:10.000000000 -0500
-+++ b/HTML/Template/IT_Error.php       2017-08-01 16:44:31.257269180 -0400
-@@ -58,8 +58,11 @@
-      */\r
-     function IT_Error($msg, $file = __FILE__, $line = __LINE__)\r
-     {\r
-+        $this->__construct($msg, $file, $line);\r
-+    }\r
-+    function __construct($msg, $file = __FILE__, $line = __LINE__)\r
-+    {\r
-         $this->PEAR_Error(sprintf("%s [%s on line %d].", $msg, $file, $line)); \r
-     } // end func IT_Error\r
-   \r
- } // end class IT_Error\r
--?>\r
-diff -aurN a/HTML/Template/IT.php b/HTML/Template/IT.php
---- a/HTML/Template/IT.php     2017-08-01 16:40:29.822907534 -0400
-+++ b/HTML/Template/IT.php     2017-08-01 16:44:46.515860952 -0400
-@@ -409,6 +409,10 @@
-      */\r
-     function HTML_Template_IT($root = '', $options = null)\r
-     {\r
-+        $this->__construct($root, $options);\r
-+    }\r
-+    function __construct($root = '', $options = null)\r
-+    {\r
-         if (!is_null($options)) {\r
-             $this->setOptions($options);\r
-         }\r
-@@ -1184,4 +1188,3 @@
-                 $errorMessages[$value] : $errorMessages[IT_ERROR];\r
-     }\r
- } // end class IntegratedTemplate\r
--?>\r
-diff -aurN a/HTML/Template/ITX.php b/HTML/Template/ITX.php
---- a/HTML/Template/ITX.php    2010-03-10 03:08:10.000000000 -0500
-+++ b/HTML/Template/ITX.php    2017-08-01 16:44:41.185654236 -0400
-@@ -138,13 +138,17 @@
-      */\r
-     function HTML_Template_ITX($root = '')\r
-     {\r
-+        $this->__construct($root);\r
-+    }\r
-+    function __construct($root = '')\r
-+    {\r
- \r
-         $this->checkblocknameRegExp = '@' . $this->blocknameRegExp . '@';\r
- \r
-         $this->functionRegExp = '@' . $this->functionPrefix . '(' .\r
-                                 $this->functionnameRegExp . ')\s*\(@sm';\r
- \r
--        $this->HTML_Template_IT($root);\r
-+        parent::__construct($root);\r
-     } // end func constructor\r
- \r
-     /**\r
-@@ -886,4 +890,3 @@
-     } // end func warning\r
- \r
- } // end class HTML_Template_ITX\r
--?>\r
diff --git a/dev-php/PEAR-HTML_Template_IT/files/preg-callback.patch b/dev-php/PEAR-HTML_Template_IT/files/preg-callback.patch
deleted file mode 100644 (file)
index 60ae20a..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -aurN a/HTML/Template/IT.php b/HTML/Template/IT.php
---- a/HTML/Template/IT.php     2010-03-10 03:08:10.000000000 -0500
-+++ b/HTML/Template/IT.php     2017-08-01 15:12:31.161235223 -0400
-@@ -1088,9 +1088,10 @@
-         $content = fread($fh, $fsize);\r
-         fclose($fh);\r
- \r
--        return preg_replace(\r
--            "#<!-- INCLUDE (.*) -->#ime",\r
--            "\$this->getFile('\\1')",\r
-+        return preg_replace_callback(\r
-+            "#<!-- INCLUDE (.*) -->#im",\r
-+            function($matches) {\r
-+              return $this->getFile($matches[1]); },\r
-             $content\r
-         );\r
-     } // end func getFile\r
diff --git a/dev-php/PEAR-HTML_Template_IT/metadata.xml b/dev-php/PEAR-HTML_Template_IT/metadata.xml
deleted file mode 100644 (file)
index aca4293..0000000
+++ /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>
index f04ae2a48efdebd240784f863594dede74278bf2..e2b60c7767a9240f2a05bca4712f8bcc5af2374c 100644 (file)
@@ -355,7 +355,6 @@ kde-apps/kommander
 # Masked for removal in 30 days
 dev-php/PEAR-Auth
 dev-php/PEAR-Auth_HTTP
-dev-php/PEAR-HTML_Template_IT
 
 # Lars Wendler <polynomial-c@gentoo.org> (06 Aug 2017)
 # Masked for security reasons: