[Python-modules-commits] [ntplib] 05/10: Added support for Python 3
Ondřej Nový
onovy-guest at moszumanska.debian.org
Sat Apr 30 15:42:50 UTC 2016
This is an automated email from the git hooks/post-receive script.
onovy-guest pushed a commit to branch master
in repository ntplib.
commit baf2709a67d9c093289fd0af464b4d4eafa9f393
Author: Ondřej Nový <novy at ondrej.org>
Date: Sat Apr 30 17:28:34 2016 +0200
Added support for Python 3
---
debian/changelog | 1 +
debian/control | 21 ++++++++++++++++++---
debian/rules | 2 +-
3 files changed, 20 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index fccdfac..0b7853b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ ntplib (0.3.1-2) UNRELEASED; urgency=medium
* d/watch: Use pypi.debian.net
* d/compat: Bumped to 9
* Enabled autopkgtest-pkg-python
+ * Added support for Python 3
-- Ondřej Nový <novy at ondrej.org> Sat, 30 Apr 2016 16:25:49 +0200
diff --git a/debian/control b/debian/control
index bb7044d..58a5655 100644
--- a/debian/control
+++ b/debian/control
@@ -4,16 +4,31 @@ Uploaders: Tim Retout <diocles at debian.org>
Section: python
Priority: optional
Build-Depends: debhelper (>= 9), dh-python, python-all (>= 2.6.6-3~),
- python-setuptools
+ python-setuptools, python3-all, python3-setuptools
Standards-Version: 3.9.4
Homepage: https://pypi.python.org/pypi/ntplib/
Testsuite: autopkgtest-pkg-python
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
Package: python-ntplib
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}
-Description: Python NTP library
+Description: Python NTP library (Python 2.x)
This module offers a simple interface to query NTP servers from Python.
.
It also provides utility functions to translate NTP fields values to
- text. It is pure Python, and only depends on core modules.
+ text. It is pure Python, and only depends on core modules.
+ .
+ This package contains the Python 2.x module.
+
+Package: python3-ntplib
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Python NTP library (Python 3.x)
+ This module offers a simple interface to query NTP servers from Python.
+ .
+ It also provides utility functions to translate NTP fields values to
+ text. It is pure Python, and only depends on core modules.
+ .
+ This package contains the Python 3.x module.
diff --git a/debian/rules b/debian/rules
index 565a222..8a48363 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,6 @@
export PYBUILD_NAME=ntplib
%:
- dh $@ --with python2 --buildsystem=pybuild
+ dh $@ --with python2,python3 --buildsystem=pybuild
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/ntplib.git
More information about the Python-modules-commits
mailing list