[weasel-commit] Source: notify-python=0.1.1-1

  • From: rbuilder@xxxxxxxxx
  • To: weasel-commit@xxxxxxxxxxxxx
  • Date: Sun, 20 Jun 2010 09:09:13 -0400

================================
notify-python:source=0.1.1-1
cvc rdiff notify-python -1 /weasel.rpath.org@wgl:3-devel/0.1.1-1
================================
0.1.1-1 Filip Brcic (brcha@xxxxxxxxxxxx) Sun Jun 20 09:08:41 2010
    notify-python 0.1.1

notify-python.recipe: new
--- /dev/null
+++ notify-python.recipe
@@ -0,0 +28 @@
+#
+# Copyright (c) 2010 Weasel GNU/Linux [Filip Brcic (brcha@xxxxxxxxxxxx)]
+# Distributed under the terms of the GNU General Public License v3
+#
+
+class NotifyPython(AutoPackageRecipe):
+    name = 'notify-python'
+    version = '0.1.1'
+
+    buildRequires = [
+        'pygtk:devel', 'libnotify:devel', 'pkg-config:devel',
+        'gcc-c++:runtime', 'libstdc++:devel', 'python:devel',
+        ]
+
+    shortDesc  = 'Python bindings for libnotify'
+    url        = 'http://www.galago-project.org/'
+    licenses   = [ 'LGPL-2.1' ]
+    categories = [ 'Development/Python' ]
+
+    def unpack(r):
+        
r.addArchive('http://www.galago-project.org/files/releases/source/%(name)s/')
+
+        # Disable byte-compilation
+        r.Move('py-compile', 'py-compile.orig')
+        r.Symlink('%(essentialbindir)s/true', 'py-compile')
+
+        # Remove the old pynotify.c to ensure it's properly regenerated
+        r.Remove('src/pynotify.c')

notify-python-0.1.1.tar.bz2: new

Committed by: brcha

Other related posts: