[Python-modules-commits] r1891 - in
/packages/twistedsnmp/trunk/debian: changelog control patches/
patches/00dpatch.conf patches/00list patches/force_pysnmp-se.dpatch rules
zack at users.alioth.debian.org
zack at users.alioth.debian.org
Fri Mar 16 15:21:26 CET 2007
Author: zack
Date: Fri Mar 16 14:21:26 2007
New Revision: 1891
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1891
Log:
deps, removed useless X* fields, added patch to force usage of pysnmp-se, uses dpatch for that
Added:
packages/twistedsnmp/trunk/debian/patches/
packages/twistedsnmp/trunk/debian/patches/00dpatch.conf
packages/twistedsnmp/trunk/debian/patches/00list
packages/twistedsnmp/trunk/debian/patches/force_pysnmp-se.dpatch (with props)
Modified:
packages/twistedsnmp/trunk/debian/changelog
packages/twistedsnmp/trunk/debian/control
packages/twistedsnmp/trunk/debian/rules
Modified: packages/twistedsnmp/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/twistedsnmp/trunk/debian/changelog?rev=1891&op=diff
==============================================================================
--- packages/twistedsnmp/trunk/debian/changelog (original)
+++ packages/twistedsnmp/trunk/debian/changelog Fri Mar 16 14:21:26 2007
@@ -1,6 +1,6 @@
-twistedsnmp (0.3.13-1) UNRELEASED; urgency=low
+twistedsnmp (0.3.13-1) experimental; urgency=low
* Initial release (Closes: #414988)
- -- Stefano Zacchiroli <zack at debian.org> Thu, 15 Mar 2007 11:33:04 +0100
+ -- Stefano Zacchiroli <zack at debian.org> Fri, 16 Mar 2007 15:20:00 +0100
Modified: packages/twistedsnmp/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/twistedsnmp/trunk/debian/control?rev=1891&op=diff
==============================================================================
--- packages/twistedsnmp/trunk/debian/control (original)
+++ packages/twistedsnmp/trunk/debian/control Fri Mar 16 14:21:26 2007
@@ -3,9 +3,8 @@
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Stefano Zacchiroli <zack at debian.org>
-Build-Depends: debhelper (>= 5), cdbs, python, python-support (>= 0.3)
+Build-Depends: debhelper (>= 5), cdbs (>= 0.4.43), dpatch, python, python-support (>= 0.4)
Build-Depends-Indep: python-twisted-core, python-pysnmp-se
-XS-Python-Version: all
XS-Vcs-Svn: svn://svn.debian.org/python-modules/packages/twistedsnmp/trunk/
XS-Vcs-Browser: http://svn.debian.org/wsvn/python-modules/trunk/packages/twistedsnmp/trunk/
Standards-Version: 3.7.2
Added: packages/twistedsnmp/trunk/debian/patches/00dpatch.conf
URL: http://svn.debian.org/wsvn/python-modules/packages/twistedsnmp/trunk/debian/patches/00dpatch.conf?rev=1891&op=file
==============================================================================
--- packages/twistedsnmp/trunk/debian/patches/00dpatch.conf (added)
+++ packages/twistedsnmp/trunk/debian/patches/00dpatch.conf Fri Mar 16 14:21:26 2007
@@ -1,0 +1,2 @@
+conf_debianonly=1
+conf_origtargzpath=../tarballs
Added: packages/twistedsnmp/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/python-modules/packages/twistedsnmp/trunk/debian/patches/00list?rev=1891&op=file
==============================================================================
--- packages/twistedsnmp/trunk/debian/patches/00list (added)
+++ packages/twistedsnmp/trunk/debian/patches/00list Fri Mar 16 14:21:26 2007
@@ -1,0 +1,1 @@
+force_pysnmp-se.dpatch
Added: packages/twistedsnmp/trunk/debian/patches/force_pysnmp-se.dpatch
URL: http://svn.debian.org/wsvn/python-modules/packages/twistedsnmp/trunk/debian/patches/force_pysnmp-se.dpatch?rev=1891&op=file
==============================================================================
--- packages/twistedsnmp/trunk/debian/patches/force_pysnmp-se.dpatch (added)
+++ packages/twistedsnmp/trunk/debian/patches/force_pysnmp-se.dpatch Fri Mar 16 14:21:26 2007
@@ -1,0 +1,29 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## force_pysnmp-se.dpatch by Stefano Zacchiroli <zack at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: force the version of the pysnmp API to 3, so that pysnmp-se is used
+
+ at DPATCH@
+diff -urNad trunk~/__init__.py trunk/__init__.py
+--- trunk~/__init__.py 2004-02-17 11:26:19.000000000 +0000
++++ trunk/__init__.py 2007-03-16 14:19:00.000000000 +0000
+@@ -25,4 +25,16 @@
+ TwistedSNMP is built on top of the PySNMP pure-Python SNMP
+ package, which provides the message formatting and decoding
+ operations required for communication.
+-"""
+\ No newline at end of file
++"""
++
++try:
++ os
++ had_os = True
++except NameError:
++ import os
++ had_os = False
++os.environ['PYSNMP_API_VERSION'] = 'v3'
++if not had_os:
++ del os
++del had_os
++
Propchange: packages/twistedsnmp/trunk/debian/patches/force_pysnmp-se.dpatch
------------------------------------------------------------------------------
svn:executable = *
Modified: packages/twistedsnmp/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/twistedsnmp/trunk/debian/rules?rev=1891&op=diff
==============================================================================
--- packages/twistedsnmp/trunk/debian/rules (original)
+++ packages/twistedsnmp/trunk/debian/rules Fri Mar 16 14:21:26 2007
@@ -3,3 +3,4 @@
DEB_INSTALL_DOCS_python-twistedsnmp = -Xpydoc
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk
+include /usr/share/cdbs/1/rules/dpatch.mk
More information about the Python-modules-commits
mailing list