[pkg-php-pear] Bug#960713: pkg-php-tools: Support loading debhelper addons from Build-Depends

Robin Gustafsson robin at rgson.se
Fri May 15 20:04:34 BST 2020


Package: pkg-php-tools
Version: 1.39
Severity: wishlist
Tags: patch

Dear Maintainer,

Please consider supporting the newer (debhelper >= 11) way of loading
addon sequences directly from Build-Depends. That is, Provide the
virtual packages dh-sequence-phpcomposer and dh-sequence-phppear.

A (very small) patch is attached.

Regards,
Robin
-------------- next part --------------
>From 9ac466e0f2a059eb966fefd1a03786155dffb762 Mon Sep 17 00:00:00 2001
From: Robin Gustafsson <robin at rgson.se>
Date: Fri, 15 May 2020 20:45:14 +0200
Subject: [PATCH] Provide dh add-on sequences for Build-Depends

The package now provides both dh-sequence-phpcomposer and
dh-sequence-phppear to support the alternative way of loading
debhelper add-on sequences through Build-Depends.
---
 debian/control | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/control b/debian/control
index 7d39c47..2302f06 100644
--- a/debian/control
+++ b/debian/control
@@ -18,6 +18,7 @@ Package: pkg-php-tools
 Architecture: all
 Depends: debhelper, php-pear, php-cli, php-json, php-xml, ${misc:Depends}
 Suggests: dh-make
+Provides: dh-sequence-phpcomposer, dh-sequence-phppear
 Description: various packaging tools and scripts for PHP packages
  Provide an easy way to package PHP PEAR, PECL and Composer packages: Run
  dh_make, edit debian/rules and debian/control and that's it!
-- 
2.20.1



More information about the pkg-php-pear mailing list