debian/0000755000000000000000000000000012110222426007156 5ustar debian/preinst0000644000000000000000000000022412110222426010563 0ustar #!/bin/sh set -e if [ -L /usr/share/php/tests/XML_Serializer/tests ] ; then rm /usr/share/php/tests/XML_Serializer/tests fi #DEBHELPER# exit 0 debian/patches/0000755000000000000000000000000012110222426010605 5ustar debian/patches/series0000644000000000000000000000004612110222426012022 0ustar Fixes-XML_Serializer-unit-tests.patch debian/patches/Fixes-XML_Serializer-unit-tests.patch0000644000000000000000000000104312110222426017646 0ustar Description: Fixes unit tests Author: Thomas Goirand Forwarded: https://pear.php.net/bugs/bug.php?id=19431 --- php-xml-serializer-0.20.2.orig/XML_Serializer-0.20.2/tests/AllTests.php +++ php-xml-serializer-0.20.2/XML_Serializer-0.20.2/tests/AllTests.php @@ -45,7 +45,7 @@ if (!defined('PHPUnit_MAIN_METHOD')) { /* * Files needed by PhpUnit */ -require_once 'PHPUnit/Framework.php'; +require_once 'PHPUnit/Autoload.php'; require_once 'PHPUnit/TextUI/TestRunner.php'; require_once 'PHPUnit/Extensions/PhptTestSuite.php'; debian/control0000644000000000000000000000244012110222426010561 0ustar Source: php-xml-serializer Section: php Priority: optional Maintainer: PKG-PHP-PEAR team Uploaders: Federico Gimenez Nieto , Thomas Goirand Build-Depends: debhelper (>= 8), pkg-php-tools, phpunit (>= 3.6), php-xml-parser Standards-Version: 3.9.3 Vcs-Browser: http://git.debian.org/?p=pkg-php/php-xml-serializer.git Vcs-Git: http://git.debian.org/git/pkg-php/php-xml-serializer.git Homepage: http://pear.php.net/package/XML_Serializer Package: php-xml-serializer Architecture: all Depends: php-pear, php-xml-parser (>= 1.2.6), ${misc:Depends} Suggests: php5-cli Description: swiss-army knife for reading and writing XML files XML_Serializer creates XML files from data structures and vice versa. It serializes complex data structures like arrays or objects as XML documents. You can create any XML document without the need for DOM access. This package includes an unserializer facility that creates PHP data structures (like arrays and objects) from XML documents, if type hints are available. If not, it will try to guess how it has to be unserialized, doing exactly what you expect it to do in most cases. . Since version 0.8.0 the package is able to treat XML documents similar to the simplexml extension of PHP 5. debian/tests_run0000755000000000000000000000024412110222426011132 0ustar #!/bin/sh set -e pear_pkg=`ls | grep XML_Serializer` cd ${pear_pkg} PKG_ROOT=`pwd` cd tests phpunit -d include_path=".:/usr/share/php:${PKG_ROOT}" AllTests.php debian/rules0000755000000000000000000000034212110222426010235 0ustar #!/usr/bin/make -f %: dh $@ --buildsystem=phppear --with phppear override_dh_link: dh_link -O--buildsystem=phppear ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) chmod +x ./debian/tests_run ./debian/tests_run endif debian/watch0000644000000000000000000000020112110222426010200 0ustar version=3 http://pear.php.net/package/XML_Serializer/download/ http://download.pear.php.net/package/XML_Serializer-([\d.]+)\.tgz debian/compat0000644000000000000000000000000212110222426010354 0ustar 8 debian/copyright0000644000000000000000000000356112110222426011116 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: XML_Serializer Upstream-Contact: Stephan Schmidt Source: http://pear.php.net/package/XML_Serializer/download Files: debian/* Copyright: (c) 2006, Jose Carlos Medeiros (c) 2009, Federico Gimenez Nieto (c) 2010-2012, Thomas Goirand License: BSD Files: * Copyright: (c) 2003-2010, Stephan Schmidt License: BSD License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/changelog0000644000000000000000000000663512110222426011042 0ustar php-xml-serializer (0.20.2-3) unstable; urgency=low * Fixes unhandled symlink to directory conversion (Closes: #700791), thanks to Andreas Beckmann for reporting it. -- Thomas Goirand Sun, 17 Feb 2013 18:38:50 +0000 php-xml-serializer (0.20.2-2) unstable; urgency=low * Added missing Build-Depends: php-xml-parser needed during the unit tests. This fixes the FTBFS (Closes: 674364). -- Thomas Goirand Thu, 24 May 2012 14:52:03 +0000 php-xml-serializer (0.20.2-1) unstable; urgency=low * New upstream release. * Got rid of debian/patches, because upstream included my patches. * Switching to pkg-php-tools and dh 8 sequencer. * Using now the PKG-PHP-PEAR team maintenance. * Added Git Vcs fields. * Switching to source format 3.0 (quilt) * Switching to machine readable debian/copyright. * Added a debian/gbp.conf. * Removed php-xml-utils dependency, now provided by php-pear. * Now running unit tests at build time (and Depends: phpunit >= 3.6), added a new patch for fixing it. -- Thomas Goirand Tue, 22 May 2012 15:35:33 +0000 php-xml-serializer (0.20.0-2.1) unstable; urgency=low * Non-maintainer upload. * Fixed some "return as new is deprecated" warnings (Closes: #595344). * Now depends on dpatch as I'm adding a dpatch patch. * Added a debian/source/format. * Added a new debian/README.source * Bumped Standard-Version. -- Thomas Goirand Mon, 06 Sep 2010 22:45:54 +0800 php-xml-serializer (0.20.0-2) unstable; urgency=low * debian/watch: fixed download path * debian/control: updated Standards-Version: 3.8.3 (no changes needed) * debian/rules: added code to remove empty directories -- Federico Gimenez Nieto Thu, 22 Oct 2009 18:21:31 -0200 php-xml-serializer (0.20.0-1) unstable; urgency=low * New maintainer (Closes: #529681, #537242) * New upstream release * debian/control: - Removed Uploader at his request - Added ${misc:Depends} to prevent lintian warning - Changed Section to php to fix the override disparities - Updated Standards-Version: 3.8.2 - Removed dependency with php-xml-util (now included in php-pear) - Modified description, trying to make it more readable * debian/copyright: fixed download location -- Federico Gimenez Nieto Fri, 7 Aug 2009 18:50:31 -0200 php-xml-serializer (0.18.0-4) unstable; urgency=low * debian/docs removed. * debian/examples removed. * debian/control: - Bump Standards-Version: 3.7.3. - Added Homepage header. - Added dh-make-php (>= 0.2.3), cdbs Build-Depends. - Removed php-pear Build-Depends. * debian/rules reorganized to use cdbs. -- Jose Carlos Medeiros Thu, 27 Mar 2008 00:05:46 -0300 php-xml-serializer (0.18.0-3) unstable; urgency=low * Updated debian/watch file. * Bump Standards-Version: 3.7.2. * Change suggests from php-cli to php5-cli. * Removed automatically debian/package/tmp directory. -- Jose Carlos Medeiros Thu, 17 May 2007 23:01:37 -0300 php-xml-serializer (0.18.0-2) unstable; urgency=low * Solved typo, knive to knife. (closes: 364414) -- Jose Carlos Medeiros Fri, 28 Apr 2006 19:29:38 -0300 php-xml-serializer (0.18.0-1) unstable; urgency=low * Initial Release. (closes: #318933) -- Jose Carlos Medeiros Mon, 20 Mar 2006 12:21:08 -0300 debian/source/0000755000000000000000000000000012110222426010456 5ustar debian/source/format0000644000000000000000000000001412110222426011664 0ustar 3.0 (quilt) debian/README.source0000644000000000000000000000030212110222426011330 0ustar This package now uses dpatch, so as a consequence, normal dpatch usage apply: dpatch apply-all will patch the upstream sources, and dpatch deapply-all will go back to the upstream version. debian/gbp.conf0000644000000000000000000000016412110222426010576 0ustar [DEFAULT] upstream-branch = upstream-sid debian-branch = debian-sid [git-buildpackage] export-dir = ../build-area/