[Pkg-owncloud-commits] [php-sabredav] 07/23: Use phpcomposer build helper

David Prévot taffit at moszumanska.debian.org
Wed Mar 19 17:41:39 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch 1.7
in repository php-sabredav.

commit b4cd2e86de80f5ee2f47def0adf838bb3839437e
Author: David Prévot <taffit at debian.org>
Date:   Thu Jun 20 16:31:56 2013 -0400

    Use phpcomposer build helper
---
 debian/control | 7 ++++---
 debian/rules   | 7 +------
 2 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/debian/control b/debian/control
index 89ed2e8..070a9e5 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: php
 Priority: optional
 Maintainer: ownCloud for Debian maintainers <pkg-owncloud-maintainers at lists.alioth.debian.org>
 Uploaders: Thomas Mueller <thomas.mueller at tmit.eu>,Paul van Tilburg <paulvt at debian.org>
-Build-Depends: debhelper (>= 8.0.0)
+Build-Depends: debhelper (>= 8.0.0), pkg-php-tools (>= 1.7~), php5-json
 Standards-Version: 3.9.4
 Homepage: http://code.google.com/p/sabredav/
 Vcs-Git: git://anonscm.debian.org/pkg-owncloud/php-sabredav.git
@@ -11,11 +11,12 @@ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-owncloud/php-sabredav.git
 
 Package: php-sabre-dav
 Architecture: all
-Depends: php5 | php5-cli, php-sabre-vobject, ${misc:Depends}
+Depends: ${misc:Depends}, ${phpcomposer:Debian-require}
+Suggests: ${phpcomposer:Debian-suggest}
 Provides: php-sabredav
 Replaces: php-sabredav (<< 1.7)
 Breaks: owncloud (<< 5), php-sabredav (<< 1.7)
-Description: SabreDAV allows you to easily add WebDAV support to a PHP application
+Description: ${phpcomposer:description}
  SabreDAV is meant to cover the entire standard, and attempts to allow 
  integration using an easy to understand API.
  .
diff --git a/debian/rules b/debian/rules
index 150f86f..58f31d0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,6 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
 %:
-	dh $@
+	dh $@ --with phpcomposer
 
 override_dh_auto_clean override_dh_auto_build:
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list