summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-09-11 20:54:54 +0200
committerMichał Górny <mgorny@gentoo.org>2017-09-11 20:56:31 +0200
commit8544036496c44901cc6d67c2b3f177e78d4c5378 (patch)
tree40bd498e9630077d85863d9e45228d42179239c4 /dev-php
parentdev-php/PEAR-HTML_TreeMenu: Remove last-rited pkg (diff)
downloadgentoo-8544036496c44901cc6d67c2b3f177e78d4c5378.tar.gz
gentoo-8544036496c44901cc6d67c2b3f177e78d4c5378.tar.bz2
gentoo-8544036496c44901cc6d67c2b3f177e78d4c5378.zip
dev-php/PEAR-HTML_Template_IT: Remove last-rited pkg
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/PEAR-HTML_Template_IT/Manifest1
-rw-r--r--dev-php/PEAR-HTML_Template_IT/PEAR-HTML_Template_IT-1.3.0-r1.ebuild32
-rw-r--r--dev-php/PEAR-HTML_Template_IT/PEAR-HTML_Template_IT-1.3.0.ebuild12
-rw-r--r--dev-php/PEAR-HTML_Template_IT/files/constructor.patch62
-rw-r--r--dev-php/PEAR-HTML_Template_IT/files/preg-callback.patch17
-rw-r--r--dev-php/PEAR-HTML_Template_IT/metadata.xml8
6 files changed, 0 insertions, 132 deletions
diff --git a/dev-php/PEAR-HTML_Template_IT/Manifest b/dev-php/PEAR-HTML_Template_IT/Manifest
deleted file mode 100644
index ff46c074bfc4..000000000000
--- a/dev-php/PEAR-HTML_Template_IT/Manifest
+++ /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
index c60b49c2ffd5..000000000000
--- a/dev-php/PEAR-HTML_Template_IT/PEAR-HTML_Template_IT-1.3.0-r1.ebuild
+++ /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
index 6afed25538fc..000000000000
--- a/dev-php/PEAR-HTML_Template_IT/PEAR-HTML_Template_IT-1.3.0.ebuild
+++ /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
index 61d54eab4e2f..000000000000
--- a/dev-php/PEAR-HTML_Template_IT/files/constructor.patch
+++ /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 @@
- */
- function IT_Error($msg, $file = __FILE__, $line = __LINE__)
- {
-+ $this->__construct($msg, $file, $line);
-+ }
-+ function __construct($msg, $file = __FILE__, $line = __LINE__)
-+ {
- $this->PEAR_Error(sprintf("%s [%s on line %d].", $msg, $file, $line));
- } // end func IT_Error
-
- } // end class IT_Error
--?>
-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 @@
- */
- function HTML_Template_IT($root = '', $options = null)
- {
-+ $this->__construct($root, $options);
-+ }
-+ function __construct($root = '', $options = null)
-+ {
- if (!is_null($options)) {
- $this->setOptions($options);
- }
-@@ -1184,4 +1188,3 @@
- $errorMessages[$value] : $errorMessages[IT_ERROR];
- }
- } // end class IntegratedTemplate
--?>
-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 @@
- */
- function HTML_Template_ITX($root = '')
- {
-+ $this->__construct($root);
-+ }
-+ function __construct($root = '')
-+ {
-
- $this->checkblocknameRegExp = '@' . $this->blocknameRegExp . '@';
-
- $this->functionRegExp = '@' . $this->functionPrefix . '(' .
- $this->functionnameRegExp . ')\s*\(@sm';
-
-- $this->HTML_Template_IT($root);
-+ parent::__construct($root);
- } // end func constructor
-
- /**
-@@ -886,4 +890,3 @@
- } // end func warning
-
- } // end class HTML_Template_ITX
--?>
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
index 60ae20af1890..000000000000
--- a/dev-php/PEAR-HTML_Template_IT/files/preg-callback.patch
+++ /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);
- fclose($fh);
-
-- return preg_replace(
-- "#<!-- INCLUDE (.*) -->#ime",
-- "\$this->getFile('\\1')",
-+ return preg_replace_callback(
-+ "#<!-- INCLUDE (.*) -->#im",
-+ function($matches) {
-+ return $this->getFile($matches[1]); },
- $content
- );
- } // end func getFile
diff --git a/dev-php/PEAR-HTML_Template_IT/metadata.xml b/dev-php/PEAR-HTML_Template_IT/metadata.xml
deleted file mode 100644
index aca42932b833..000000000000
--- a/dev-php/PEAR-HTML_Template_IT/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>