summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorAndrej Shadura <andrew.shadura@collabora.co.uk>2019-08-01 15:41:52 +0200
committerAndrej Shadura <andrew.shadura@collabora.co.uk>2019-08-01 15:42:33 +0200
commit263330e69d037727b11727c6d7a49896227628d3 (patch)
tree313a389771b9e7cd2d9aeff8e458979732e0cc38 /debian
parentf58acb9346fba5fcfb23c1096526308d2ea113cb (diff)
Drop Python 2 support
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog1
-rw-r--r--debian/control10
-rw-r--r--debian/python-phonenumbers.docs2
-rwxr-xr-xdebian/rules2
4 files changed, 2 insertions, 13 deletions
diff --git a/debian/changelog b/debian/changelog
index bb1eb5f4..b044a743 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ python-phonenumbers (8.9.10-2) UNRELEASED; urgency=medium
[ Andrej Shadura ]
* Maintain in the team.
* Bump debhelper from old 9 to 12.
+ * Drop Python 2 support.
-- Ondřej Nový <onovy@debian.org> Mon, 01 Oct 2018 09:38:01 +0200
diff --git a/debian/control b/debian/control
index b4f8c4b5..039bc005 100644
--- a/debian/control
+++ b/debian/control
@@ -7,8 +7,6 @@ Rules-Requires-Root: no
Build-Depends:
debhelper (>= 12~),
dh-python,
- python-all (>= 2.6.6-3),
- python-setuptools (>= 0.6.24),
python3-all,
python3-setuptools (>= 0.6.24)
Standards-Version: 4.0.0
@@ -17,14 +15,6 @@ Homepage: https://github.com/daviddrysdale/python-phonenumbers
Vcs-Git: https://salsa.debian.org/debian/python-phonenumbers.git
Vcs-Browser: https://salsa.debian.org/debian/python-phonenumbers
-Package: python-phonenumbers
-Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}
-Provides: ${python:Provides}
-Description: parsing/formatting/validating phone numbers - Python 2
- This package provides a Python 2 port of Google's libphonenumber library
- for parsing, formatting, storing and validating international phone numbers.
-
Package: python3-phonenumbers
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}
diff --git a/debian/python-phonenumbers.docs b/debian/python-phonenumbers.docs
deleted file mode 100644
index 10a9518c..00000000
--- a/debian/python-phonenumbers.docs
+++ /dev/null
@@ -1,2 +0,0 @@
-README.md
-python/HISTORY.md
diff --git a/debian/rules b/debian/rules
index f5e4f4ee..88e76c16 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,4 +3,4 @@
export PYBUILD_NAME=phonenumbers
%:
- dh $@ --with python2,python3 --buildsystem=pybuild
+ dh $@ --with python3 --buildsystem=pybuild