[pkg-php-pear] Bug#829764: php-monolog: add stage1 and nocheck build profiles

Nishanth Aravamudan nish.aravamudan at canonical.com
Tue Jul 5 20:19:54 UTC 2016


Package: php-monolog
Version: 1.19.0-2
Severity: wishlist
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu yakkety ubuntu-patch

Dear Maintainer,

  *  Add nocheck and stage1 build profiles.

This allows for bootstrapping of monolog when PHP versions change (and
phpunit has not yet been rebuilt).

Thanks for considering the patch.

*** /tmp/tmpLf__kc/php-monolog_1.19.0-2ubuntu1.debdiff
diff -Nru php-monolog-1.19.0/debian/control php-monolog-1.19.0/debian/control
--- php-monolog-1.19.0/debian/control	2016-06-25 21:43:11.000000000 -0700
+++ php-monolog-1.19.0/debian/control	2016-07-05 13:18:59.000000000 -0700
@@ -9,7 +9,7 @@
                php-psr-log (>= 1.0.0-2~),
                php-swiftmailer,
                phpab,
-               phpunit,
+               phpunit <!nocheck> <!stage1>,
                pkg-php-tools (>= 1.30~)
 Standards-Version: 3.9.8
 Homepage: https://github.com/Seldaek/monolog
diff -Nru php-monolog-1.19.0/debian/rules php-monolog-1.19.0/debian/rules
--- php-monolog-1.19.0/debian/rules	2016-04-12 14:22:36.000000000 -0700
+++ php-monolog-1.19.0/debian/rules	2016-07-05 13:17:58.000000000 -0700
@@ -12,7 +12,7 @@
 		tests/Monolog
 
 override_dh_auto_test:
-ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
+ifeq (,$(filter nocheck stage1, $(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
 	phpunit --bootstrap autoload.php --include-path src
 else
 	@echo "** tests disabled"


-- System Information:
Debian Release: stretch/sid
  APT prefers xenial-updates
  APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 'xenial'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-28-generic (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- 
Nishanth Aravamudan
Ubuntu Server
Canonical Ltd



More information about the pkg-php-pear mailing list