NMU diff attached.  Since this is such a well aged RC bug, I'm not going to 
upload to delayed.

Scott K
diff -Nru pacparser-1.3.6/debian/changelog pacparser-1.3.6/debian/changelog
--- pacparser-1.3.6/debian/changelog	2016-01-11 14:07:55.000000000 -0500
+++ pacparser-1.3.6/debian/changelog	2020-03-02 00:22:40.000000000 -0500
@@ -1,3 +1,10 @@
+pacparser (1.3.6-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drup python-pacparser - obsolete, no rdepends (Closes: #937229)
+
+ -- Scott Kitterman <[email protected]>  Mon, 02 Mar 2020 00:22:40 -0500
+
 pacparser (1.3.6-1.1) unstable; urgency=medium
 
   * Non-maintainer upload. (Closes: #809466)
diff -Nru pacparser-1.3.6/debian/control pacparser-1.3.6/debian/control
--- pacparser-1.3.6/debian/control	2016-01-11 14:12:18.000000000 -0500
+++ pacparser-1.3.6/debian/control	2020-03-02 00:22:40.000000000 -0500
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Manu Garg <[email protected]>
 Uploaders: Andrew Pollock <[email protected]>
-Build-Depends: debhelper (>= 5), python-dev, python3-all-dev, dh-python
+Build-Depends: debhelper (>= 5), python3-all-dev, dh-python
 Standards-Version: 3.9.6
 
 Package: libpacparser1
@@ -51,27 +51,6 @@
  .
  This package contains the header files to build against the shared library.
 
-Package: python-pacparser
-Section: python
-Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
-Architecture: any
-Description: Python 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
- URL. PAC files are written in JavaScript and can be programmed to return
- different proxy methods (e.g. "PROXY proxy1:port; DIRECT") depending upon URL,
- source IP address, protocol, time of the day etc. PAC files introduce a lot of
- possibilities.
- .
- Needless to say, PAC files are now a widely accepted method for proxy
- configuration management and companies all over are using them in corporate
- environments. Almost all popular web browsers support PAC files. The idea
- 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
-
 Package: python3-pacparser
 Section: python
 Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}
diff -Nru pacparser-1.3.6/debian/patches/py3only.patch pacparser-1.3.6/debian/patches/py3only.patch
--- pacparser-1.3.6/debian/patches/py3only.patch	1969-12-31 19:00:00.000000000 -0500
+++ pacparser-1.3.6/debian/patches/py3only.patch	2020-03-02 00:22:40.000000000 -0500
@@ -0,0 +1,28 @@
+Description: Use python3 instead of python
+   * Drup python-pacparser - obsolete, no rdepends (Closes: #937229)
+Author: Scott Kitterman <[email protected]>
+Bug-Debian: https://bugs.debian.org/937229
+Origin: vendor
+Forwarded: not-needed
+Last-Update: 2020-03-02
+
+Index: pacparser-1.3.6/src/Makefile
+===================================================================
+--- pacparser-1.3.6.orig/src/Makefile
++++ pacparser-1.3.6/src/Makefile
+@@ -58,7 +58,7 @@ endif
+ CFLAGS = -g -DXP_UNIX -Wall -DVERSION=$(VERSION)
+ 
+ ifndef PYTHON
+-  PYTHON = python
++  PYTHON = python3
+ endif
+ 
+ # Spidermonkey library.
+@@ -134,5 +134,5 @@ install-pymod: pymod
+ 
+ clean:
+ 	rm -f $(LIBRARY_LINK) $(LIBRARY) libjs.a pacparser.o pactester pymod/pacparser_o_buildstamp jsapi_buildstamp
+-	cd pymod && python setup.py clean --all
++	cd pymod && $(PYTHON) setup.py clean --all
+ 	cd spidermonkey && $(MAKE) clean
diff -Nru pacparser-1.3.6/debian/patches/series pacparser-1.3.6/debian/patches/series
--- pacparser-1.3.6/debian/patches/series	1969-12-31 19:00:00.000000000 -0500
+++ pacparser-1.3.6/debian/patches/series	2020-03-02 00:22:40.000000000 -0500
@@ -0,0 +1 @@
+py3only.patch
diff -Nru pacparser-1.3.6/debian/python3-pacparser.examples pacparser-1.3.6/debian/python3-pacparser.examples
--- pacparser-1.3.6/debian/python3-pacparser.examples	1969-12-31 19:00:00.000000000 -0500
+++ pacparser-1.3.6/debian/python3-pacparser.examples	2015-09-04 16:06:41.000000000 -0400
@@ -0,0 +1,2 @@
+examples/*.py
+examples/wpad.dat
diff -Nru pacparser-1.3.6/debian/python-pacparser.examples pacparser-1.3.6/debian/python-pacparser.examples
--- pacparser-1.3.6/debian/python-pacparser.examples	2015-09-04 16:06:41.000000000 -0400
+++ pacparser-1.3.6/debian/python-pacparser.examples	1969-12-31 19:00:00.000000000 -0500
@@ -1,2 +0,0 @@
-examples/*.py
-examples/wpad.dat
diff -Nru pacparser-1.3.6/debian/python-pacparser.install pacparser-1.3.6/debian/python-pacparser.install
--- pacparser-1.3.6/debian/python-pacparser.install	2015-09-04 16:06:41.000000000 -0400
+++ pacparser-1.3.6/debian/python-pacparser.install	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-debian/tmp/usr/lib/python2*/*
diff -Nru pacparser-1.3.6/debian/rules pacparser-1.3.6/debian/rules
--- pacparser-1.3.6/debian/rules	2016-01-11 13:58:20.000000000 -0500
+++ pacparser-1.3.6/debian/rules	2020-03-02 00:22:40.000000000 -0500
@@ -43,13 +43,11 @@
 
 	# 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
 	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
 	dh_python3 -s
 
 # Must not depend on anything. This is to be called by

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to