[Pkg-owncloud-commits] [php-sabre-vobject] 339/341: Adapt to new php-sabre-xml dependency
David Prévot
taffit at moszumanska.debian.org
Tue Aug 11 13:36:03 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository php-sabre-vobject.
commit 614e36d1a757c8f18f08afd840285e520380e73f
Author: David Prévot <david at tilapin.org>
Date: Mon Jul 27 10:34:36 2015 +0200
Adapt to new php-sabre-xml dependency
---
debian/autoload.php.tpl | 22 ++++++++++++++++++++++
debian/control | 1 +
debian/rules | 6 ++++--
3 files changed, 27 insertions(+), 2 deletions(-)
diff --git a/debian/autoload.php.tpl b/debian/autoload.php.tpl
new file mode 100644
index 0000000..2dccc4c
--- /dev/null
+++ b/debian/autoload.php.tpl
@@ -0,0 +1,22 @@
+<?php
+
+require_once 'Sabre/Xml/autoload.php';
+
+// @codingStandardsIgnoreFile
+// @codeCoverageIgnoreStart
+// this is an autogenerated file - do not edit
+spl_autoload_register(
+ function($class) {
+ static $classes = null;
+ if ($classes === null) {
+ $classes = array(
+ ___CLASSLIST___
+ );
+ }
+ $cn = strtolower($class);
+ if (isset($classes[$cn])) {
+ require ___BASEDIR___$classes[$cn];
+ }
+ }
+);
+// @codeCoverageIgnoreEnd
diff --git a/debian/control b/debian/control
index 7520786..b0a2657 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ Uploaders: David Prévot <taffit at debian.org>
Build-Depends: debhelper (>= 9),
help2man,
php-codesniffer,
+ php-sabre-xml,
php-symfony-class-loader (>= 2.5),
phpab,
phpunit,
diff --git a/debian/rules b/debian/rules
index 681958f..82dff72 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,8 +6,10 @@ UPSTREAM := $(shell dpkg-parsechangelog -S Version | sed 's/-[^-]*//')
dh $@ --with phpcomposer
override_dh_auto_build:
- dh_auto_build
- phpab --output lib/autoload.php lib
+ phpab \
+ --output lib/autoload.php \
+ --template debian/autoload.php.tpl \
+ lib
override_dh_auto_clean:
rm -rf tests/temp
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabre-vobject.git
More information about the Pkg-owncloud-commits
mailing list