Your message dated Mon, 11 Jan 2016 19:35:43 +0000
with message-id <e1aiifj-00045v...@franck.debian.org>
and subject line Bug#809466: fixed in pacparser 1.3.6-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: pacparser
Source-Version: 1.3.6-1.1

We believe that the bug you reported is fixed in the latest version of
pacparser, 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 pacparser 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: Mon, 11 Jan 2016 14:07:26 -0500
Source: pacparser
Binary: libpacparser1 libpacparser-dev python-pacparser python3-pacparser
Architecture: source amd64
Version: 1.3.6-1.1
Distribution: unstable
Urgency: medium
Maintainer: Manu Garg <manug...@gmail.com>
Changed-By: Scott Kitterman <sc...@kitterman.com>
Description:
 libpacparser-dev - library to parse proxy auto-config files (development files)
 libpacparser1 - library to parse proxy auto-config files
 python-pacparser - Python module to parse proxy auto-config files
 python3-pacparser - Python 3 module to parse proxy auto-config files
Closes: 809466
Changes:
 pacparser (1.3.6-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload. (Closes: #809466)
   * 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
   * Add libpacparser1 to libpacparser-dev depends for proper shared library
     package operation
Checksums-Sha1:
 6095a6b4962c10cb7d4efb73ad0b534605ee581a 1944 pacparser_1.3.6-1.1.dsc
 3e8eeb436cd6499000eaaedf887a6e5cbabe46ab 3944 pacparser_1.3.6-1.1.debian.tar.xz
 186cd9d05cf4d69a07db7b3a3b6019b50cc85f91 17166 
libpacparser-dev_1.3.6-1.1_amd64.deb
 1f74e8224463874a1c3f409f06c67c99b7a3e0dc 462142 
libpacparser1-dbgsym_1.3.6-1.1_amd64.deb
 727057c198314df333a49bba5c7049c218b0fd25 301766 
libpacparser1_1.3.6-1.1_amd64.deb
 80af6634a02fdd0112cf9bfbc4b520fe9aabefda 464170 
python-pacparser-dbgsym_1.3.6-1.1_amd64.deb
 5e28a9338c4615664f05bd02c12fb7ae19fb607c 318772 
python-pacparser_1.3.6-1.1_amd64.deb
 7c1ff0438263c372b75edd4a872d78718c9050a4 817112 
python3-pacparser-dbgsym_1.3.6-1.1_amd64.deb
 e422b52d895c7dd560ea4c90ab357fdea6ce81d3 318098 
python3-pacparser_1.3.6-1.1_amd64.deb
Checksums-Sha256:
 1e706a38e52c29d0058f045a5f960c53a0ccdc708f9675c93b798f28bc4f2819 1944 
pacparser_1.3.6-1.1.dsc
 3c6f82fe5d03e9395d6e935474800196a541eb5510e96929617971a8f4824ac2 3944 
pacparser_1.3.6-1.1.debian.tar.xz
 e036836c3ce947718c2ba958b2c5958f5ee854b6f39de7cdc2715e40be8ff074 17166 
libpacparser-dev_1.3.6-1.1_amd64.deb
 cea0343450c241b176116f12c3797bed2168a188539c45a124f4283f46c1b104 462142 
libpacparser1-dbgsym_1.3.6-1.1_amd64.deb
 f38078ce43e6e45dffe243ed80ddbb60c5369c2672fdb5a305cb278ad6949851 301766 
libpacparser1_1.3.6-1.1_amd64.deb
 6a6b3285784aa3eabe14064e120268606138bab667b3de3ce0ac6197b744ae43 464170 
python-pacparser-dbgsym_1.3.6-1.1_amd64.deb
 06d62928e33b7bd6a3c8f434a21d06bf07cb264ce0eca207722ca0e50738c00d 318772 
python-pacparser_1.3.6-1.1_amd64.deb
 37235ccd4c7cafc91247928ecae89b3c8655c4b543d8eb1ff0c8f739339d7b0a 817112 
python3-pacparser-dbgsym_1.3.6-1.1_amd64.deb
 ddcce9fc1f3288ffc3831317a16eee6665a8c1c2b3604de8d8dfdaca88a74ad0 318098 
python3-pacparser_1.3.6-1.1_amd64.deb
Files:
 c4302775ab66e0a5c74b7300e29425e7 1944 libs extra pacparser_1.3.6-1.1.dsc
 6b1b4eea2db9da3300d50daa78e677f8 3944 libs extra 
pacparser_1.3.6-1.1.debian.tar.xz
 e230e2616e99921d2f48f3fc9e7e61b3 17166 libdevel extra 
libpacparser-dev_1.3.6-1.1_amd64.deb
 66f743e0a354b910e4b5b082bad2e41c 462142 debug extra 
libpacparser1-dbgsym_1.3.6-1.1_amd64.deb
 32e812ad9b52ee001c3ab5c1ac746672 301766 libs extra 
libpacparser1_1.3.6-1.1_amd64.deb
 0f51c613a102e3b41aa8a9a8cd1e43c6 464170 debug extra 
python-pacparser-dbgsym_1.3.6-1.1_amd64.deb
 e1d138e4369b268293c2ec5578e5f981 318772 python extra 
python-pacparser_1.3.6-1.1_amd64.deb
 55268251b5d5b9e2a88be513adda4043 817112 debug extra 
python3-pacparser-dbgsym_1.3.6-1.1_amd64.deb
 2c99f8e68d6e4ffef7a54444e978fd66 318098 python extra 
python3-pacparser_1.3.6-1.1_amd64.deb

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

iQIcBAEBCAAGBQJWk/9KAAoJEHjX3vua1Zrx+tUQAJtQL9Cm2reyBa+nIHt0BCJ+
YdELHKEVZUGuqZJ+XWZX5D/s48fdNWmKnHQqH7+7h9bxYR33W4okyxHQujPhSVSp
oC8uAhRvLX3jLmi6CKmqIIjBbWMM0XDqgR+K801PO9tc0hKqNY42E6D0sKiDUrE2
MtgmfPZDkgOjaJ33zipFJjlsxpQFIbG3LdBQxI4ZKzItCxB5Cdbj688sUjkttvEL
z6RiYKGW2myOlUVe7g+Y6jlvOawEdvQu0gunZbca93o9kSR421I1sYfU4K0sy7tk
Fs/oIWqYcZ38U9kSIzeObCCrH994ybwCzfksYIc8T5bk6MKgnr0FZtYq9GqfAgvo
m/mQmNR7EQO1qTS8MqhlUwTdskNM+GmfTVuEELRtepCXyUI+XXCzZ8rkGJIMwtKD
P1g6KhjD15FmGfdw2GPBOd/6JeX1Plvf0eVL8PaYsb+6+zOL4SJxoyEm84z+KFLb
+Ub6bwDsNjC8GK5oyHz0hWs5iDXG6N3Zn6h0NmHIwWem7jlzzAjLpj34wO4Fdjju
F6f5bHO+Ufbrn7T3JcgYFPm6fxk7QqV88OlLeX7Lr/4QfIKA376tsNHmgNiJUUvk
F7T7+W0C8FBolXoS7BEvdZxZt5FKQLYAHnGW6exeyXbHKLpIbnkVZowqETUr3XOS
5Zk8IHOZ08QWoiAmBnof
=vVx5
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to