Control: tags 937502 + patch
Control: tags 937502 + pending

Dear maintainer,

I've prepared an NMU for pyparallel (versioned as 0.2.2-3.1) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should delay it longer.

Regards.

diff -Nru pyparallel-0.2.2/debian/changelog pyparallel-0.2.2/debian/changelog
--- pyparallel-0.2.2/debian/changelog	2018-07-21 07:43:23.000000000 -0400
+++ pyparallel-0.2.2/debian/changelog	2019-10-24 19:39:27.000000000 -0400
@@ -1,3 +1,10 @@
+pyparallel (0.2.2-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #937502
+
+ -- Sandro Tosi <mo...@debian.org>  Thu, 24 Oct 2019 19:39:27 -0400
+
 pyparallel (0.2.2-3) unstable; urgency=medium
 
   * Bump standards version.
diff -Nru pyparallel-0.2.2/debian/control pyparallel-0.2.2/debian/control
--- pyparallel-0.2.2/debian/control	2018-07-21 07:41:44.000000000 -0400
+++ pyparallel-0.2.2/debian/control	2019-10-24 19:38:02.000000000 -0400
@@ -4,20 +4,10 @@
 Priority: optional
 Maintainer: Matthias Klose <d...@debian.org>
 Build-Depends: debhelper (>= 9), dh-python,
-  python-all:any, python3-all:any
+  python3-all:any
 Build-Depends-Indep: python-setuptools, python3-setuptools,
 Standards-Version: 4.1.5
 
-Package: python-parallel
-Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}
-XB-Python-Version: ${python:Versions}
-Description: pyparallel - module encapsulating access for the parallel port
- This module capsulates the access for the parallel port. It provides
- backends for standard Python running on Windows, Linux, BSD (possibly
- any POSIX compliant system). The module named "parallel" automatically
- selects the appropriate backend.
-
 Package: python3-parallel
 Architecture: all
 Depends: ${python3:Depends}, ${misc:Depends}
diff -Nru pyparallel-0.2.2/debian/rules pyparallel-0.2.2/debian/rules
--- pyparallel-0.2.2/debian/rules	2017-01-07 08:36:12.000000000 -0500
+++ pyparallel-0.2.2/debian/rules	2019-10-24 19:39:25.000000000 -0400
@@ -6,10 +6,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-PYTHON	:= /usr/bin/python
 PYTHON3	:= /usr/bin/python3
-PYVER   := $(shell $(PYTHON) -c 'import sys; print sys.version[:3]')
-PYVERS	:= $(shell pyversions -vs)
 PY3VERS	:= $(shell py3versions -vs)
 
 build-arch: build
@@ -19,10 +16,6 @@
 build-stamp:
 	dh_testdir
 	set -e; \
-	for v in $(PYVERS); do \
-	  python setup.py build; \
-	done
-	set -e; \
 	for v in $(PY3VERS); do \
 	  python3 setup.py build; \
 	done
@@ -42,11 +35,6 @@
 	dh_prep
 	dh_installdirs
 	set -e; \
-	for v in $(PYVERS); do \
-	  python setup.py install \
-		--root=$(CURDIR)/debian/python-parallel; \
-	done
-	set -e; \
 	for v in $(PY3VERS); do \
 	  python3 setup.py install \
 		--root=$(CURDIR)/debian/python3-parallel; \
@@ -60,19 +48,6 @@
 	dh_installdocs README.rst
 #	dh_installexamples examples/*
 	dh_installman
-	: # Replace all '#!' calls to python with $(PYTHON)
-	: # and make them executable
-	for i in `find debian/python-parallel -mindepth 3 -type f`; do \
-	  sed '1s,#!.*python[^ ]*\(.*\),#! $(PYTHON)\1,' \
-	        $$i > $$i.temp; \
-	  if cmp --quiet $$i $$i.temp; then \
-	    rm -f $$i.temp; \
-	  else \
-	    mv -f $$i.temp $$i; \
-	    chmod 755 $$i; \
-	    echo "fixed interpreter: $$i"; \
-	  fi; \
-	done
 	: # Replace all '#!' calls to python with $(PYTHON3)
 	: # and make them executable
 	for i in `find debian/python3-parallel -mindepth 3 -type f`; do \
@@ -86,7 +61,6 @@
 	    echo "fixed interpreter: $$i"; \
 	  fi; \
 	done
-	dh_python2 -ppython-parallel
 	dh_python3 -ppython3-parallel
 	dh_compress -X.py
 	dh_fixperms

Reply via email to