Overview

Request 1749 (accepted)

initial debian package

old: Kolab:Winterfell/php-sabre-vobject
new: home:hede:branches:Kolab:Winterfell/php-sabre-vobject rev None
Index: 0001-Use-ClassLoader-from-Symfony-instead-of-autoload.patch
===================================================================
--- 0001-Use-ClassLoader-from-Symfony-instead-of-autoload.patch (added)
+++ 0001-Use-ClassLoader-from-Symfony-instead-of-autoload.patch (revision 3)
@@ -0,0 +1,32 @@
+diff -rupN a/tests/bootstrap.php b/tests/bootstrap.php
+--- a/tests/bootstrap.php 2015-06-02 17:44:08.000000000 +0200
++++ b/tests/bootstrap.php 2016-06-25 11:01:21.283744068 +0200
+@@ -2,19 +2,16 @@
+
+ date_default_timezone_set('UTC');
+
+-$try = array(
+- __DIR__ . '/../vendor/autoload.php',
+- __DIR__ . '/../../../autoload.php',
+-);
++require_once 'Symfony/Component/ClassLoader/ClassLoader.php';
++use Symfony\Component\ClassLoader\ClassLoader;
++$loader = new ClassLoader();
++$loader->setUseIncludePath(true);
++$loader->register();
++$loader->addPrefixes(array(
++ 'Sabre' => __DIR__.'/../lib',
++ 'SabreTest' => __DIR__,
++));
+
+-foreach($try as $path) {
+- if (file_exists($path)) {
+- $autoLoader = include $path;
+- break;
+- }
+-}
+-
+-$autoLoader->addPsr4('Sabre\\VObject\\',__DIR__ . '/VObject');
+
+ if (!defined('SABRE_TEMPDIR')) {
+ define('SABRE_TEMPDIR', __DIR__ . '/temp/');
Index: debian.changelog
===================================================================
--- debian.changelog (added)
+++ debian.changelog (revision 3)
@@ -0,0 +1,76 @@
+php-sabre-vobject (3.4.5-1) unstable; urgency=low
+
+ * Upstream Version Bump
+ * Initlal Release for Kolab Winterfell
+
+ -- hede Sat, 25 Jun 2013 12:00:00 +0200
+
+php-sabre-vobject (2.1.5-3) unstable; urgency=medium
+
+ * Fix testsuite for php >= 5.6.1
+ * Document current Git branch
+
+ -- David Prévot Sun, 26 Oct 2014 15:42:24 -0400
+
+php-sabre-vobject (2.1.5-2) unstable; urgency=medium
+
+ * No tests if DEB_BUILD_OPTIONS contains nocheck
+ * Add hint about security maintenance in Jessie
+ * Drop now useless XS-Testsuite
+ * Bump standards version to 3.9.6
+ * Drop reference to long gone php-sabredav
+
+ -- David Prévot Mon, 29 Sep 2014 15:53:28 -0400
+
+php-sabre-vobject (2.1.5-1) unstable; urgency=medium
+
+ [ Evert Pot ]
+ * Updated copyright years.
+ * Bumped version
+
+ [ David Prévot ]
+ * Update upstream URL
+
+ -- David Prévot Tue, 10 Jun 2014 11:38:04 -0400
+
+php-sabre-vobject (2.1.4-1) unstable; urgency=medium
+
+ [ Evert Pot ]
+ * Fix for #87 (Several compatibility fixes related to timezone handling
+ changes in PHP 5.5.10)
+
+ -- David Prévot Sun, 30 Mar 2014 20:13:10 -0400
+
+php-sabre-vobject (2.1.3-2) unstable; urgency=medium
+
+ * Track 2.1 releases for unstable
+ * Bump standards version to 3.9.5
+ * Run the test suite on packaging
+ * Add DEP-8 compliant tests
+ * Upload 2.1 to unstable, as a dependency of recent php-sabre-dav 1.7
+
+ -- David Prévot Wed, 19 Mar 2014 11:41:23 -0400
+
+php-sabre-vobject (2.1.3-1) experimental; urgency=low
+
+ * Imported Upstream version 2.1.3
+ * Drop php5-json build-dependency
+ * Do not claim copyright on trivial packaging
+
+ -- David Prévot Sat, 12 Oct 2013 18:13:58 -0400
+
+php-sabre-vobject (2.1.0-1) experimental; urgency=low
+
+ * New upstream release
+ * Adapt to upstream repository move and versions
+ * Update copyright
+ * Use phpcomposer build helper
+ * Use canonical Vcs- fields
+
+ -- David Prévot Thu, 20 Jun 2013 17:17:18 -0400
+
+php-sabre-vobject (2.0.7-1) unstable; urgency=low
+
+ * Initial release. (Closes: #704008)
+
+ -- David Prévot Thu, 28 Mar 2013 14:42:14 -0400
Index: debian.control
===================================================================
--- debian.control (added)
+++ debian.control (revision 3)
@@ -0,0 +1,26 @@
+Source: php-sabre-vobject
+Section: php
+Priority: optional
+Maintainer: ownCloud for Debian maintainers
+Uploaders: David Prévot
+Build-Depends: debhelper (>= 9),
+ php-symfony-classloader,
+ phpunit,
+ pkg-php-tools (>= 1.7~)
+Standards-Version: 3.9.6
+Homepage: http://sabre.io/vobject/
+Vcs-Git: git://anonscm.debian.org/pkg-owncloud/php-sabre-vobject.git -b 2.1
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-owncloud/php-sabre-vobject.git
+
+Package: php-sabre-vobject
+Architecture: all
+Depends: ${misc:Depends}, ${phpcomposer:Debian-require}
+Suggests: ${phpcomposer:Debian-suggest}
+Description: library to parse and manipulate iCalendar and vCard objects
+ The SabreTooth VObject library allows one to easily parse and
+ manipulate iCalendar and vCard objects using PHP. The goal of the
+ VObject library is to create a very complete library, with an easy to
+ use API.
+ .
+ This project is a spin-off from SabreDAV, where it has been used for
+ several years.
Index: debian.rules
===================================================================
--- debian.rules (added)
+++ debian.rules (revision 3)
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+%:
+ dh $@ --with phpcomposer
+
+override_dh_auto_build:
+ # resort folder structure
+ mv lib VObject
+ mkdir -p lib/Sabre
+ mv VObject lib/Sabre/
+ mkdir -p tests/Sabre
+ mv tests/VObject tests/Sabre/
+ #forward to original dh_auto_build
+ dh_auto_build
+
+override_dh_auto_clean:
+ rm -rf tests/temp
+ dh_auto_clean
+
+override_dh_auto_test:
+ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
+ cd tests && phpunit
+else
+ @echo "** tests disabled"
+endif
+
+get-orig-source:
+ uscan --verbose --rename --force
Index: debian.series
===================================================================
--- debian.series (added)
+++ debian.series (revision 3)
@@ -0,0 +1,2 @@
+0001-Use-ClassLoader-from-Symfony-instead-of-autoload.patch -p1
+sabre-vobject-bin.patch -p0
Index: debian.tar.gz
===================================================================
Binary files debian.tar.gz (revision 3) added
Index: php-sabre-vobject.dsc
===================================================================
--- php-sabre-vobject.dsc (added)
+++ php-sabre-vobject.dsc (revision 3)
@@ -0,0 +1,17 @@
+Format: 1.0
+Source: php-sabre-vobject
+Binary: php-sabre-vobject
+Architecture: all
+Version: 3.4.5-1
+Maintainer: ownCloud for Debian maintainers
+Uploaders: David Prévot
+Homepage: http://sabre.io/vobject/
+Standards-Version: 3.9.3
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-owncloud/php-sabre-vobject.git
+Vcs-Git: git://anonscm.debian.org/pkg-owncloud/php-sabre-vobject.git -b 2.1
+Build-Depends: debhelper (>= 9), php-symfony-classloader, phpunit, pkg-php-tools (>= 1.7~)
+Package-List:
+ php-sabre-vobject deb php optional arch=all
+Files:
+ 00000000000000000000000000000000 0 sabre-vobject-3.4.5.tar.gz
+ 00000000000000000000000000000000 0 debian.tar.gz

Submit package home:hede:...Winterfell / php-sabre-vobject to package Kolab:Winterfell / php-sabre-vobject

0001-Use-ClassLoader-from-Symfony-instead-of-autoload.patch Added
debian.changelog Added
debian.control Added
debian.rules Added
debian.series Added
debian.tar.gz Added
php-sabre-vobject.dsc Added
Refresh
Refresh
Request History
hede's avatar

hede created request over 8 years ago

initial debian package

old: Kolab:Winterfell/php-sabre-vobject
new: home:hede:branches:Kolab:Winterfell/php-sabre-vobject rev None
Index: 0001-Use-ClassLoader-from-Symfony-instead-of-autoload.patch
===================================================================
--- 0001-Use-ClassLoader-from-Symfony-instead-of-autoload.patch (added)
+++ 0001-Use-ClassLoader-from-Symfony-instead-of-autoload.patch (revision 3)
@@ -0,0 +1,32 @@
+diff -rupN a/tests/bootstrap.php b/tests/bootstrap.php
+--- a/tests/bootstrap.php 2015-06-02 17:44:08.000000000 +0200
++++ b/tests/bootstrap.php 2016-06-25 11:01:21.283744068 +0200
+@@ -2,19 +2,16 @@
+
+ date_default_timezone_set('UTC');
+
+-$try = array(
+- __DIR__ . '/../vendor/autoload.php',
+- __DIR__ . '/../../../autoload.php',
+-);
++require_once 'Symfony/Component/ClassLoader/ClassLoader.php';
++use Symfony\Component\ClassLoader\ClassLoader;
++$loader = new ClassLoader();
++$loader->setUseIncludePath(true);
++$loader->register();
++$loader->addPrefixes(array(
++ 'Sabre' => __DIR__.'/../lib',
++ 'SabreTest' => __DIR__,
++));
+
+-foreach($try as $path) {
+- if (file_exists($path)) {
+- $autoLoader = include $path;
+- break;
+- }
+-}
+-
+-$autoLoader->addPsr4('Sabre\\VObject\\',__DIR__ . '/VObject');
+
+ if (!defined('SABRE_TEMPDIR')) {
+ define('SABRE_TEMPDIR', __DIR__ . '/temp/');
Index: debian.changelog
===================================================================
--- debian.changelog (added)
+++ debian.changelog (revision 3)
@@ -0,0 +1,76 @@
+php-sabre-vobject (3.4.5-1) unstable; urgency=low
+
+ * Upstream Version Bump
+ * Initlal Release for Kolab Winterfell
+
+ -- hede Sat, 25 Jun 2013 12:00:00 +0200
+
+php-sabre-vobject (2.1.5-3) unstable; urgency=medium
+
+ * Fix testsuite for php >= 5.6.1
+ * Document current Git branch
+
+ -- David Prévot Sun, 26 Oct 2014 15:42:24 -0400
+
+php-sabre-vobject (2.1.5-2) unstable; urgency=medium
+
+ * No tests if DEB_BUILD_OPTIONS contains nocheck
+ * Add hint about security maintenance in Jessie
+ * Drop now useless XS-Testsuite
+ * Bump standards version to 3.9.6
+ * Drop reference to long gone php-sabredav
+
+ -- David Prévot Mon, 29 Sep 2014 15:53:28 -0400
+
+php-sabre-vobject (2.1.5-1) unstable; urgency=medium
+
+ [ Evert Pot ]
+ * Updated copyright years.
+ * Bumped version
+
+ [ David Prévot ]
+ * Update upstream URL
+
+ -- David Prévot Tue, 10 Jun 2014 11:38:04 -0400
+
+php-sabre-vobject (2.1.4-1) unstable; urgency=medium
+
+ [ Evert Pot ]
+ * Fix for #87 (Several compatibility fixes related to timezone handling
+ changes in PHP 5.5.10)
+
+ -- David Prévot Sun, 30 Mar 2014 20:13:10 -0400
+
+php-sabre-vobject (2.1.3-2) unstable; urgency=medium
+
+ * Track 2.1 releases for unstable
+ * Bump standards version to 3.9.5
+ * Run the test suite on packaging
+ * Add DEP-8 compliant tests
+ * Upload 2.1 to unstable, as a dependency of recent php-sabre-dav 1.7
+
+ -- David Prévot Wed, 19 Mar 2014 11:41:23 -0400
+
+php-sabre-vobject (2.1.3-1) experimental; urgency=low
+
+ * Imported Upstream version 2.1.3
+ * Drop php5-json build-dependency
+ * Do not claim copyright on trivial packaging
+
+ -- David Prévot Sat, 12 Oct 2013 18:13:58 -0400
+
+php-sabre-vobject (2.1.0-1) experimental; urgency=low
+
+ * New upstream release
+ * Adapt to upstream repository move and versions
+ * Update copyright
+ * Use phpcomposer build helper
+ * Use canonical Vcs- fields
+
+ -- David Prévot Thu, 20 Jun 2013 17:17:18 -0400
+
+php-sabre-vobject (2.0.7-1) unstable; urgency=low
+
+ * Initial release. (Closes: #704008)
+
+ -- David Prévot Thu, 28 Mar 2013 14:42:14 -0400
Index: debian.control
===================================================================
--- debian.control (added)
+++ debian.control (revision 3)
@@ -0,0 +1,26 @@
+Source: php-sabre-vobject
+Section: php
+Priority: optional
+Maintainer: ownCloud for Debian maintainers
+Uploaders: David Prévot
+Build-Depends: debhelper (>= 9),
+ php-symfony-classloader,
+ phpunit,
+ pkg-php-tools (>= 1.7~)
+Standards-Version: 3.9.6
+Homepage: http://sabre.io/vobject/
+Vcs-Git: git://anonscm.debian.org/pkg-owncloud/php-sabre-vobject.git -b 2.1
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-owncloud/php-sabre-vobject.git
+
+Package: php-sabre-vobject
+Architecture: all
+Depends: ${misc:Depends}, ${phpcomposer:Debian-require}
+Suggests: ${phpcomposer:Debian-suggest}
+Description: library to parse and manipulate iCalendar and vCard objects
+ The SabreTooth VObject library allows one to easily parse and
+ manipulate iCalendar and vCard objects using PHP. The goal of the
+ VObject library is to create a very complete library, with an easy to
+ use API.
+ .
+ This project is a spin-off from SabreDAV, where it has been used for
+ several years.
Index: debian.rules
===================================================================
--- debian.rules (added)
+++ debian.rules (revision 3)
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+%:
+ dh $@ --with phpcomposer
+
+override_dh_auto_build:
+ # resort folder structure
+ mv lib VObject
+ mkdir -p lib/Sabre
+ mv VObject lib/Sabre/
+ mkdir -p tests/Sabre
+ mv tests/VObject tests/Sabre/
+ #forward to original dh_auto_build
+ dh_auto_build
+
+override_dh_auto_clean:
+ rm -rf tests/temp
+ dh_auto_clean
+
+override_dh_auto_test:
+ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
+ cd tests && phpunit
+else
+ @echo "** tests disabled"
+endif
+
+get-orig-source:
+ uscan --verbose --rename --force
Index: debian.series
===================================================================
--- debian.series (added)
+++ debian.series (revision 3)
@@ -0,0 +1,2 @@
+0001-Use-ClassLoader-from-Symfony-instead-of-autoload.patch -p1
+sabre-vobject-bin.patch -p0
Index: debian.tar.gz
===================================================================
Binary files debian.tar.gz (revision 3) added
Index: php-sabre-vobject.dsc
===================================================================
--- php-sabre-vobject.dsc (added)
+++ php-sabre-vobject.dsc (revision 3)
@@ -0,0 +1,17 @@
+Format: 1.0
+Source: php-sabre-vobject
+Binary: php-sabre-vobject
+Architecture: all
+Version: 3.4.5-1
+Maintainer: ownCloud for Debian maintainers
+Uploaders: David Prévot
+Homepage: http://sabre.io/vobject/
+Standards-Version: 3.9.3
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-owncloud/php-sabre-vobject.git
+Vcs-Git: git://anonscm.debian.org/pkg-owncloud/php-sabre-vobject.git -b 2.1
+Build-Depends: debhelper (>= 9), php-symfony-classloader, phpunit, pkg-php-tools (>= 1.7~)
+Package-List:
+ php-sabre-vobject deb php optional arch=all
+Files:
+ 00000000000000000000000000000000 0 sabre-vobject-3.4.5.tar.gz
+ 00000000000000000000000000000000 0 debian.tar.gz


Jeroen van Meeuwen's avatar

vanmeeuwen accepted review over 8 years ago


Jeroen van Meeuwen's avatar

vanmeeuwen accepted request over 8 years ago

Please add a comment