Permalink
Browse files

Updated package layout

git-svn-id: http://svn.php.net/repository/pear/packages/XML_Tree/trunk@288859 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent 8c41753 commit d8d8f4b3d6f6c757eb6b93bba70eb23f53fdb2d8 @CloCkWeRX CloCkWeRX committed Sep 27, 2009
Showing with 0 additions and 54 deletions.
  1. 0 { → XML}/Tree.php
  2. 0 { → XML}/Tree/Node.php
  3. +0 −54 package.php
View
0 Tree.php → XML/Tree.php
File renamed without changes.
View
0 Tree/Node.php → XML/Tree/Node.php
File renamed without changes.
View
54 package.php
@@ -1,54 +0,0 @@
-<?php
-require_once 'PEAR/PackageFileManager.php';
-
-$version = '2.0.0RC2';
-$notes = <<<EOT
-Fixed XML_Tree::isValidName() when adding a CDATA childNode.
-Dependencies like XML_DTD should now work again.
-EOT;
-
-$description =<<<EOT
-Allows for the building of XML data structures using a tree
-representation, without the need for an extension like DOMXML.
-EOT;
-
-$package = new PEAR_PackageFileManager();
-
-$result = $package->setOptions(array(
- 'package' => 'XML_Tree',
- 'summary' => 'Represent XML data in a tree structure',
- 'description' => $description,
- 'version' => $version,
- 'state' => 'beta',
- 'license' => 'PHP License',
- 'ignore' => array('package.php', 'package.xml', '*.bak', '*src*', '*.tgz', '*pear_media*', '*tests*'),
- 'filelistgenerator' => 'cvs', // other option is 'file'
- 'notes' => $notes,
- 'changelogoldtonew' => false,
- 'baseinstalldir' => 'XML',
- 'packagedirectory' => '',
- 'simpleoutput' => true
- ));
-
-if (PEAR::isError($result)) {
- echo $result->getMessage();
- die();
-}
-
-$package->addMaintainer('davey','lead','Davey Shafik','davey@php.net');
-
-$package->addDependency('auto');
-$package->addDependency('XML_Parser', '1.1.0', 'ge', 'pkg', false);
-
-
-if (isset($_SERVER['argv'][1]) && $_SERVER['argv'][1] == 'commit') {
- $result = $package->writePackageFile();
-} else {
- $result = $package->debugPackageFile();
-}
-
-if (PEAR::isError($result)) {
- echo $result->getMessage();
- die();
-}
-?>

0 comments on commit d8d8f4b

Please sign in to comment.