Your message dated Tue, 12 Jan 2016 04:48:53 +0000
with message-id <e1aiqt3-0001xo...@franck.debian.org>
and subject line Bug#809466: fixed in mwparserfromhell 0.4.2-1.1
has caused the Debian Bug report #809466,
regarding pacparser: Please build for all supported python3 versions
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
809466: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809466
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: pacparser
Version: 1.3.6-1
Severity: important
Tags: patch

Currently pacparser only builds support for the default python3 version.  As a
result, once the default version switches from python3 3.4 to 3.5, python3-
pacparser will be unusable until it can be rebuilt.  The best practice (as
described in the Debian Python policy) is to build for all supported versions.
Then whichever is default, the package still works.

Additionally, while I was looking at the package, I noticed that the python
build directory isn't removed in clean and that the python and python3
package descriptions were identical.  I took care of those while I was at it.

Please see the attached patch (formatted as an NMU because that's what
devscripts handed me, but I have no near term plans to NMU).
diff -Nru pacparser-1.3.6/debian/changelog pacparser-1.3.6/debian/changelog
--- pacparser-1.3.6/debian/changelog	2015-09-04 20:06:41.000000000 +0000
+++ pacparser-1.3.6/debian/changelog	2015-12-30 21:34:12.000000000 +0000
@@ -1,3 +1,14 @@
+pacparser (1.3.6-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Loop over supported python3 versions in build/install rules to add support
+    for multiple python3 versions
+  * Add removal of python build directory to clean rule
+  * Slightly change python3-pacparser descriptions to distinguish from python-
+    pacparser
+
+ -- Scott Kitterman <sc...@kitterman.com>  Wed, 30 Dec 2015 21:26:03 +0000
+
 pacparser (1.3.6-1) unstable; urgency=medium
 
   * Sync to upstream version 1.3.6.
diff -Nru pacparser-1.3.6/debian/control pacparser-1.3.6/debian/control
--- pacparser-1.3.6/debian/control	2015-09-04 20:06:41.000000000 +0000
+++ pacparser-1.3.6/debian/control	2015-12-30 21:29:59.000000000 +0000
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Manu Garg <manug...@gmail.com>
 Uploaders: Andrew Pollock <apoll...@debian.org>
-Build-Depends: debhelper (>= 5), python-dev, python3-dev, dh-python
+Build-Depends: debhelper (>= 5), python-dev, python3-all-dev, dh-python
 Standards-Version: 3.9.6
 
 Package: libpacparser1
@@ -76,7 +76,7 @@
 Section: python
 Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}
 Architecture: any
-Description: Python module to parse proxy auto-config files
+Description: Python 3 module to parse proxy auto-config files
  a library to parse proxy auto-config (PAC) files. Proxy auto-config files are
  a vastly used proxy configuration method these days. Web browsers can use a PAC
  file to determine which proxy server to use or whether to go direct for a given
@@ -91,4 +91,4 @@
  behind pacparser is to make it easy to add this PAC file parsing capability to
  any program (C and Python supported right now).
  .
- This package contains the Python bindings for the shared library
+ This package contains the Python 3 bindings for the shared library
diff -Nru pacparser-1.3.6/debian/rules pacparser-1.3.6/debian/rules
--- pacparser-1.3.6/debian/rules	2015-09-04 20:06:41.000000000 +0000
+++ pacparser-1.3.6/debian/rules	2015-12-30 21:31:15.000000000 +0000
@@ -13,6 +13,8 @@
 	CFLAGS += -O2
 endif
 
+build3vers := $(shell py3versions -sv)
+
 # Build
 build: build-arch build-indep
 build-arch: build-stamp
@@ -20,13 +22,16 @@
 build-stamp:
 	NO_INTERNET=yes $(MAKE) -C src
 	NO_INTERNET=yes $(MAKE) -C src pymod
-	NO_INTERNET=yes $(MAKE) -C src pymod PYTHON=python3
+	set -e && for i in $(build3vers); do \
+	  NO_INTERNET=yes $(MAKE) -C src pymod PYTHON=python$$i; \
+	done
 	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp
+	rm -rf src/pymod/build/
 	$(MAKE) -C src clean
 	dh_clean 
 
@@ -39,7 +44,9 @@
 	# Install to debian/tmp
 	NO_INTERNET=yes $(MAKE) -C src DESTDIR=$(CURDIR)/debian/tmp install
 	NO_INTERNET=yes $(MAKE) -C src DESTDIR=$(CURDIR)/debian/tmp install-pymod EXTRA_ARGS=--install-layout=deb
-	NO_INTERNET=yes $(MAKE) -C src DESTDIR=$(CURDIR)/debian/tmp install-pymod EXTRA_ARGS=--install-layout=deb PYTHON=python3
+	set -e && for i in $(build3vers); do \
+	  NO_INTERNET=yes $(MAKE) -C src DESTDIR=$(CURDIR)/debian/tmp install-pymod EXTRA_ARGS=--install-layout=deb PYTHON=python$$i; \
+	done
 
 	dh_install -s --autodest
 	dh_python2 -s

--- End Message ---
--- Begin Message ---
Source: mwparserfromhell
Source-Version: 0.4.2-1.1

We believe that the bug you reported is fixed in the latest version of
mwparserfromhell, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 809...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Scott Kitterman <sc...@kitterman.com> (supplier of updated mwparserfromhell 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 30 Dec 2015 21:10:15 +0000
Source: mwparserfromhell
Binary: python3-mwparserfromhell python-mwparserfromhell
Architecture: source amd64
Version: 0.4.2-1.1
Distribution: unstable
Urgency: medium
Maintainer: Yuvi Panda <yuvipa...@riseup.net>
Changed-By: Scott Kitterman <sc...@kitterman.com>
Description:
 python-mwparserfromhell - Outrageously powerful parser for MediaWiki wikicode
 python3-mwparserfromhell - Outrageously powerful parser for MediaWiki wikicode
Closes: 809466
Changes:
 mwparserfromhell (0.4.2-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Rationalize python related build-depends to build for all supported
     versions (Closes: #809466)
Checksums-Sha1:
 5b605a473eb3b9886130fad0402ea2e4535352e6 1934 mwparserfromhell_0.4.2-1.1.dsc
 636866e97e4f84a4c5d01fe8bcdf628234ee900f 1682 
mwparserfromhell_0.4.2-1.1.diff.gz
 dbee930ce54746e2310f05bfc886f65b63558b38 48710 
python-mwparserfromhell-dbgsym_0.4.2-1.1_amd64.deb
 ec7419e672af36e7747b1a8af471ecbd9d3daa2f 60002 
python-mwparserfromhell_0.4.2-1.1_amd64.deb
 2b0a59a92f03ffc2c6ae897cff67fa326ad1cfe2 100030 
python3-mwparserfromhell-dbgsym_0.4.2-1.1_amd64.deb
 a938a2552c9a748ab8cd1bdb3f11153b1877b20f 60854 
python3-mwparserfromhell_0.4.2-1.1_amd64.deb
Checksums-Sha256:
 961a6d05a7119e8676c0eb250158b6c122182029ee4fea7bb023bd288934c7e0 1934 
mwparserfromhell_0.4.2-1.1.dsc
 af5f7ff190c9498cacd2db929ad860d574a73e210459be805fe816acbd42e559 1682 
mwparserfromhell_0.4.2-1.1.diff.gz
 d38cd039daac12b512954166d006153d8fa80f83922e5a782e03455f33f4f288 48710 
python-mwparserfromhell-dbgsym_0.4.2-1.1_amd64.deb
 906b657705fec39649ea78b5c5254922f35c1cb3ec46993c6e6b374f487373b5 60002 
python-mwparserfromhell_0.4.2-1.1_amd64.deb
 3d8f3210d7c00d4e06143af575f11c5cecf4f254fa0e7f6fa12857a10d50fa98 100030 
python3-mwparserfromhell-dbgsym_0.4.2-1.1_amd64.deb
 c40ffb84d52e0422da88eb5bd3acf08d965279c15161ec26d0315e258b7b6c5f 60854 
python3-mwparserfromhell_0.4.2-1.1_amd64.deb
Files:
 7b0fef61e512e1e6bfc0814b1e2906ba 1934 python optional 
mwparserfromhell_0.4.2-1.1.dsc
 ed919594df61f21a2cfcd3cf5fb486c1 1682 python optional 
mwparserfromhell_0.4.2-1.1.diff.gz
 6917a3133660578c93cbe760b45baf43 48710 debug extra 
python-mwparserfromhell-dbgsym_0.4.2-1.1_amd64.deb
 001c8d15d3bac3e7974fc37de48beb05 60002 python optional 
python-mwparserfromhell_0.4.2-1.1_amd64.deb
 b69c87c2208aa70bfee5bde9100ebdf5 100030 debug extra 
python3-mwparserfromhell-dbgsym_0.4.2-1.1_amd64.deb
 d103c9d059f489a5b478f07becfee11d 60854 python optional 
python3-mwparserfromhell_0.4.2-1.1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWlIRSAAoJEHjX3vua1ZrxT34P/jKLHPDoMOfErKhs4LE4JE69
x1N1cXm1UlS9LOkAy7d1vY6vNWsfyem1VZy06SCfeTGk4sau3nQxLDW9ZvBtDgRF
WlL3ET0l4BPxRJlmUWFYDDIY/PaNJUa7txr3Fd6vPYfxYLF5QqSWj+TIpqyAyWH0
ZC+yNz9yn0BfJTpXJLX0oxo6qn6+g6ozTlkSSnyVJy1YJf268S3fP/q2hxs7nyNL
NVgUbL9sJStIS2KpnJChhNOdW/m4Rqql5hGnGatCwCAH6UkGpLG72A+ElicnwcQD
l82XvftMQukuPaRsCSGLETrtXre7P1aylLOEWQm7v81wKR2kFcTLJkFQ+XsDH2YT
/BDqPzKPQt1AW9FAmWIRaShdlBgVezsBIjDNht2hdornXUuxQXB9jmdn8r6z7xwL
yvB1+mTZ+aNCo/Vel8eqIfUkHMndYTnjwQxZjU7ftPiwdXDUGUzctPG0t2Wzt+e0
9HmV/9um/BKcNT7jE1ZQxC7xRwG2+exYkZ0WK2GUy1Slo7ppsdRLOAEVWVcvHiK5
meq01Hlz+4er1uHi3jX4CkRGqtg/UvTdXH2pH6Q+JISEfssGyxSsMPKhLte4fhVd
o1LfxT8oyDq0mkghGPpae2Ua33Ssor4gJFfNa/JamIJ1EXJijqOIqcP/tIyH7tHg
u3BKU8RUVJgIbquWxStY
=mJ+a
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to