[Pkg-zenoss-commits] r19 - in packages/pynetsnmp/trunk/debian: . patches

Bernd Zeimetz bzed-guest at alioth.debian.org
Tue May 8 21:32:17 UTC 2007


Author: bzed-guest
Date: 2007-05-08 21:32:17 +0000 (Tue, 08 May 2007)
New Revision: 19

Added:
   packages/pynetsnmp/trunk/debian/patches/00dpatch.conf
Modified:
   packages/pynetsnmp/trunk/debian/control
   packages/pynetsnmp/trunk/debian/patches/build-constants.dpatch
   packages/pynetsnmp/trunk/debian/rules
Log:
updating patches...


Modified: packages/pynetsnmp/trunk/debian/control
===================================================================
--- packages/pynetsnmp/trunk/debian/control	2007-05-08 21:15:43 UTC (rev 18)
+++ packages/pynetsnmp/trunk/debian/control	2007-05-08 21:32:17 UTC (rev 19)
@@ -3,7 +3,9 @@
 Priority: optional
 Maintainer: Zenoss Packaging Team <pkg-zenoss-team at lists.alioth.debian.org>
 Uploaders: Bernd Zeimetz <bernd at bzed.de>
-Build-Depends: cdbs, debhelper (>= 5), debhelper (>= 5), python, python-support (>= 0.4), libsnmp10-dev
+Build-Depends: cdbs, debhelper (>= 5), dpatch, python, python-support (>= 0.4), libsnmp10-dev
+XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-zenoss/packages/pynetsnmp/trunk/
+XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-zenoss/packages/pynetsnmp/trunk/
 Standards-Version: 3.7.2
 
 Package: python-pynetsnmp

Added: packages/pynetsnmp/trunk/debian/patches/00dpatch.conf
===================================================================
--- packages/pynetsnmp/trunk/debian/patches/00dpatch.conf	2007-05-08 21:15:43 UTC (rev 18)
+++ packages/pynetsnmp/trunk/debian/patches/00dpatch.conf	2007-05-08 21:32:17 UTC (rev 19)
@@ -0,0 +1,2 @@
+conf_debianonly=1
+conf_origtargzpath=../tarballs

Modified: packages/pynetsnmp/trunk/debian/patches/build-constants.dpatch
===================================================================
--- packages/pynetsnmp/trunk/debian/patches/build-constants.dpatch	2007-05-08 21:15:43 UTC (rev 18)
+++ packages/pynetsnmp/trunk/debian/patches/build-constants.dpatch	2007-05-08 21:32:17 UTC (rev 19)
@@ -4,10 +4,10 @@
 ## DP: generating the CONSTANTS.py from setup.py.
 
 @DPATCH@
-diff -urNad pynetsnmp-0.22~/setup.py pynetsnmp-0.22/setup.py
---- pynetsnmp-0.22~/setup.py	2007-05-08 22:50:48.000000000 +0200
-+++ pynetsnmp-0.22/setup.py	2007-05-08 22:51:38.000000000 +0200
-@@ -1,11 +1,26 @@
+diff -urNad pynetsnmp~/setup.py pynetsnmp/setup.py
+--- pynetsnmp~/setup.py	2007-04-07 20:48:28.000000000 +0200
++++ pynetsnmp/setup.py	2007-05-08 23:27:23.000000000 +0200
+@@ -1,11 +1,27 @@
 +from distutils.command.build import build as _build
 +from distutils.command.clean import clean as _clean
  from distutils.core import setup
@@ -17,9 +17,10 @@
 +
 +class clean(_clean):
 +    def run(self):
-+        if os.path.exists("CONSTANTS.py"):
-+            os.remove("CONSTANTS.py")
-+        _clean.run(self)
++        for filename in "CONSTANTS.py", "CONSTANTS.pyc":
++            if os.path.exists(filename):
++                os.remove(filename)
++            _clean.run(self)
 +
 +class build(_build):
 +    def run(self):

Modified: packages/pynetsnmp/trunk/debian/rules
===================================================================
--- packages/pynetsnmp/trunk/debian/rules	2007-05-08 21:15:43 UTC (rev 18)
+++ packages/pynetsnmp/trunk/debian/rules	2007-05-08 21:32:17 UTC (rev 19)
@@ -3,9 +3,10 @@
 DEB_PYTHON_SYSTEM=pysupport
 
 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
-include /usr/share/cdbs/1/class/python-distutils.mk
 
+
 configure/python-pynetsnmp::
 	mv CONSTANTS.py CONSTANTS.py_orig
 




More information about the Pkg-zenoss-commits mailing list