[Python-modules-commits] r394 - in
/packages/python-pysnmp2/trunk/debian: changelog control
control.in python-pysnmp2.postinst python-pysnmp2.prerm rules
jluebbe-guest at users.alioth.debian.org
jluebbe-guest at users.alioth.debian.org
Thu May 4 15:20:33 UTC 2006
Author: jluebbe-guest
Date: Thu May 4 15:20:32 2006
New Revision: 394
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=394
Log:
Prepare for cooperation with pysnmp[34]
Added:
packages/python-pysnmp2/trunk/debian/control.in
- copied, changed from r393, packages/python-pysnmp2/trunk/debian/control
packages/python-pysnmp2/trunk/debian/python-pysnmp2.postinst
packages/python-pysnmp2/trunk/debian/python-pysnmp2.prerm
Modified:
packages/python-pysnmp2/trunk/debian/changelog
packages/python-pysnmp2/trunk/debian/control
packages/python-pysnmp2/trunk/debian/rules
Modified: packages/python-pysnmp2/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp2/trunk/debian/changelog?rev=394&op=diff
==============================================================================
--- packages/python-pysnmp2/trunk/debian/changelog (original)
+++ packages/python-pysnmp2/trunk/debian/changelog Thu May 4 15:20:32 2006
@@ -1,3 +1,10 @@
+python-pysnmp2 (2.0.8-2) unstable; urgency=low
+
+ * Use python-support and drop version-specific packages.
+ * Install into pysnmp/v2 for use with pysnmp version selection.
+
+ -- Jan Luebbe <jluebbe at lasnet.de> Thu, 4 May 2006 17:18:23 +0200
+
python-pysnmp2 (2.0.8-1) unstable; urgency=low
* New upstream release (closes: #324608)
Modified: packages/python-pysnmp2/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp2/trunk/debian/control?rev=394&op=diff
==============================================================================
--- packages/python-pysnmp2/trunk/debian/control (original)
+++ packages/python-pysnmp2/trunk/debian/control Thu May 4 15:20:32 2006
@@ -2,13 +2,14 @@
Section: python
Priority: optional
Maintainer: Jan Luebbe <jluebbe at lasnet.de>
-Build-Depends-Indep: debhelper (>= 4.1.67), cdbs (>=0.4.26), python, python2.3-dev, python2.4-dev
+Build-Depends-Indep: cdbs (>= 0.4.23-1.1), debhelper (>= 4.2.0), python-dev
Standards-Version: 3.6.2.1
Package: python-pysnmp2
Architecture: all
-Depends: ${python:Depends}
-Conflicts: python-pysnmp3, python-pysnmp4
+Depends: python (>= 2.3), python-support (>= 0.2)
+Conflicts: python2.3-pysnmp2, python2.4-pysnmp2
+Replaces: python2.3-pysnmp2, python2.4-pysnmp2
Description: Python SNMP library for agents and managers (stable branch)
This is a Python implementation of SNMP v.1/v.2c engine. Its general
functionality is to assemble/disassemble SNMP messages from/into
@@ -19,41 +20,4 @@
that it does not rely on any third party tool (it is not a wrapper!).
.
PySNMP 2.x is the stable branch.
- .
- This package is a dependency package, which depends on Debian's default
- Python version and respective python-pysnmp2 package version (currently 2.3).
-Package: python2.3-pysnmp2
-Architecture: all
-Depends: ${python:Depends}
-Conflicts: python2.3-pysnmp3, python2.3-pysnmp4
-Description: Python SNMP library for agents and managers (stable branch)
- This is a Python implementation of SNMP v.1/v.2c 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 is not a wrapper!).
- .
- PySNMP 2.x is the stable branch.
- .
- This package provides modules for Python 2.3
-
-Package: python2.4-pysnmp2
-Architecture: all
-Depends: ${python:Depends}
-Conflicts: python2.4-pysnmp3, python2.4-pysnmp4
-Description: Python SNMP library for agents and managers (stable branch)
- This is a Python implementation of SNMP v.1/v.2c 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 is not a wrapper!).
- .
- PySNMP 2.x is the stable branch.
- .
- This package provides modules for Python 2.4
-
Copied: packages/python-pysnmp2/trunk/debian/control.in (from r393, packages/python-pysnmp2/trunk/debian/control)
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp2/trunk/debian/control.in?rev=394&op=diff
==============================================================================
--- packages/python-pysnmp2/trunk/debian/control (original)
+++ packages/python-pysnmp2/trunk/debian/control.in Thu May 4 15:20:32 2006
@@ -2,13 +2,14 @@
Section: python
Priority: optional
Maintainer: Jan Luebbe <jluebbe at lasnet.de>
-Build-Depends-Indep: debhelper (>= 4.1.67), cdbs (>=0.4.26), python, python2.3-dev, python2.4-dev
+Build-Depends-Indep: @cdbs@, python-dev
Standards-Version: 3.6.2.1
Package: python-pysnmp2
Architecture: all
-Depends: ${python:Depends}
-Conflicts: python-pysnmp3, python-pysnmp4
+Depends: python (>= 2.3), python-support (>= 0.2)
+Conflicts: python2.3-pysnmp2, python2.4-pysnmp2
+Replaces: python2.3-pysnmp2, python2.4-pysnmp2
Description: Python SNMP library for agents and managers (stable branch)
This is a Python implementation of SNMP v.1/v.2c engine. Its general
functionality is to assemble/disassemble SNMP messages from/into
@@ -19,41 +20,4 @@
that it does not rely on any third party tool (it is not a wrapper!).
.
PySNMP 2.x is the stable branch.
- .
- This package is a dependency package, which depends on Debian's default
- Python version and respective python-pysnmp2 package version (currently 2.3).
-Package: python2.3-pysnmp2
-Architecture: all
-Depends: ${python:Depends}
-Conflicts: python2.3-pysnmp3, python2.3-pysnmp4
-Description: Python SNMP library for agents and managers (stable branch)
- This is a Python implementation of SNMP v.1/v.2c 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 is not a wrapper!).
- .
- PySNMP 2.x is the stable branch.
- .
- This package provides modules for Python 2.3
-
-Package: python2.4-pysnmp2
-Architecture: all
-Depends: ${python:Depends}
-Conflicts: python2.4-pysnmp3, python2.4-pysnmp4
-Description: Python SNMP library for agents and managers (stable branch)
- This is a Python implementation of SNMP v.1/v.2c 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 is not a wrapper!).
- .
- PySNMP 2.x is the stable branch.
- .
- This package provides modules for Python 2.4
-
Added: packages/python-pysnmp2/trunk/debian/python-pysnmp2.postinst
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp2/trunk/debian/python-pysnmp2.postinst?rev=394&op=file
==============================================================================
--- packages/python-pysnmp2/trunk/debian/python-pysnmp2.postinst (added)
+++ packages/python-pysnmp2/trunk/debian/python-pysnmp2.postinst Thu May 4 15:20:32 2006
@@ -1,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+if [ "$1" = "configure" ] && which update-python-modules >/dev/null 2>&1; then
+ update-python-modules -i /usr/share/python-support/pysnmp2
+fi
+
Added: packages/python-pysnmp2/trunk/debian/python-pysnmp2.prerm
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp2/trunk/debian/python-pysnmp2.prerm?rev=394&op=file
==============================================================================
--- packages/python-pysnmp2/trunk/debian/python-pysnmp2.prerm (added)
+++ packages/python-pysnmp2/trunk/debian/python-pysnmp2.prerm Thu May 4 15:20:32 2006
@@ -1,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+if which update-python-modules >/dev/null 2>&1; then
+ update-python-modules -c -i /usr/share/python-support/pysnmp2
+fi
+
Modified: packages/python-pysnmp2/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp2/trunk/debian/rules?rev=394&op=diff
==============================================================================
--- packages/python-pysnmp2/trunk/debian/rules (original)
+++ packages/python-pysnmp2/trunk/debian/rules Thu May 4 15:20:32 2006
@@ -1,7 +1,14 @@
#!/usr/bin/make -f
+# python-distutils before debhelper to avoid it calling dh_python by itself
+include /usr/share/cdbs/1/class/python-distutils.mk
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
-DEB_INSTALL_DOCS_python2.3-pysnmp2 := html examples
-DEB_INSTALL_DOCS_python2.4-pysnmp2 := html examples
+DEB_PYTHON_INSTALL_ARGS_ALL += --install-lib usr/share/python-support/pysnmp2
+DEB_INSTALL_DOCS_python-pysnmp2 := html examples
+
+install/python-pysnmp2::
+ mkdir debian/python-pysnmp2/usr/share/python-support/pysnmp2/pysnmp/v2
+ mv debian/python-pysnmp2/usr/share/python-support/pysnmp2/pysnmp/*.py \
+ debian/python-pysnmp2/usr/share/python-support/pysnmp2/pysnmp/v2/
+
More information about the Python-modules-commits
mailing list