[weasel-commit] Source: pygtk=2.16.0-1

  • From: rbuilder@xxxxxxxxx
  • To: weasel-commit@xxxxxxxxxxxxx
  • Date: Mon, 25 Jan 2010 17:50:21 -0500

================================
pygtk:source=2.16.0-1
cvc rdiff pygtk -1 /weasel.rpath.org@wgl:3-devel/2.16.0-1
================================
2.16.0-1 Filip Brcic (brcha@xxxxxxx) Mon Jan 25 17:50:05 2010
    Automatic promote by rBuild.

pygtk.recipe: new
--- /dev/null
+++ pygtk.recipe
@@ -0,0 +35 @@
+#
+# Copyright (c) 2004-2007 rPath, Inc.
+# This file is distributed under the terms of the MIT License.
+# A copy is available at http://www.rpath.com/permanent/mit-license.html
+#
+
+loadSuperClass('gnomepackage')
+class Pygtk(GnomePackageRecipe):
+    name = 'pygtk'
+    version = '2.16.0'
+
+    buildRequires = [ 'atk:devel', 'automake:runtime', 'cairo:devel',
+        'fontconfig:devel', 'freetype:devel', 'glib:devel', 'gtk:devel',
+        'libglade:devel', 'libpng:devel', 'libxml2:devel', 'pango:devel',
+        'python:devel', 'pygobject:devel', 'pygobject:doc', 'pygobject:python',
+        'pycairo:devel', 'pycairo:python', ]
+
+    extraConfig = ' --enable-thread'
+
+    buildMultiarch = True
+
+    docs = ['examples', 'MAPPING']
+
+    def policy(r):
+        # pygtk-codegen and related data files are development tools
+        r.ComponentSpec('devel', '%(bindir)s/pygtk-codegen.*')
+        r.ComponentSpec('devel', '%(datadir)s/')
+
+        r.Requires('pycairo:python',
+                   '%(libdir)s/python.*/site-packages/gtk-.*/gtk/_gtk.so')
+        r.Requires('pycairo:python',
+                   '%(prefix)s/lib/python.*/site-packages/gtk-.*/gtk/_gtk.so')
+
+        if Arch.x86_64:
+            r.NonMultilibComponent(exceptions='.*')

pygtk-2.16.0.tar.bz2: new

Committed by: brcha

Other related posts:

  • » [weasel-commit] Source: pygtk=2.16.0-1 - rbuilder