[Python-modules-commits] [flufl.i18n] 03/08: Since new upstream doesn't support python2, drop it

Pierre-Elliott Bécue peb-guest at moszumanska.debian.org
Sat Nov 25 14:40:21 UTC 2017


This is an automated email from the git hooks/post-receive script.

peb-guest pushed a commit to branch master
in repository flufl.i18n.

commit 0002deb83d2cd0b575d4cb5a221c0a47e5d3bc42
Author: Pierre-Elliott Bécue <becue at crans.org>
Date:   Sat Nov 25 15:35:28 2017 +0100

    Since new upstream doesn't support python2, drop it
---
 debian/changelog                | 18 +++++++++++++++---
 debian/control                  | 30 ++++++------------------------
 debian/python-flufl.i18n.links  |  1 -
 debian/python3-flufl.i18n.links |  1 +
 debian/rules                    |  4 ++--
 debian/tests/control            |  2 +-
 debian/tests/smoketest-2        |  4 ----
 7 files changed, 25 insertions(+), 35 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 095e4f6..c393ef1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,7 +7,19 @@ flufl.i18n (1.1.3-5) UNRELEASED; urgency=medium
   [ Barry Warsaw ]
   * d/control: Put DPMT in Maintainers and myself in Uploaders.
 
- -- Ondřej Nový <novy at ondrej.org>  Tue, 29 Mar 2016 21:36:50 +0200
+  [ Pierre-Elliott Bécue ]
+  * New upstream release
+  * d/control:
+    - Bump Standards-Version.
+    - Drops python2 package.
+    - Changes the -doc binary package name.
+  * d/rules:
+    - Removes python2 build.
+  * d/tests:
+    - Removes all python2 references.
+  * d/python-flufl.i18n.links -> d/python3-flufl.i18n.links
+
+ -- Pierre-Elliott Bécue <becue at crans.org>  Sat, 25 Nov 2017 14:35:34 +0100
 
 flufl.i18n (1.1.3-4) unstable; urgency=medium
 
@@ -22,8 +34,8 @@ flufl.i18n (1.1.3-3) unstable; urgency=medium
     - Bump Standards-Version with no other changes necessary.
     - Bump debhelper Build-Depends to version 9.
   * d/compat: Bump to version 9
-  * d/copyright: 
-    - Reorganize to keep lintian happy.  
+  * d/copyright:
+    - Reorganize to keep lintian happy.
     - Update copyright years.
   * d/watch: Use the pypi.debian.net redirector.
   * d/upstream/signing-key.asc: Add upstream's pubkey so that the
diff --git a/debian/control b/debian/control
index f3a730d..968bfd4 100644
--- a/debian/control
+++ b/debian/control
@@ -3,26 +3,21 @@ Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.
 Uploaders: Barry Warsaw <barry at debian.org>
 Homepage: https://launchpad.net/flufl.i18n
 Section: python
-X-Python-Version: >= 2.6
-X-Python3-Version: >= 3.2
 Priority: optional
 Build-Depends: debhelper (>= 9),
                dh-python,
-               python-all (>= 2.6.6-3~),
-               python-setuptools,
-               python-sphinx (>= 1.0.7+dfsg-1~),
                python3-all,
-               python3-setuptools
-Standards-Version: 3.9.6
-XS-Testsuite: autopkgtest
+               python3-public,
+               python3-setuptools,
+               python3-sphinx (>= 1.0.7+dfsg-1~)
+Standards-Version: 4.1.1
+X-Python3-Version: >= 3.5
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/flufl.i18n.git
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/flufl.i18n.git
 
-Package: python-flufl.i18n-doc
+Package: python3-flufl.i18n-doc
 Architecture: all
 Section: doc
-Breaks: python-flufl.i18n-docs
-Replaces: python-flufl.i18n-docs
 Depends: ${misc:Depends}, ${sphinxdoc:Depends}
 Suggests: python-pkg-resources
 Description: high level API for Python internationalization (common documentation)
@@ -36,19 +31,6 @@ Description: high level API for Python internationalization (common documentatio
  .
  This is the common documentation package.
 
-Package: python-flufl.i18n
-Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}
-Suggests: python-flufl.i18n-doc, python-pkg-resources
-Description: high level API for Python internationalization (Python 2)
- This package provides a high level, convenient API for managing
- internationalization translation contexts in Python application.  There is a
- simple API for single-context applications, such as command line scripts which
- only need to translate into one language during the entire course of their
- execution.  There is a more flexible, but still convenient API for
- multi-context applications, such as servers, which may need to switch language
- contexts for different tasks.
-
 Package: python3-flufl.i18n
 Architecture: all
 Depends: ${misc:Depends}, ${python3:Depends}
diff --git a/debian/python-flufl.i18n.links b/debian/python-flufl.i18n.links
deleted file mode 100644
index 02fb053..0000000
--- a/debian/python-flufl.i18n.links
+++ /dev/null
@@ -1 +0,0 @@
-usr/share/doc/python-flufl.i18n/html/_sources usr/share/doc/python-flufl.i18n/rst
diff --git a/debian/python3-flufl.i18n.links b/debian/python3-flufl.i18n.links
new file mode 100644
index 0000000..228a3ad
--- /dev/null
+++ b/debian/python3-flufl.i18n.links
@@ -0,0 +1 @@
+usr/share/doc/python3-flufl.i18n/html/_sources usr/share/doc/python3-flufl.i18n/rst
diff --git a/debian/rules b/debian/rules
index ebd7445..725f70a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,11 +6,11 @@ export PYBUILD_NAME=flufl.i18n
 
 
 %:
-	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_installchangelogs:
 	dh_installchangelogs -k flufl/i18n/NEWS.rst
 
 override_dh_installdocs:
-	python setup.py build_sphinx
+	python3 setup.py build_sphinx
 	dh_installdocs build/sphinx/html
diff --git a/debian/tests/control b/debian/tests/control
index 5efbdfc..3450c68 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,2 @@
-Tests: smoketest-2 smoketest-3
+Tests: smoketest-3
 Depends: @
diff --git a/debian/tests/smoketest-2 b/debian/tests/smoketest-2
deleted file mode 100644
index 61fe030..0000000
--- a/debian/tests/smoketest-2
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/usr/bin/python
-
-import flufl.i18n
-print flufl.i18n.__file__, flufl.i18n.__version__

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/flufl.i18n.git



More information about the Python-modules-commits mailing list