[Python-modules-commits] [junos-eznc] 05/07: d/control: add Python 3 package

Vincent Bernat bernat at moszumanska.debian.org
Sun Nov 12 18:41:08 UTC 2017


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

bernat pushed a commit to annotated tag debian/2.1.7-1
in repository junos-eznc.

commit 47f803249be2d006bd17ca79661e18d9258bb60f
Author: Vincent Bernat <vincent at bernat.im>
Date:   Sun Nov 12 19:17:56 2017 +0100

    d/control: add Python 3 package
---
 debian/changelog |  1 +
 debian/control   | 42 ++++++++++++++++++++++++++++++++----------
 debian/rules     |  2 +-
 3 files changed, 34 insertions(+), 11 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 89c3309..97fa8d8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ junos-eznc (2.1.7-1) unstable; urgency=medium
 
   * New upstream version.
   * d/control: bump Standards-Version.
+  * d/control: add Python 3 package.
 
  -- Vincent Bernat <bernat at debian.org>  Sun, 12 Nov 2017 19:15:05 +0100
 
diff --git a/debian/control b/debian/control
index 2e2876e..bc394a6 100644
--- a/debian/control
+++ b/debian/control
@@ -4,15 +4,15 @@ Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Vincent Bernat <bernat at debian.org>
 Build-Depends: debhelper (>= 9), dh-python,
-               python-all,
-               python-jinja2,
-               python-lxml,
-               python-ncclient,
-               python-netaddr,
-               python-paramiko,
-               python-scp,
-               python-setuptools,
-               python-yaml,
+               python-all, python3-all,
+               python-jinja2, python3-jinja2,
+               python-lxml, python3-lxml,
+               python-ncclient, python3-ncclient,
+               python-netaddr, python3-netaddr,
+               python-paramiko, python3-paramiko,
+               python-scp, python3-scp,
+               python-setuptools, python3-setuptools,
+               python-yaml, python3-yaml,
 Standards-Version: 4.1.1
 Homepage: http://www.github.com/Juniper/py-junos-eznc
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/junos-eznc.git
@@ -23,7 +23,7 @@ Architecture: all
 Depends: ${misc:Depends}, ${python:Depends}
 Recommends: ${python:Recommends}
 Suggests: ${python:Suggests}
-Description: Junos 'EZ' automation for non-programmers
+Description: Junos 'EZ' automation for non-programmers (Python 2)
  Junos PyEZ is designed to provide the same capabilities as a user
  would have on the Junos CLI, but in an environment built for
  automation tasks. These capabilities include, but are not limited to:
@@ -35,3 +35,25 @@ Description: Junos 'EZ' automation for non-programmers
   - Make configuration changes in unstructured and structured ways
   - Provide common utilities for tasks such as secure copy of files and
     software updates
+ .
+ This package contains the Python 2 version.
+
+Package: python3-junos-eznc
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Recommends: ${python3:Recommends}
+Suggests: ${python3:Suggests}
+Description: Junos 'EZ' automation for non-programmers (Python 3)
+ Junos PyEZ is designed to provide the same capabilities as a user
+ would have on the Junos CLI, but in an environment built for
+ automation tasks. These capabilities include, but are not limited to:
+ .
+  - Remote connectivity and management of Junos devices via NETCONF
+  - Provide "facts" about the device
+  - Retrieve "operational" or "run-state" information
+  - Retrieve configuration information
+  - Make configuration changes in unstructured and structured ways
+  - Provide common utilities for tasks such as secure copy of files and
+    software updates
+ .
+ This package contains the Python 3 version.
diff --git a/debian/rules b/debian/rules
index 56b6cb2..60a8cb2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,4 +3,4 @@
 export PYBUILD_NAME=junos-eznc
 
 %:
-	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/junos-eznc.git



More information about the Python-modules-commits mailing list