[Python-modules-commits] r261 - in /packages/pysnmp/trunk/debian: ./ patches/

arnau-guest at users.alioth.debian.org arnau-guest at users.alioth.debian.org
Fri Apr 21 09:08:40 UTC 2006


Author: arnau-guest
Date: Fri Apr 21 09:08:39 2006
New Revision: 261

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=261
Log:
Load newtrunk into packages/pysnmp/trunk.

Added:
    packages/pysnmp/trunk/debian/
    packages/pysnmp/trunk/debian/README.Debian
    packages/pysnmp/trunk/debian/changelog
    packages/pysnmp/trunk/debian/compat
    packages/pysnmp/trunk/debian/control
    packages/pysnmp/trunk/debian/control.in
    packages/pysnmp/trunk/debian/copyright
    packages/pysnmp/trunk/debian/patches/
    packages/pysnmp/trunk/debian/patches/00_script.patch
    packages/pysnmp/trunk/debian/python-pysnmp-doc.examples
    packages/pysnmp/trunk/debian/python-pysnmp-doc.install
    packages/pysnmp/trunk/debian/python-pysnmp.dirs
    packages/pysnmp/trunk/debian/python-pysnmp.docs
    packages/pysnmp/trunk/debian/python-pysnmp.postinst
    packages/pysnmp/trunk/debian/python-pysnmp.prem
    packages/pysnmp/trunk/debian/rules   (with props)

Added: packages/pysnmp/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/python-modules/packages/pysnmp/trunk/debian/README.Debian?rev=261&op=file
==============================================================================
--- packages/pysnmp/trunk/debian/README.Debian (added)
+++ packages/pysnmp/trunk/debian/README.Debian Fri Apr 21 09:08:39 2006
@@ -1,0 +1,7 @@
+Please note:
+
+The documentation and examples for this package is in
+python-pysnmp-doc.
+
+When you install that package, you can find the documentation and
+examples in /usr/share/doc/python-pysnmp-doc.

Added: packages/pysnmp/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/pysnmp/trunk/debian/changelog?rev=261&op=file
==============================================================================
--- packages/pysnmp/trunk/debian/changelog (added)
+++ packages/pysnmp/trunk/debian/changelog Fri Apr 21 09:08:39 2006
@@ -1,0 +1,5 @@
+pysnmp (4.1.5a-1) unstable; urgency=low
+
+  * Initial release. Closes: #263417.
+
+ -- Arnaud Fontaine <arnaud at andesi.org>  Fri, 21 Apr 2006 08:07:03 +0200

Added: packages/pysnmp/trunk/debian/compat
URL: http://svn.debian.org/wsvn/python-modules/packages/pysnmp/trunk/debian/compat?rev=261&op=file
==============================================================================
--- packages/pysnmp/trunk/debian/compat (added)
+++ packages/pysnmp/trunk/debian/compat Fri Apr 21 09:08:39 2006
@@ -1,0 +1,1 @@
+5

Added: packages/pysnmp/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/pysnmp/trunk/debian/control?rev=261&op=file
==============================================================================
--- packages/pysnmp/trunk/debian/control (added)
+++ packages/pysnmp/trunk/debian/control Fri Apr 21 09:08:39 2006
@@ -1,0 +1,38 @@
+Source: pysnmp
+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
+
+Package: python-pysnmp
+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.
+ .
+ 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).
+ .
+  Homepage: http://pysnmp.sourceforge.net/
+
+Package: python-pysnmp-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.
+ .
+ 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 contains the documentation for PySNMP.
+ .
+  Homepage: http://pysnmp.sourceforge.net/

Added: packages/pysnmp/trunk/debian/control.in
URL: http://svn.debian.org/wsvn/python-modules/packages/pysnmp/trunk/debian/control.in?rev=261&op=file
==============================================================================
--- packages/pysnmp/trunk/debian/control.in (added)
+++ packages/pysnmp/trunk/debian/control.in Fri Apr 21 09:08:39 2006
@@ -1,0 +1,38 @@
+Source: pysnmp
+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@, python-dev
+
+Package: python-pysnmp
+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.
+ .
+ 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).
+ .
+  Homepage: http://pysnmp.sourceforge.net/
+
+Package: python-pysnmp-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.
+ .
+ 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 contains the documentation for PySNMP.
+ .
+  Homepage: http://pysnmp.sourceforge.net/

Added: packages/pysnmp/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/python-modules/packages/pysnmp/trunk/debian/copyright?rev=261&op=file
==============================================================================
--- packages/pysnmp/trunk/debian/copyright (added)
+++ packages/pysnmp/trunk/debian/copyright Fri Apr 21 09:08:39 2006
@@ -1,0 +1,41 @@
+his package was debianized by Arnaud Fontaine <arnaud at andesi.org> on
+Fri, 21 Apr 2006 08:07:03 +0200.
+
+It was downloaded from http://pysnmp.sourceforge.net/download.html
+
+Author: Ilya Etingof <ilya at glas.net>
+
+Copyright: 1999-2006, Ilya Etingof <ilya at glas.net>, all rights reserved.
+
+   THIS SOFTWARE IS  NOT FAULT TOLERANT AND SHOULD NOT  BE USED IN ANY
+   SITUATION ENDANGERING HUMAN LIFE OR PROPERTY.
+
+   Redistribution and use in source  and binary forms, with or without
+   modification, are permitted  provided that the following conditions
+   are met:
+
+       * Redistributions  of   source  code  must   retain  the  above
+         copyright notice,  this list of conditions  and the following
+         disclaimer.
+
+       * Redistributions  in  binary  form  must reproduce  the  above
+         copyright notice,  this list of conditions  and the following
+         disclaimer  in  the   documentation  and/or  other  materials
+         provided with the distribution.
+
+       * The name of the authors may not be used to endorse or promote
+         products  derived from this  software without  specific prior
+         written permission.
+
+   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+   ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+   LIMITED TO,  THE IMPLIED WARRANTIES OF  MERCHANTABILITY AND FITNESS
+   FOR A  PARTICULAR PURPOSE  ARE DISCLAIMED.  IN  NO EVENT  SHALL THE
+   REGENTS  OR  CONTRIBUTORS  BE  LIABLE  FOR  ANY  DIRECT,  INDIRECT,
+   INCIDENTAL,   SPECIAL,    EXEMPLARY,   OR   CONSEQUENTIAL   DAMAGES
+   (INCLUDING, BUT NOT LIMITED  TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+   SERVICES; LOSS OF USE,  DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+   STRICT  LIABILITY,  OR  TORT  (INCLUDING NEGLIGENCE  OR  OTHERWISE)
+   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+   OF THE POSSIBILITY OF SUCH DAMAGE.

Added: packages/pysnmp/trunk/debian/patches/00_script.patch
URL: http://svn.debian.org/wsvn/python-modules/packages/pysnmp/trunk/debian/patches/00_script.patch?rev=261&op=file
==============================================================================
--- packages/pysnmp/trunk/debian/patches/00_script.patch (added)
+++ packages/pysnmp/trunk/debian/patches/00_script.patch Fri Apr 21 09:08:39 2006
@@ -1,0 +1,14 @@
+--- tools/buildmibs.sh.old	2006-04-21 10:55:20.000000000 +0200
++++ tools/buildmibs.sh	2006-04-21 10:56:45.000000000 +0200
+@@ -3,8 +3,10 @@
+ # Build PySNMP MIB/managed objects from MIB text files
+ #
+ 
++set -e
++
+ destDir=.
+-libsmi2pysnmp=/usr/local/bin/libsmi2pysnmp
++libsmi2pysnmp=/usr/bin/libsmi2pysnmp
+ 
+ [ ! -x $libsmi2pysnmp ] && {
+   echo "$libsmi2pysnmp not found";

Added: packages/pysnmp/trunk/debian/python-pysnmp-doc.examples
URL: http://svn.debian.org/wsvn/python-modules/packages/pysnmp/trunk/debian/python-pysnmp-doc.examples?rev=261&op=file
==============================================================================
--- packages/pysnmp/trunk/debian/python-pysnmp-doc.examples (added)
+++ packages/pysnmp/trunk/debian/python-pysnmp-doc.examples Fri Apr 21 09:08:39 2006
@@ -1,0 +1,1 @@
+examples/*

Added: packages/pysnmp/trunk/debian/python-pysnmp-doc.install
URL: http://svn.debian.org/wsvn/python-modules/packages/pysnmp/trunk/debian/python-pysnmp-doc.install?rev=261&op=file
==============================================================================
--- packages/pysnmp/trunk/debian/python-pysnmp-doc.install (added)
+++ packages/pysnmp/trunk/debian/python-pysnmp-doc.install Fri Apr 21 09:08:39 2006
@@ -1,0 +1,3 @@
+docs/*.{html,gif}	usr/share/doc/python-pysnmp-doc/
+docs/mibs/*.txt		usr/share/doc/python-pysnmp-doc/
+

Added: packages/pysnmp/trunk/debian/python-pysnmp.dirs
URL: http://svn.debian.org/wsvn/python-modules/packages/pysnmp/trunk/debian/python-pysnmp.dirs?rev=261&op=file
==============================================================================
--- packages/pysnmp/trunk/debian/python-pysnmp.dirs (added)
+++ packages/pysnmp/trunk/debian/python-pysnmp.dirs Fri Apr 21 09:08:39 2006
@@ -1,0 +1,1 @@
+usr/share/python-support/pysnmp/

Added: packages/pysnmp/trunk/debian/python-pysnmp.docs
URL: http://svn.debian.org/wsvn/python-modules/packages/pysnmp/trunk/debian/python-pysnmp.docs?rev=261&op=file
==============================================================================
--- packages/pysnmp/trunk/debian/python-pysnmp.docs (added)
+++ packages/pysnmp/trunk/debian/python-pysnmp.docs Fri Apr 21 09:08:39 2006
@@ -1,0 +1,1 @@
+debian/README.Debian

Added: packages/pysnmp/trunk/debian/python-pysnmp.postinst
URL: http://svn.debian.org/wsvn/python-modules/packages/pysnmp/trunk/debian/python-pysnmp.postinst?rev=261&op=file
==============================================================================
--- packages/pysnmp/trunk/debian/python-pysnmp.postinst (added)
+++ packages/pysnmp/trunk/debian/python-pysnmp.postinst Fri Apr 21 09:08:39 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/pysnmp
+fi

Added: packages/pysnmp/trunk/debian/python-pysnmp.prem
URL: http://svn.debian.org/wsvn/python-modules/packages/pysnmp/trunk/debian/python-pysnmp.prem?rev=261&op=file
==============================================================================
--- packages/pysnmp/trunk/debian/python-pysnmp.prem (added)
+++ packages/pysnmp/trunk/debian/python-pysnmp.prem Fri Apr 21 09:08:39 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/pysnmp
+fi

Added: packages/pysnmp/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pysnmp/trunk/debian/rules?rev=261&op=file
==============================================================================
--- packages/pysnmp/trunk/debian/rules (added)
+++ packages/pysnmp/trunk/debian/rules Fri Apr 21 09:08:39 2006
@@ -1,0 +1,28 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+
+# python-distutils before debhelper to avoid it calling dh_python
+# itself
+include /usr/share/cdbs/1/class/python-distutils.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+# Don't compress .py files
+DEB_COMPRESS_EXCLUDE := .py
+
+# python-support stuff (based on python-cherrypy, thanks to its
+# maintainer)
+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
+
+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
+
+clean::
+        # Hack (CDBS bug -- see #300149)
+	-rm -rf build

Propchange: packages/pysnmp/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *




More information about the Python-modules-commits mailing list