[weasel-commit] Source: dbus-python=0.83.0-2

  • From: rbuilder@xxxxxxxxx
  • To: weasel-commit@xxxxxxxxxxxxx
  • Date: Sun, 10 Jan 2010 11:07:19 -0500

================================
dbus-python:source=0.83.0-2 (previous: 0.83.0-1)
cvc rdiff dbus-python -1 /weasel.rpath.org@wgl:3-devel/0.83.0-2
================================
0.83.0-2 Filip Brcic (brcha@xxxxxxx) Sun Jan 10 11:07:06 2010
    fixed recipe & metadata

dbus-python.recipe: changed
Index: dbus-python.recipe
====================================================================
contents(size sha1)
inode(mtime)
--- dbus-python.recipe /weasel.rpath.org@wgl:3-devel/0.83.0-1
+++ dbus-python.recipe /weasel.rpath.org@wgl:3-devel/0.83.0-2
@@ -10,36 +10,23 @@
 
     buildRequires = [
         'dbus-glib:devel', 'dbus:devel', 'glib:devel', 'pkg-config:devel',
-        'pygobject:python', 'python:devel',
+        'python:devel',
         ]
+
+    shortDesc  = 'D-BUS Python bindings'
+    longDesc   = 'Python bindings for D-BUS'
+    url        = 'http://dbus.freedesktop.org/'
+    licenses   = [ 'BSD' ]
+    categories = [ 'Development/Python' ]
 
     def unpack(r):
         r.setDefaultPython()
-       r.Description(shortDesc='D-BUS Python bindings',
-                      longDesc='Python bindings for D-BUS')
-       r.PackageURL('http://dbus.freedesktop.org/')
-       r.Licenses('BSD')
         r.addArchive('http://dbus.freedesktop.org/releases/dbus-python/')
 
-        r.extraConfig = ''
-
-        if Arch.x86_64:
-            # First build 32bit version
-            macros32 = r.macros.copy()
-            macros32.cc = '"gcc -m32"'
-            macros32.cxx = '"g++ -m32"'
-            macros32.libdir = '%(prefix)s/lib'
-
-            r.Run('cp -a %(builddir)s %(builddir)s/../32bit')
-
-            r.Configure(r.extraConfig, dir='../32bit', overrideMacros=macros32,
-                        preConfigure='USE_ARCH=32')
-            r.Make(dir='../32bit', overrideMacros=macros32, 
preMake='USE_ARCH=32')
-            r.MakeInstall(dir='../32bit', overrideMacros=macros32, 
preMake='USE_ARCH=32')
-
-           r.NormalizePkgConfig(exceptions='.*')
-            r.NonMultilibComponent(exceptions='.*')
+        r.Move('py-compile', 'py-compile.orig')
+        r.Symlink('%(essentialbindir)s/true', 'py-compile')
 
     def configure(r):
-        r.Configure(r.extraConfig)
-
+        r.Configure(
+            ' --docdir=%(thisdocdir)s'
+            )



Committed by: brcha

Other related posts: