[Python-modules-commits] r25929 - in packages/python-pysnmp4/trunk/debian (5 files)

bernat at users.alioth.debian.org bernat at users.alioth.debian.org
Mon Sep 23 22:08:36 UTC 2013


    Date: Monday, September 23, 2013 @ 22:08:34
  Author: bernat
Revision: 25929

Add Python 3 support. Closes: #706718.

Added:
  packages/python-pysnmp4/trunk/debian/python-pysnmp4.install
  packages/python-pysnmp4/trunk/debian/python3-pysnmp4.install
Modified:
  packages/python-pysnmp4/trunk/debian/changelog
  packages/python-pysnmp4/trunk/debian/control
  packages/python-pysnmp4/trunk/debian/rules

Modified: packages/python-pysnmp4/trunk/debian/changelog
===================================================================
--- packages/python-pysnmp4/trunk/debian/changelog	2013-09-23 20:05:59 UTC (rev 25928)
+++ packages/python-pysnmp4/trunk/debian/changelog	2013-09-23 22:08:34 UTC (rev 25929)
@@ -1,6 +1,7 @@
 python-pysnmp4 (4.2.4-2) UNRELEASED; urgency=low
 
   * Depends on smitools for build-pysnmp-mib. Closes: #691228.
+  * Build python3-pysnmp package. Closes: #706718.
 
  -- Vincent Bernat <bernat at debian.org>  Sat, 27 Jul 2013 18:41:02 +0200
 

Modified: packages/python-pysnmp4/trunk/debian/control
===================================================================
--- packages/python-pysnmp4/trunk/debian/control	2013-09-23 20:05:59 UTC (rev 25928)
+++ packages/python-pysnmp4/trunk/debian/control	2013-09-23 22:08:34 UTC (rev 25929)
@@ -7,8 +7,8 @@
 Standards-Version: 3.9.4
 Build-Depends: debhelper (>= 5.0.37.2),
                cdbs (>= 0.4.90~), 
-               python-all (>= 2.6.6-3~),
-	       python-setuptools
+               python-all (>= 2.6.6-3~), python3-all,
+	       python-setuptools, python3-setuptools
 Homepage: http://pysnmp.sourceforge.net/
 X-Python-Version: >= 2.4
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-pysnmp4/trunk/
@@ -33,7 +33,7 @@
           python-pysnmp-common
 Provides: python-pysnmp2,
           python-pysnmp-common
-Description: Python SNMP library for agents and managers (unstable branch)
+Description: Python SNMP library for agents and managers (Python 2 module)
  This  is a  Python implementation  of SNMP  v.1/v.2c/v.3  engine. Its
  general  functionality  is   to  assemble/disassemble  SNMP  messages
  from/into given SNMP Object  IDs along with associated values. PySNMP
@@ -42,8 +42,28 @@
  PySNMP is written entirely in  Python and is self-sufficient in terms
  that it does not rely on any third party tool (it isn't a wrapper).
  .
- PySNMP 4.x is the unstable branch.
+ This package provides Python 2 module.
 
+Package: python3-pysnmp4
+Architecture: all
+Depends: ${python3:Depends},
+         libsmi2ldbl,
+         libsmi2-common,
+         python3-pyasn1,
+	 ${misc:Depends}
+Recommends: python3-crypto,
+Suggests: python-pysnmp4-doc, doc-base
+Description: Python SNMP library for agents and managers (Python 3 module)
+ This  is a  Python implementation  of SNMP  v.1/v.2c/v.3  engine. Its
+ general  functionality  is   to  assemble/disassemble  SNMP  messages
+ from/into given SNMP Object  IDs along with associated values. PySNMP
+ also provides a few transport methods specific to TCP/IP networking.
+ .
+ PySNMP is written entirely in  Python and is self-sufficient in terms
+ that it does not rely on any third party tool (it isn't a wrapper).
+ .
+ This package provides Python 3 module.
+
 Package: python-pysnmp4-doc
 Section: doc
 Architecture: all
@@ -57,6 +77,4 @@
  PySNMP is written entirely in  Python and is self-sufficient in terms
  that it does not rely on any third party tool (it isn't a wrapper).
  .
- PySNMP 4.x is the unstable branch.
- .
  This package contains the documentation for PySNMP.

Added: packages/python-pysnmp4/trunk/debian/python-pysnmp4.install
===================================================================
--- packages/python-pysnmp4/trunk/debian/python-pysnmp4.install	                        (rev 0)
+++ packages/python-pysnmp4/trunk/debian/python-pysnmp4.install	2013-09-23 22:08:34 UTC (rev 25929)
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/python2*
+debian/tmp/usr/bin

Added: packages/python-pysnmp4/trunk/debian/python3-pysnmp4.install
===================================================================
--- packages/python-pysnmp4/trunk/debian/python3-pysnmp4.install	                        (rev 0)
+++ packages/python-pysnmp4/trunk/debian/python3-pysnmp4.install	2013-09-23 22:08:34 UTC (rev 25929)
@@ -0,0 +1 @@
+debian/tmp/usr/lib/python3*

Modified: packages/python-pysnmp4/trunk/debian/rules
===================================================================
--- packages/python-pysnmp4/trunk/debian/rules	2013-09-23 20:05:59 UTC (rev 25928)
+++ packages/python-pysnmp4/trunk/debian/rules	2013-09-23 22:08:34 UTC (rev 25929)
@@ -6,6 +6,3 @@
 
 # Don't compress .py files
 DEB_COMPRESS_EXCLUDE := .py
-
-DEB_PYTHON_INSTALL_ARGS_ALL += --install-layout=deb
-DEB_DESTDIR=debian/python-pysnmp4




More information about the Python-modules-commits mailing list