[Python-modules-commits] [pyiosxr] 06/06: d/control: add Python 3 package
Vincent Bernat
bernat at moszumanska.debian.org
Sun Nov 12 19:33:23 UTC 2017
This is an automated email from the git hooks/post-receive script.
bernat pushed a commit to annotated tag debian/0.52-1
in repository pyiosxr.
commit 356cb4de908bc92c536a084e1d7e87fb3d9dac83
Author: Vincent Bernat <vincent at bernat.im>
Date: Sun Nov 12 20:23:20 2017 +0100
d/control: add Python 3 package
---
debian/changelog | 1 +
debian/control | 30 ++++++++++++++++++++++++------
debian/rules | 2 +-
3 files changed, 26 insertions(+), 7 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 42e6a3d..29c3702 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ pyiosxr (0.52-1) unstable; urgency=medium
* New upstream version.
* d/copyright: update.
* d/control: bump Standards-Version.
+ * d/control: add Python 3 package.
-- Vincent Bernat <bernat at debian.org> Sun, 12 Nov 2017 20:18:39 +0100
diff --git a/debian/control b/debian/control
index 1023755..5cf7014 100644
--- a/debian/control
+++ b/debian/control
@@ -4,11 +4,13 @@ Priority: optional
Maintainer: Vincent Bernat <bernat at debian.org>
Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Build-Depends: debhelper (>= 9), dh-python,
- python-all,
- python-pexpect,
- python-setuptools,
- python-pip,
- python-mock
+ python-all, python3-all,
+ python-pexpect, python3-pexpect,
+ python-setuptools, python3-setuptools,
+ python-pip, python3-pip,
+ python-mock, python3-mock,
+ python-lxml, python3-lxml,
+ python-netmiko, python3-netmiko,
Standards-Version: 4.1.1
Homepage: https://github.com/fooelisa/pyiosxr/
Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/pyiosxr.git
@@ -20,8 +22,24 @@ Depends: ${misc:Depends}, ${python:Depends},
Recommends: ${python:Recommends}
Suggests: ${python:Suggests}
XB-Python-Egg-Name: pyIOSXR
-Description: Python API to interact with network devices running Cisco IOS-XR
+Description: Python API for Cisco IOX-XR network devices (Python 2)
This package provides a Python API to connect to network devices
running Cisco IOS-XR. It can retrieve several information like
interfaces. It can also modify the current configuration and execute
arbitrary commands.
+ .
+ This package contains the Python 2 version.
+
+Package: python3-pyiosxr
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends},
+Recommends: ${python3:Recommends}
+Suggests: ${python3:Suggests}
+XB-Python-Egg-Name: pyIOSXR
+Description: Python API for Cisco IOX-XR network devices (Python 3)
+ This package provides a Python API to connect to network devices
+ running Cisco IOS-XR. It can retrieve several information like
+ interfaces. It can also modify the current configuration and execute
+ arbitrary commands.
+ .
+ This package contains the Python 3 version.
diff --git a/debian/rules b/debian/rules
index 716c72d..9e3c603 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,4 +2,4 @@
export PYBUILD_NAME=pyiosxr
%:
- dh $@ --with python2 --buildsystem=pybuild
\ No newline at end of file
+ dh $@ --with python2,python3 --buildsystem=pybuild
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pyiosxr.git
More information about the Python-modules-commits
mailing list