[Pkg-zenoss-commits] r20 - packages/pynetsnmp/trunk/debian/patches

Bernd Zeimetz bzed-guest at alioth.debian.org
Tue May 8 22:07:07 UTC 2007


Author: bzed-guest
Date: 2007-05-08 22:07:06 +0000 (Tue, 08 May 2007)
New Revision: 20

Modified:
   packages/pynetsnmp/trunk/debian/patches/build-constants.dpatch
   packages/pynetsnmp/trunk/debian/patches/genconstants-fix.dpatch
Log:
fixing the fix.


Modified: packages/pynetsnmp/trunk/debian/patches/build-constants.dpatch
===================================================================
--- packages/pynetsnmp/trunk/debian/patches/build-constants.dpatch	2007-05-08 21:32:17 UTC (rev 19)
+++ packages/pynetsnmp/trunk/debian/patches/build-constants.dpatch	2007-05-08 22:07:06 UTC (rev 20)
@@ -6,7 +6,7 @@
 @DPATCH@
 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
++++ pynetsnmp/setup.py	2007-05-08 23:55:34.000000000 +0200
 @@ -1,11 +1,27 @@
 +from distutils.command.build import build as _build
 +from distutils.command.clean import clean as _clean
@@ -25,7 +25,7 @@
 +class build(_build):
 +    def run(self):
 +        genconstants.make_imports()
-+        _build_py.run(self)
++        _build.run(self)
 +
  setup(name='pynetsnmp',
        description='ctypes wrapper for net-snmp',

Modified: packages/pynetsnmp/trunk/debian/patches/genconstants-fix.dpatch
===================================================================
--- packages/pynetsnmp/trunk/debian/patches/genconstants-fix.dpatch	2007-05-08 21:32:17 UTC (rev 19)
+++ packages/pynetsnmp/trunk/debian/patches/genconstants-fix.dpatch	2007-05-08 22:07:06 UTC (rev 20)
@@ -13,15 +13,3 @@
  
  def process(f, output):
      lines = open('/usr/include/net-snmp/library/%s.h' % f).readlines()
-diff -urNad pynetsnmp-0.22~/setup.py pynetsnmp-0.22/setup.py
---- pynetsnmp-0.22~/setup.py	2007-05-08 23:11:51.000000000 +0200
-+++ pynetsnmp-0.22/setup.py	2007-05-08 23:12:14.000000000 +0200
-@@ -14,7 +14,7 @@
- class build(_build):
-     def run(self):
-         genconstants.make_imports()
--        _build_py.run(self)
-+        _build.run(self)
- 
- setup(name='pynetsnmp',
-       description='ctypes wrapper for net-snmp',




More information about the Pkg-zenoss-commits mailing list