Bug#800226: python-imaging-doc-handbook: Please migrate a supported debhelper compat level

2016-08-13 Thread Giovani Ferreira
tags 800226 patch
tags 800226 pending

thanks

Hi,

I did make a NMU and Eriberto sponsored upload to 10-day/delay queue.
Feel free to cancel this upload if needed.

The debian/changelog is:

  * Non-maintainer upload.
  * Update DH level to 9. (Closes: #800226)
  * debian/compat: created and set to 9, instead of using DH_COMPAT.
  * debian/control:
 - Added the ${misc:Depends} variable to provide the right install
   dependencies.
 - Bumped Standards-Version to 3.9.8.
  * debian/rules:
 - Removed the DH_COMPAT line.
 - Desabled dh_clean -k line, deprecated.

I attached a debdiff.


cheers,

-- 
Giovani Ferreira
http://softwarelivre.org/jova2
0x78494EF72375A66C
diff -u python-imaging-doc-handbook-1.1.2/debian/changelog 
python-imaging-doc-handbook-1.1.2/debian/changelog
--- python-imaging-doc-handbook-1.1.2/debian/changelog
+++ python-imaging-doc-handbook-1.1.2/debian/changelog
@@ -1,3 +1,18 @@
+python-imaging-doc-handbook (1.1.2-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Update DH level to 9. (Closes: #800226)
+  * debian/compat: created and set to 9, instead of using DH_COMPAT.
+  * debian/control:
+ - Added the ${misc:Depends} variable to provide the right install
+   dependencies.
+ - Bumped Standards-Version to 3.9.8.
+  * debian/rules:
+ - Removed the DH_COMPAT line.
+ - Desabled dh_clean -k line, deprecated.
+
+ -- Giovani Augusto Ferreira   Sat, 13 Aug 2016 11:01:23 
-0300
+
 python-imaging-doc-handbook (1.1.2-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u python-imaging-doc-handbook-1.1.2/debian/control 
python-imaging-doc-handbook-1.1.2/debian/control
--- python-imaging-doc-handbook-1.1.2/debian/control
+++ python-imaging-doc-handbook-1.1.2/debian/control
@@ -2,11 +2,12 @@
 Section: doc
 Priority: optional
 Maintainer: Simon Richter 
-Build-Depends: debhelper (>> 3.0.0)
-Standards-Version: 3.5.2
+Build-Depends: debhelper (>=9)
+Standards-Version: 3.9.8
 
 Package: python-imaging-doc-html
 Architecture: all
+Depends: ${misc:Depends}
 Description: Documentation for the Python Imaging Library.
  The Python Imaging Library (PIL) adds an image object to your
  Python interpreter. You can load image objects from a variety of file
@@ -16,6 +17,7 @@
 
 Package: python-imaging-doc-pdf
 Architecture: all
+Depends: ${misc:Depends}
 Suggests: pdf-viewer
 Description: Documentation for the Python Imaging Library.
  The Python Imaging Library (PIL) adds an image object to your
diff -u python-imaging-doc-handbook-1.1.2/debian/rules 
python-imaging-doc-handbook-1.1.2/debian/rules
--- python-imaging-doc-handbook-1.1.2/debian/rules
+++ python-imaging-doc-handbook-1.1.2/debian/rules
@@ -6,7 +6,6 @@
 #export DH_VERBOSE=1
 
 # This is the debhelper compatability version to use.
-export DH_COMPAT=3
 
 configure:
 # Nothing to do
@@ -23,7 +22,7 @@
 install: build
dh_testdir
dh_testroot
-   dh_clean -k
+#  dh_clean -k
dh_installdirs
 
for i in *.htm *.css *.gif; do \
only in patch2:
unchanged:
--- python-imaging-doc-handbook-1.1.2.orig/debian/compat
+++ python-imaging-doc-handbook-1.1.2/debian/compat
@@ -0,0 +1 @@
+9


Bug#800226: python-imaging-doc-handbook: Please migrate a supported debhelper compat level

2016-04-22 Thread Logan Rosen
Package: python-imaging-doc-handbook
Version: 1.1.2-1.1
Followup-For: Bug #800226
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu xenial ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * debian/rules: Remove legacy DH_COMPAT export.
  * debian/compat: Indicate compatibility level of 9.
  * debian/control:
- Build-depend on debhelper (>= 9).
- Depend on ${misc:Depends}.

Thanks for considering the patch.

Logan Rosen

-- 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)

Kernel: Linux 4.4.0-18-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -u python-imaging-doc-handbook-1.1.2/debian/control python-imaging-doc-handbook-1.1.2/debian/control
--- python-imaging-doc-handbook-1.1.2/debian/control
+++ python-imaging-doc-handbook-1.1.2/debian/control
@@ -2,11 +2,12 @@
 Section: doc
 Priority: optional
 Maintainer: Simon Richter 
-Build-Depends: debhelper (>> 3.0.0)
+Build-Depends: debhelper (>= 9)
 Standards-Version: 3.5.2
 
 Package: python-imaging-doc-html
 Architecture: all
+Depends: ${misc:Depends}
 Description: Documentation for the Python Imaging Library.
  The Python Imaging Library (PIL) adds an image object to your
  Python interpreter. You can load image objects from a variety of file
@@ -16,6 +17,7 @@
 
 Package: python-imaging-doc-pdf
 Architecture: all
+Depends: ${misc:Depends}
 Suggests: pdf-viewer
 Description: Documentation for the Python Imaging Library.
  The Python Imaging Library (PIL) adds an image object to your
diff -u python-imaging-doc-handbook-1.1.2/debian/rules python-imaging-doc-handbook-1.1.2/debian/rules
--- python-imaging-doc-handbook-1.1.2/debian/rules
+++ python-imaging-doc-handbook-1.1.2/debian/rules
@@ -5,9 +5,6 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-# This is the debhelper compatability version to use.
-export DH_COMPAT=3
-
 configure:
 # Nothing to do
 
@@ -23,7 +20,7 @@
 install: build
 	dh_testdir
 	dh_testroot
-	dh_clean -k
+	dh_prep
 	dh_installdirs
 
 	for i in *.htm *.css *.gif; do \
only in patch2:
unchanged:
--- python-imaging-doc-handbook-1.1.2.orig/debian/compat
+++ python-imaging-doc-handbook-1.1.2/debian/compat
@@ -0,0 +1 @@
+9