Control: tags 937683 + patch
Control: tags 937683 + pending

Dear maintainer,

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

Regards.

diff -Nru python-cymruwhois-1.6/debian/changelog python-cymruwhois-1.6/debian/changelog
--- python-cymruwhois-1.6/debian/changelog	2018-12-28 13:07:06.000000000 -0500
+++ python-cymruwhois-1.6/debian/changelog	2019-10-06 17:12:33.000000000 -0400
@@ -1,3 +1,10 @@
+python-cymruwhois (1.6-3.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #937683
+
+ -- Sandro Tosi <mo...@debian.org>  Sun, 06 Oct 2019 17:12:33 -0400
+
 python-cymruwhois (1.6-3.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru python-cymruwhois-1.6/debian/control python-cymruwhois-1.6/debian/control
--- python-cymruwhois-1.6/debian/control	2018-07-24 11:06:43.000000000 -0400
+++ python-cymruwhois-1.6/debian/control	2019-10-06 17:11:39.000000000 -0400
@@ -4,14 +4,8 @@
 Priority: optional
 Build-Depends: debhelper (>= 11),
                dh-python,
-               python,
-               python-all,
-               python-setuptools,
                python3-all,
                python3-setuptools,
-               python-docutils,
-               python-sphinx,
-               python-nose,
                python3-nose,
                python3-docutils,
                python3-sphinx
@@ -20,17 +14,6 @@
 Vcs-Git: https://salsa.debian.org/ineteng-team/python-cymruwhois.git
 Homepage: https://pythonhosted.org/cymruwhois/
 
-Package: python-cymruwhois
-Architecture: all
-Depends: ${python:Depends},
-         ${misc:Depends}
-Suggests: python-cymruwhois-doc
-Description: Python library for interfacing with the whois.cymru.com service (Python 2)
- Perform lookups by ip address and return ASN,
- Country Code, and Netblock Owner.
- .
- This package installs the library for Python 2.
-
 Package: python3-cymruwhois
 Architecture: all
 Depends: ${python3:Depends},
diff -Nru python-cymruwhois-1.6/debian/python-cymruwhois.manpages python-cymruwhois-1.6/debian/python-cymruwhois.manpages
--- python-cymruwhois-1.6/debian/python-cymruwhois.manpages	2018-07-24 05:48:03.000000000 -0400
+++ python-cymruwhois-1.6/debian/python-cymruwhois.manpages	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-docs/python-cymruwhois.1
diff -Nru python-cymruwhois-1.6/debian/python-cymruwhois.postinst python-cymruwhois-1.6/debian/python-cymruwhois.postinst
--- python-cymruwhois-1.6/debian/python-cymruwhois.postinst	2018-07-24 05:48:03.000000000 -0400
+++ python-cymruwhois-1.6/debian/python-cymruwhois.postinst	1969-12-31 19:00:00.000000000 -0500
@@ -1,11 +0,0 @@
-#!/bin/sh
-# postinst script for python-cymruwhois
-
-set -e
-if [ $1 = 'configure' ]; then
-	update-alternatives --install /usr/bin/cymruwhois cymruwhois /usr/bin/python-cymruwhois 300 --slave /usr/share/man/man1/cymruwhois.1.gz cymruwhois.1.gz /usr/share/man/man1/python-cymruwhois.1.gz
-fi
-
-#DEBHELPER#
-
-exit 0
diff -Nru python-cymruwhois-1.6/debian/python-cymruwhois.prerm python-cymruwhois-1.6/debian/python-cymruwhois.prerm
--- python-cymruwhois-1.6/debian/python-cymruwhois.prerm	2018-07-24 05:48:03.000000000 -0400
+++ python-cymruwhois-1.6/debian/python-cymruwhois.prerm	1969-12-31 19:00:00.000000000 -0500
@@ -1,13 +0,0 @@
-#!/bin/sh
-# prerm script for python-cymruwhois
-
-set -e
-
-if [ $1 = 'remove' ]; then
-update-alternatives --remove cymruwhois /usr/bin/python-cymruwhois 
-fi
-
-#DEBHELPER#
-
-exit 0
-
diff -Nru python-cymruwhois-1.6/debian/rules python-cymruwhois-1.6/debian/rules
--- python-cymruwhois-1.6/debian/rules	2018-12-28 13:05:45.000000000 -0500
+++ python-cymruwhois-1.6/debian/rules	2019-10-06 17:12:12.000000000 -0400
@@ -5,17 +5,15 @@
 export PYBUILD_NAME=cymruwhois
 
 %:
-	dh $@  --with python2,python3,sphinxdoc --buildsystem=pybuild
+	dh $@  --with python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_build:
 	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ docs/_build/html # HTML generator
-	sed "s/command\./command (Python 2)/" docs/cymruwhois.1>docs/python-cymruwhois.1
 	sed "s/command\./command (Python 3)/" docs/cymruwhois.1>docs/python3-cymruwhois.1
 	dh_auto_build
 
 override_dh_auto_install:
 	dh_auto_install
-	mv $(CURDIR)/debian/python-cymruwhois/usr/bin/cymruwhois $(CURDIR)/debian/python-cymruwhois/usr/bin/python-cymruwhois
 	mv $(CURDIR)/debian/python3-cymruwhois/usr/bin/cymruwhois $(CURDIR)/debian/python3-cymruwhois/usr/bin/python3-cymruwhois
 
 override_dh_auto_test:

Reply via email to