Permalink
Please sign in to comment.
Browse files
Prepare the separation of PEAR_Exception into its own package. Unfort…
…unately we have to define a PHP 4 dependency to match PEAR to keep BC (e.g. so PEAR can put a required dependency so people will still get the Exception class automagically with PEAR installations.) git-svn-id: http://svn.php.net/repository/pear/pear-core/pear/pear-core/trunk@309057 c90b9560-bf6c-de11-be94-00142212c4b1
- Loading branch information...
Showing
with
99 additions
and 24 deletions.
- +3 −3 PEAR/Exception.php
- +70 −0 package-Exception.xml
- +24 −19 package-PEAR.xml
- +2 −2 package2.xml
@@ -0,0 +1,70 @@ | ||
+<?xml version="1.0" encoding="UTF-8"?> | ||
+<package version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 | ||
+http://pear.php.net/dtd/tasks-1.0.xsd | ||
+http://pear.php.net/dtd/package-2.0 | ||
+http://pear.php.net/dtd/package-2.0.xsd"> | ||
+ <name>PEAR_Exception</name> | ||
+ <channel>pear.php.net</channel> | ||
+ <summary>The PEAR Exception base class</summary> | ||
+ <description> | ||
+ PEAR_Exception PHP5 error handling mechanism | ||
+ | ||
+ Use PEAR2_Exception from http://pear2.php.net if you are on PHP 5.3+ | ||
+ </description> | ||
+ <lead> | ||
+ <name>Helgi Thormar</name> | ||
+ <user>dufuz</user> | ||
+ <email>dufuz@php.net</email> | ||
+ <active>yes</active> | ||
+ </lead> | ||
+ <developer> | ||
+ <name>Greg Beaver</name> | ||
+ <user>cellog</user> | ||
+ <email>cellog@php.net</email> | ||
+ <active>no</active> | ||
+ </developer> | ||
+ <date>2010-07-24</date> | ||
+ <version> | ||
+ <release>1.0.0</release> | ||
+ <api>1.0.0</api> | ||
+ </version> | ||
+ <stability> | ||
+ <release>stable</release> | ||
+ <api>stable</api> | ||
+ </stability> | ||
+ <license uri="http://opensource.org/licenses/bsd-license.php">New BSD License</license> | ||
+ <notes> | ||
+ This packge was split out from the PEAR package. If you use PEAR_Exception in your package | ||
+ and use nothing from the PEAR package then it's better to depend on just PEAR_Exception. | ||
+ </notes> | ||
+ <contents> | ||
+ <dir name="/"> | ||
+ <dir name="PEAR"> | ||
+ <file name="Exception.php" role="php"> | ||
+ <tasks:replace from="@package_version@" to="version" type="package-info" /> | ||
+ </file> | ||
+ </dir> | ||
+ <file name="LICENSE" role="doc" /> | ||
+ </dir> <!-- / --> | ||
+ </contents> | ||
+ <dependencies> | ||
+ <required> | ||
+ <php> | ||
+ <min>4.4.0</min> | ||
+ <exclude>5.0</exclude> | ||
+ <exclude>5.1.0</exclude> | ||
+ <exclude>5.1.1</exclude> | ||
+ <exclude>5.1.2</exclude> | ||
+ <exclude>5.1.3</exclude> | ||
+ <exclude>5.1.4</exclude> | ||
+ <exclude>5.1.5</exclude> | ||
+ </php> | ||
+ <pearinstaller> | ||
+ <min>1.9.1</min> | ||
+ <exclude>1.9.1</exclude> | ||
+ <conflicts/> | ||
+ </pearinstaller> | ||
+ </required> | ||
+ </dependencies> | ||
+ <phprelease/> | ||
+</package> |
0 comments on commit
b73ac94