Control: tags 938053 + patch

Dear maintainer,

I've prepared an NMU for python-publicsuffix (versioned as 1.1.0-2.1). The diff
is attached to this message.

Regards.

diff -Nru python-publicsuffix-1.1.0/debian/changelog python-publicsuffix-1.1.0/debian/changelog
--- python-publicsuffix-1.1.0/debian/changelog	2015-09-05 06:38:27.000000000 -0400
+++ python-publicsuffix-1.1.0/debian/changelog	2019-12-22 15:21:08.000000000 -0500
@@ -1,3 +1,10 @@
+python-publicsuffix (1.1.0-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #938053
+
+ -- Sandro Tosi <mo...@debian.org>  Sun, 22 Dec 2019 15:21:08 -0500
+
 python-publicsuffix (1.1.0-2) unstable; urgency=medium
 
   * Fix FTBFS with non-UTF-8 locales (Closes: #795978)
diff -Nru python-publicsuffix-1.1.0/debian/control python-publicsuffix-1.1.0/debian/control
--- python-publicsuffix-1.1.0/debian/control	2015-08-09 14:09:47.000000000 -0400
+++ python-publicsuffix-1.1.0/debian/control	2019-12-22 15:20:46.000000000 -0500
@@ -2,25 +2,12 @@
 Maintainer: Evgeni Golov <evg...@debian.org>
 Section: python
 Priority: optional
-Build-Depends: python-all (>= 2.6.6-3), python3-all, dh-python, debhelper (>= 7.0.50~), publicsuffix, python-setuptools, python3-setuptools
+Build-Depends: python3-all, dh-python, debhelper (>= 7.0.50~), publicsuffix, python3-setuptools
 Standards-Version: 3.9.6
 Homepage: https://pypi.python.org/pypi/publicsuffix
 Vcs-Git: git://anonscm.debian.org/collab-maint/python-publicsuffix.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/python-publicsuffix.git
 
-Package: python-publicsuffix
-Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}, publicsuffix, python-pkg-resources
-Description: Python module to get a domain suffix using the Public Suffix List
- This Python module allows you to get the public suffix of a domain name using
- the Public Suffix List from http://publicsuffix.org.
- .
- A public suffix is one under which Internet users can directly register
- names. Some examples of public suffixes are .com, .co.uk and pvt.k12.wy.us.
- Accurately knowing the public suffix of a domain is useful when handling
- web browser cookies, highlighting the most important part of a domain name
- in a user interface or sorting URLs by web site.
-
 Package: python3-publicsuffix
 Architecture: all
 Depends: ${misc:Depends}, ${python3:Depends}, publicsuffix, python3-pkg-resources
diff -Nru python-publicsuffix-1.1.0/debian/rules python-publicsuffix-1.1.0/debian/rules
--- python-publicsuffix-1.1.0/debian/rules	2015-08-09 07:18:21.000000000 -0400
+++ python-publicsuffix-1.1.0/debian/rules	2019-12-22 15:20:53.000000000 -0500
@@ -3,7 +3,7 @@
 export PYBUILD_NAME=publicsuffix
 
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
+	dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_auto_install:
 	dh_auto_install
diff -Nru python-publicsuffix-1.1.0/debian/tests/control python-publicsuffix-1.1.0/debian/tests/control
--- python-publicsuffix-1.1.0/debian/tests/control	2015-08-09 14:12:30.000000000 -0400
+++ python-publicsuffix-1.1.0/debian/tests/control	2019-12-22 15:21:02.000000000 -0500
@@ -1,7 +1,3 @@
-Test-Command: python2 tests.py -v
-Restrictions: allow-stderr
-Depends: python, python-publicsuffix
-
 Test-Command: python3 tests.py -v
 Restrictions: allow-stderr
 Depends: python3, python3-publicsuffix

Reply via email to