[Python-modules-commits] r283 - in /packages/pysnmp4/trunk/debian: ./ patches/

arnau-guest at users.alioth.debian.org arnau-guest at users.alioth.debian.org
Sat Apr 22 15:19:26 UTC 2006


Author: arnau-guest
Date: Sat Apr 22 15:19:24 2006
New Revision: 283

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=283
Log:
Rename python-pysnmp* to python-pysnmp4*, pysnmp to pysnmp4 and add scripts

Added:
    packages/pysnmp4/trunk/debian/patches/01_readme.patch
    packages/pysnmp4/trunk/debian/python-pysnmp4-doc.examples
      - copied unchanged from r279, packages/pysnmp4/trunk/debian/python-pysnmp-doc.examples
    packages/pysnmp4/trunk/debian/python-pysnmp4-doc.install
      - copied, changed from r279, packages/pysnmp4/trunk/debian/python-pysnmp-doc.install
    packages/pysnmp4/trunk/debian/python-pysnmp4.dirs
      - copied, changed from r279, packages/pysnmp4/trunk/debian/python-pysnmp.dirs
    packages/pysnmp4/trunk/debian/python-pysnmp4.docs
      - copied unchanged from r279, packages/pysnmp4/trunk/debian/python-pysnmp.docs
    packages/pysnmp4/trunk/debian/python-pysnmp4.postinst
      - copied, changed from r279, packages/pysnmp4/trunk/debian/python-pysnmp.postinst
    packages/pysnmp4/trunk/debian/python-pysnmp4.prem
      - copied, changed from r279, packages/pysnmp4/trunk/debian/python-pysnmp.prem
Removed:
    packages/pysnmp4/trunk/debian/python-pysnmp-doc.examples
    packages/pysnmp4/trunk/debian/python-pysnmp-doc.install
    packages/pysnmp4/trunk/debian/python-pysnmp.dirs
    packages/pysnmp4/trunk/debian/python-pysnmp.docs
    packages/pysnmp4/trunk/debian/python-pysnmp.postinst
    packages/pysnmp4/trunk/debian/python-pysnmp.prem
Modified:
    packages/pysnmp4/trunk/debian/README.Debian
    packages/pysnmp4/trunk/debian/changelog
    packages/pysnmp4/trunk/debian/control
    packages/pysnmp4/trunk/debian/control.in
    packages/pysnmp4/trunk/debian/patches/00_script.patch
    packages/pysnmp4/trunk/debian/rules

Modified: packages/pysnmp4/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/python-modules/packages/pysnmp4/trunk/debian/README.Debian?rev=283&op=diff
==============================================================================
--- packages/pysnmp4/trunk/debian/README.Debian (original)
+++ packages/pysnmp4/trunk/debian/README.Debian Sat Apr 22 15:19:24 2006
@@ -1,7 +1,7 @@
 Please note:
 
 The documentation and examples for this package is in
-python-pysnmp-doc.
+python-pysnmp4-doc.
 
 When you install that package, you can find the documentation and
-examples in /usr/share/doc/python-pysnmp-doc.
+examples in /usr/share/doc/python-pysnmp4-doc.

Modified: packages/pysnmp4/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/pysnmp4/trunk/debian/changelog?rev=283&op=diff
==============================================================================
--- packages/pysnmp4/trunk/debian/changelog (original)
+++ packages/pysnmp4/trunk/debian/changelog Sat Apr 22 15:19:24 2006
@@ -1,4 +1,4 @@
-pysnmp (4.1.5a-1) unstable; urgency=low
+pysnmp4 (4.1.5a-1) unstable; urgency=low
 
   * Initial release. Closes: #263417.
 

Modified: packages/pysnmp4/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/pysnmp4/trunk/debian/control?rev=283&op=diff
==============================================================================
--- packages/pysnmp4/trunk/debian/control (original)
+++ packages/pysnmp4/trunk/debian/control Sat Apr 22 15:19:24 2006
@@ -1,38 +1,44 @@
-Source: pysnmp
+Source: pysnmp4
 Section: python
 Priority: optional
 Maintainer: Arnaud Fontaine <arnaud at andesi.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Standards-Version: 3.6.2
-Build-Depends-Indep: cdbs (>= 0.4.23-1.1), debhelper (>= 5), python-dev
+Build-Depends-Indep: cdbs (>= 0.4.23-1.1), debhelper (>= 5), patchutils (>= 0.2.25), python-dev
 
-Package: python-pysnmp
+Package: python-pysnmp4
 Architecture: all
-Depends: python (>= 2.3), python-support, libsmi2, libsmi2-common
-Suggests: python-pysnmp-doc
-Description: Python implementation of SNMP v.1/v.2c engine
- PySNMP's  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.
+Depends: python (>= 2.3), python-support, libsmi2, libsmi2-common, python-pyasn1
+Recommends: python-crypto
+Suggests: python-pysnmp4-doc
+Conflicts: python-pysnmp2, python-pysnmp3
+Description: Python SNMP library for agents and managers (unstable 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 isn't a wrapper).
  .
+ PySNMP 4.x is the unstable branch.
+ .
   Homepage: http://pysnmp.sourceforge.net/
 
-Package: python-pysnmp-doc
+Package: python-pysnmp4-doc
 Section: doc
 Architecture: all
-Description: Python implementation of SNMP v.1/v.2c engine
- PySNMP's  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.
+Description: Python SNMP library for agents and managers (unstable 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 isn't a wrapper).
  .
+ PySNMP 4.x is the unstable branch.
+ .
  This package contains the documentation for PySNMP.
  .
   Homepage: http://pysnmp.sourceforge.net/

Modified: packages/pysnmp4/trunk/debian/control.in
URL: http://svn.debian.org/wsvn/python-modules/packages/pysnmp4/trunk/debian/control.in?rev=283&op=diff
==============================================================================
--- packages/pysnmp4/trunk/debian/control.in (original)
+++ packages/pysnmp4/trunk/debian/control.in Sat Apr 22 15:19:24 2006
@@ -1,4 +1,4 @@
-Source: pysnmp
+Source: pysnmp4
 Section: python
 Priority: optional
 Maintainer: Arnaud Fontaine <arnaud at andesi.org>
@@ -6,33 +6,39 @@
 Standards-Version: 3.6.2
 Build-Depends-Indep: @cdbs@, python-dev
 
-Package: python-pysnmp
+Package: python-pysnmp4
 Architecture: all
-Depends: python (>= 2.3), python-support, libsmi2, libsmi2-common
-Suggests: python-pysnmp-doc
-Description: Python implementation of SNMP v.1/v.2c engine
- PySNMP's  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.
+Depends: python (>= 2.3), python-support, libsmi2, libsmi2-common, python-pyasn1
+Recommends: python-crypto
+Suggests: python-pysnmp4-doc
+Conflicts: python-pysnmp2, python-pysnmp3
+Description: Python SNMP library for agents and managers (unstable 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 isn't a wrapper).
  .
+ PySNMP 4.x is the unstable branch.
+ .
   Homepage: http://pysnmp.sourceforge.net/
 
-Package: python-pysnmp-doc
+Package: python-pysnmp4-doc
 Section: doc
 Architecture: all
-Description: Python implementation of SNMP v.1/v.2c engine
- PySNMP's  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.
+Description: Python SNMP library for agents and managers (unstable 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 isn't a wrapper).
  .
+ PySNMP 4.x is the unstable branch.
+ .
  This package contains the documentation for PySNMP.
  .
   Homepage: http://pysnmp.sourceforge.net/

Modified: packages/pysnmp4/trunk/debian/patches/00_script.patch
URL: http://svn.debian.org/wsvn/python-modules/packages/pysnmp4/trunk/debian/patches/00_script.patch?rev=283&op=diff
==============================================================================
--- packages/pysnmp4/trunk/debian/patches/00_script.patch (original)
+++ packages/pysnmp4/trunk/debian/patches/00_script.patch Sat Apr 22 15:19:24 2006
@@ -8,7 +8,7 @@
 +
  destDir=.
 -libsmi2pysnmp=/usr/local/bin/libsmi2pysnmp
-+libsmi2pysnmp=/usr/bin/libsmi2pysnmp
++libsmi2pysnmp=/usr/share/pysnmp4/libsmi2pysnmp
  
  [ ! -x $libsmi2pysnmp ] && {
    echo "$libsmi2pysnmp not found";

Added: packages/pysnmp4/trunk/debian/patches/01_readme.patch
URL: http://svn.debian.org/wsvn/python-modules/packages/pysnmp4/trunk/debian/patches/01_readme.patch?rev=283&op=file
==============================================================================
--- packages/pysnmp4/trunk/debian/patches/01_readme.patch (added)
+++ packages/pysnmp4/trunk/debian/patches/01_readme.patch Sat Apr 22 15:19:24 2006
@@ -1,0 +1,13 @@
+--- pysnmp4-4.1.5a.old/README	2005-10-26 23:45:52.000000000 +0200
++++ pysnmp4-4.1.5a/README	2006-04-22 17:11:56.000000000 +0200
+@@ -104,8 +104,8 @@
+ PySNMP SMI library.
+ 
+ In order to convert MIB text files into pysnmp.smi-compliant Python source,
+-please, use the pysnmp/tools/buildmibs.sh utility. Review its source code
+-before use.
++please, use the /usr/share/pysnmp4/buildmibs.sh utility. Review its source 
++code before use.
+ 
+ A large set of pre-compiled MIB files is shipped along the pysnmp-mibs
+ package.[2]

Copied: packages/pysnmp4/trunk/debian/python-pysnmp4-doc.install (from r279, packages/pysnmp4/trunk/debian/python-pysnmp-doc.install)
URL: http://svn.debian.org/wsvn/python-modules/packages/pysnmp4/trunk/debian/python-pysnmp4-doc.install?rev=283&op=diff
==============================================================================
--- packages/pysnmp4/trunk/debian/python-pysnmp-doc.install (original)
+++ packages/pysnmp4/trunk/debian/python-pysnmp4-doc.install Sat Apr 22 15:19:24 2006
@@ -1,3 +1,3 @@
-docs/*.{html,gif}	usr/share/doc/python-pysnmp-doc/
-docs/mibs/*.txt		usr/share/doc/python-pysnmp-doc/
+docs/*.{html,gif}	usr/share/doc/python-pysnmp4-doc/
+docs/mibs/*.txt		usr/share/doc/python-pysnmp4-doc/
 

Copied: packages/pysnmp4/trunk/debian/python-pysnmp4.dirs (from r279, packages/pysnmp4/trunk/debian/python-pysnmp.dirs)
URL: http://svn.debian.org/wsvn/python-modules/packages/pysnmp4/trunk/debian/python-pysnmp4.dirs?rev=283&op=diff
==============================================================================
--- packages/pysnmp4/trunk/debian/python-pysnmp.dirs (original)
+++ packages/pysnmp4/trunk/debian/python-pysnmp4.dirs Sat Apr 22 15:19:24 2006
@@ -1,1 +1,1 @@
-usr/share/python-support/pysnmp/
+usr/share/python-support/pysnmp4/

Copied: packages/pysnmp4/trunk/debian/python-pysnmp4.postinst (from r279, packages/pysnmp4/trunk/debian/python-pysnmp.postinst)
URL: http://svn.debian.org/wsvn/python-modules/packages/pysnmp4/trunk/debian/python-pysnmp4.postinst?rev=283&op=diff
==============================================================================
--- packages/pysnmp4/trunk/debian/python-pysnmp.postinst (original)
+++ packages/pysnmp4/trunk/debian/python-pysnmp4.postinst Sat Apr 22 15:19:24 2006
@@ -5,5 +5,5 @@
 #DEBHELPER#
 
 if [ "$1" = "configure" ] && which update-python-modules >/dev/null 2>&1; then
-        update-python-modules -i /usr/share/python-support/pysnmp
+        update-python-modules -i /usr/share/python-support/pysnmp4
 fi

Copied: packages/pysnmp4/trunk/debian/python-pysnmp4.prem (from r279, packages/pysnmp4/trunk/debian/python-pysnmp.prem)
URL: http://svn.debian.org/wsvn/python-modules/packages/pysnmp4/trunk/debian/python-pysnmp4.prem?rev=283&op=diff
==============================================================================
--- packages/pysnmp4/trunk/debian/python-pysnmp.prem (original)
+++ packages/pysnmp4/trunk/debian/python-pysnmp4.prem Sat Apr 22 15:19:24 2006
@@ -5,5 +5,5 @@
 #DEBHELPER#
 
 if which update-python-modules >/dev/null 2>&1; then
-        update-python-modules -c -i /usr/share/python-support/pysnmp
+        update-python-modules -c -i /usr/share/python-support/pysnmp4
 fi

Modified: packages/pysnmp4/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pysnmp4/trunk/debian/rules?rev=283&op=diff
==============================================================================
--- packages/pysnmp4/trunk/debian/rules (original)
+++ packages/pysnmp4/trunk/debian/rules Sat Apr 22 15:19:24 2006
@@ -15,13 +15,13 @@
 DEB_PYTHON_INSTALL_ARGS_ALL = --no-compile -O0 --install-lib usr/share/python-support/pysnmp
 PYVER=$(shell python -V 2>&1 | cut -d ' ' -f 2 | cut -d . -f 1-2)
 
-install/python-pysnmp::
-	install -D -m 755 tools/buildmibs.sh debian/python-pysnmp/usr/bin/buildmibs.sh
-	install -D -m 755 tools/libsmi2pysnmp debian/python-pysnmp/usr/bin/libsmi2pysnmp
+install/python-pysnmp4::
+	install -D -m 755 tools/buildmibs.sh debian/python-pysnmp4/usr/share/pysnmp4/buildmibs.sh
+	install -D -m 755 tools/libsmi2pysnmp debian/python-pysnmp4/usr/share/pysnmp4/libsmi2pysnmp
 
 common-binary-post-install-indep::
 	# Clean the python-pysnmp-doc packages by removing *.py files
-	rm -rf debian/python-pysnmp-doc/usr/lib debian/python-pysnmp-doc/usr/share/python-support
+	rm -rf debian/python-pysnmp4-doc/usr/lib debian/python-pysnmp4-doc/usr/share/python-support
 
 clean::
         # Hack (CDBS bug -- see #300149)




More information about the Python-modules-commits mailing list