[Python-modules-commits] r517 - in /packages/python-pysnmp4-mibs/trunk/debian: control control.in python-pysnmp4-mibs.postinst python-pysnmp4-mibs.prerm rules

jluebbe-guest at users.alioth.debian.org jluebbe-guest at users.alioth.debian.org
Mon May 8 11:33:45 UTC 2006


Author: jluebbe-guest
Date: Mon May  8 11:33:43 2006
New Revision: 517

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=517
Log:
Update to use python-support

Added:
    packages/python-pysnmp4-mibs/trunk/debian/control.in
      - copied, changed from r513, packages/python-pysnmp4-mibs/trunk/debian/control
    packages/python-pysnmp4-mibs/trunk/debian/python-pysnmp4-mibs.postinst
    packages/python-pysnmp4-mibs/trunk/debian/python-pysnmp4-mibs.prerm
Modified:
    packages/python-pysnmp4-mibs/trunk/debian/control
    packages/python-pysnmp4-mibs/trunk/debian/rules

Modified: packages/python-pysnmp4-mibs/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp4-mibs/trunk/debian/control?rev=517&op=diff
==============================================================================
--- packages/python-pysnmp4-mibs/trunk/debian/control (original)
+++ packages/python-pysnmp4-mibs/trunk/debian/control Mon May  8 11:33:43 2006
@@ -2,74 +2,16 @@
 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
-Standards-Version: 3.6.2.1
+Build-Depends-Indep: cdbs (>= 0.4.23-1.1), debhelper (>= 4.2.0), python-dev
+Standards-Version: 3.7.2
 
 Package: python-pysnmp4-mibs
 Architecture: all
-Depends: ${python:Depends}
-Description: Python SNMP library for agents and managers (new development branch)
- This is an alpha-quality revision of pure-Python, open source and free
- implementation of v1/v2c/v3 SNMP engine.
+Depends: python (>= 2.3), python-support (>= 0.2), python-pysnmp4
+Description: MIBs for the Python SNMP library
+ This package contains MIBs compiled for PySNMP v4, which is written
+ entirely in Python and is self-sufficient in terms that it does not
+ rely on any third party tool.
  .
- 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!).
- .
- Features:
-  * Complete SNMPv1/v2c and SNMPv3 support
-  * SMI framework for resolving MIB information and managing MIB objects
-  * Complete SNMP entity implementation
-  * Extensible network transports framework (UDP and UNIX domain implemented)
-  * Asynchronous socket-based IO API support
-  * 100% Python, works with Python 1.5 and later
-  * MT-safe
- .
- PySNMP 4.x is the new development branch.
- .
- This package is a dependency package, which depends on Debian's default
- Python version and respective python-pysnmp4 package version (currently 2.3).
+  Homepage: http://pysnmp.sourceforge.net/
 
-Package: python2.3-pysnmp4-mibs
-Architecture: all
-Depends: ${python:Depends}, python2.3-pysnmp4
-Description: Python SNMP library for agents and managers (new development branch)
- This is an alpha-quality revision of pure-Python, open source and free
- implementation of v1/v2c/v3 SNMP engine.
- .
- 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!).
- .
- Features:
-  * Complete SNMPv1/v2c and SNMPv3 support
-  * SMI framework for resolving MIB information and managing MIB objects
-  * Complete SNMP entity implementation
-  * Extensible network transports framework (UDP and UNIX domain implemented)
-  * Asynchronous socket-based IO API support
-  * 100% Python, works with Python 1.5 and later
-  * MT-safe
- .
- This package provides modules for Python 2.3
-
-Package: python2.4-pysnmp4-mibs
-Architecture: all
-Depends: ${python:Depends}, python2.4-pysnmp4
-Description: Python SNMP library for agents and managers (new development branch)
- This is an alpha-quality revision of pure-Python, open source and free
- implementation of v1/v2c/v3 SNMP engine.
- .
- 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!).
- .
- Features:
-  * Complete SNMPv1/v2c and SNMPv3 support
-  * SMI framework for resolving MIB information and managing MIB objects
-  * Complete SNMP entity implementation
-  * Extensible network transports framework (UDP and UNIX domain implemented)
-  * Asynchronous socket-based IO API support
-  * 100% Python, works with Python 1.5 and later
-  * MT-safe
- .
- PySNMP 4.x is the new development branch.
- .
- This package provides modules for Python 2.4
-

Copied: packages/python-pysnmp4-mibs/trunk/debian/control.in (from r513, packages/python-pysnmp4-mibs/trunk/debian/control)
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp4-mibs/trunk/debian/control.in?rev=517&op=diff
==============================================================================
--- packages/python-pysnmp4-mibs/trunk/debian/control (original)
+++ packages/python-pysnmp4-mibs/trunk/debian/control.in Mon May  8 11:33:43 2006
@@ -2,74 +2,16 @@
 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
-Standards-Version: 3.6.2.1
+Build-Depends-Indep: @cdbs@, python-dev
+Standards-Version: 3.7.2
 
 Package: python-pysnmp4-mibs
 Architecture: all
-Depends: ${python:Depends}
-Description: Python SNMP library for agents and managers (new development branch)
- This is an alpha-quality revision of pure-Python, open source and free
- implementation of v1/v2c/v3 SNMP engine.
+Depends: python (>= 2.3), python-support (>= 0.2), python-pysnmp4
+Description: MIBs for the Python SNMP library
+ This package contains MIBs compiled for PySNMP v4, which is written
+ entirely in Python and is self-sufficient in terms that it does not
+ rely on any third party tool.
  .
- 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!).
- .
- Features:
-  * Complete SNMPv1/v2c and SNMPv3 support
-  * SMI framework for resolving MIB information and managing MIB objects
-  * Complete SNMP entity implementation
-  * Extensible network transports framework (UDP and UNIX domain implemented)
-  * Asynchronous socket-based IO API support
-  * 100% Python, works with Python 1.5 and later
-  * MT-safe
- .
- PySNMP 4.x is the new development branch.
- .
- This package is a dependency package, which depends on Debian's default
- Python version and respective python-pysnmp4 package version (currently 2.3).
+  Homepage: http://pysnmp.sourceforge.net/
 
-Package: python2.3-pysnmp4-mibs
-Architecture: all
-Depends: ${python:Depends}, python2.3-pysnmp4
-Description: Python SNMP library for agents and managers (new development branch)
- This is an alpha-quality revision of pure-Python, open source and free
- implementation of v1/v2c/v3 SNMP engine.
- .
- 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!).
- .
- Features:
-  * Complete SNMPv1/v2c and SNMPv3 support
-  * SMI framework for resolving MIB information and managing MIB objects
-  * Complete SNMP entity implementation
-  * Extensible network transports framework (UDP and UNIX domain implemented)
-  * Asynchronous socket-based IO API support
-  * 100% Python, works with Python 1.5 and later
-  * MT-safe
- .
- This package provides modules for Python 2.3
-
-Package: python2.4-pysnmp4-mibs
-Architecture: all
-Depends: ${python:Depends}, python2.4-pysnmp4
-Description: Python SNMP library for agents and managers (new development branch)
- This is an alpha-quality revision of pure-Python, open source and free
- implementation of v1/v2c/v3 SNMP engine.
- .
- 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!).
- .
- Features:
-  * Complete SNMPv1/v2c and SNMPv3 support
-  * SMI framework for resolving MIB information and managing MIB objects
-  * Complete SNMP entity implementation
-  * Extensible network transports framework (UDP and UNIX domain implemented)
-  * Asynchronous socket-based IO API support
-  * 100% Python, works with Python 1.5 and later
-  * MT-safe
- .
- PySNMP 4.x is the new development branch.
- .
- This package provides modules for Python 2.4
-

Added: packages/python-pysnmp4-mibs/trunk/debian/python-pysnmp4-mibs.postinst
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp4-mibs/trunk/debian/python-pysnmp4-mibs.postinst?rev=517&op=file
==============================================================================
--- packages/python-pysnmp4-mibs/trunk/debian/python-pysnmp4-mibs.postinst (added)
+++ packages/python-pysnmp4-mibs/trunk/debian/python-pysnmp4-mibs.postinst Mon May  8 11:33:43 2006
@@ -1,0 +1,9 @@
+#!/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/pysnmp4-mibs
+fi

Added: packages/python-pysnmp4-mibs/trunk/debian/python-pysnmp4-mibs.prerm
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp4-mibs/trunk/debian/python-pysnmp4-mibs.prerm?rev=517&op=file
==============================================================================
--- packages/python-pysnmp4-mibs/trunk/debian/python-pysnmp4-mibs.prerm (added)
+++ packages/python-pysnmp4-mibs/trunk/debian/python-pysnmp4-mibs.prerm Mon May  8 11:33:43 2006
@@ -1,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+if which update-python-modules >/dev/null 2>&1; then
+        update-python-modules -c -i /usr/share/python-support/pysnmp4-mibs
+fi

Modified: packages/python-pysnmp4-mibs/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp4-mibs/trunk/debian/rules?rev=517&op=diff
==============================================================================
--- packages/python-pysnmp4-mibs/trunk/debian/rules (original)
+++ packages/python-pysnmp4-mibs/trunk/debian/rules Mon May  8 11:33:43 2006
@@ -1,5 +1,12 @@
 #!/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_PYTHON_INSTALL_ARGS_ALL += --install-lib usr/share/python-support/pysnmp4-mibs
+
+binary-predeb/python-pysnmp4-mibs::
+	# Which .py files to byte-compile
+	echo "2.3-" >debian/python-pysnmp4-mibs/usr/share/python-support/pysnmp4-mibs/.version
+




More information about the Python-modules-commits mailing list