[Python-modules-commits] [pyfg] 05/05: d/control: add Python 3 package
Vincent Bernat
bernat at moszumanska.debian.org
Sun Nov 12 19:05:18 UTC 2017
This is an automated email from the git hooks/post-receive script.
bernat pushed a commit to annotated tag debian/0.50-1
in repository pyfg.
commit 2fe428c0440824d6b270b3f3b61ab8f770f5b045
Author: Vincent Bernat <vincent at bernat.im>
Date: Sun Nov 12 20:01:36 2017 +0100
d/control: add Python 3 package
---
debian/changelog | 1 +
debian/control | 26 +++++++++++++++++++++-----
debian/rules | 2 +-
3 files changed, 23 insertions(+), 6 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 67c67ba..e7732f1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ pyfg (0.50-1) unstable; urgency=medium
* New upstream release.
* d/control: bump Standards-Version.
+ * d/control: add Python 3 package.
-- Vincent Bernat <bernat at debian.org> Sun, 12 Nov 2017 19:58:17 +0100
diff --git a/debian/control b/debian/control
index 45cd424..bb93caa 100644
--- a/debian/control
+++ b/debian/control
@@ -4,10 +4,10 @@ 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-paramiko,
- python-setuptools,
- python-pip,
+ python-all, python3-all,
+ python-paramiko, python3-paramiko,
+ python-setuptools, python3-setuptools,
+ python-pip, python3-pip,
Standards-Version: 4.1.1
Homepage: https://github.com/spotify/pyfg
Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/pyfg.git
@@ -19,8 +19,24 @@ Depends: ${misc:Depends}, ${python:Depends},
Recommends: ${python:Recommends}
Suggests: ${python:Suggests}
XB-Python-Egg-Name: pyfg
-Description: Python API for Fortinet's Fortigate firewalls
+Description: Python API for Fortinet's Fortigate firewalls (Python 2)
This package provides a Python API to connect to FortiGate network
firewalls from Fortinet. It can retrieve several information,
including interfaces and inventory. It can also modify the
current configuration and execute arbitrary commands.
+ .
+ This package contains the Python 2 version.
+
+Package: python3-pyfg
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends},
+Recommends: ${python3:Recommends}
+Suggests: ${python3:Suggests}
+XB-Python-Egg-Name: pyfg
+Description: Python API for Fortinet's Fortigate firewalls (Python 3)
+ This package provides a Python API to connect to FortiGate network
+ firewalls from Fortinet. It can retrieve several information,
+ including interfaces and inventory. 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 54fbc97..587ffda 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,4 +2,4 @@
export PYBUILD_NAME=pyfg
%:
- 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/pyfg.git
More information about the Python-modules-commits
mailing list