[71794] trunk/dports/python
elelay at macports.org
elelay at macports.org
Thu Sep 23 02:47:24 PDT 2010
Revision: 71794
http://trac.macports.org/changeset/71794
Author: elelay at macports.org
Date: 2010-09-23 02:47:23 -0700 (Thu, 23 Sep 2010)
Log Message:
-----------
new port py26-notify-python - python bindings for libnotify
Added Paths:
-----------
trunk/dports/python/py26-notify-python/
trunk/dports/python/py26-notify-python/Portfile
trunk/dports/python/py26-notify-python/files/
trunk/dports/python/py26-notify-python/files/patch-src-pynotify-c.diff
trunk/dports/python/py26-notify-python/files/patch-src-pynotifymodule-c.diff
Added: trunk/dports/python/py26-notify-python/Portfile
===================================================================
--- trunk/dports/python/py26-notify-python/Portfile (rev 0)
+++ trunk/dports/python/py26-notify-python/Portfile 2010-09-23 09:47:23 UTC (rev 71794)
@@ -0,0 +1,46 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name py26-notify-python
+set myname notify-python
+version 0.1.1
+categories-append python devel
+license GPLv2
+maintainers elelay
+platforms darwin
+description libnotify python bindings
+
+long_description libnotify sends desktop notifications\
+ to a notification daemon, as defined in\
+ the Desktop Notifications spec.\
+ These notifications can be used to inform \
+ the user about an event or display some form \
+ of information without getting in the user's way.\
+ python-notify provides the Python bindings for libnotify
+
+homepage http://www.galago-project.org/
+master_sites http://www.galago-project.org/files/releases/source/${myname}
+
+distname ${myname}-${version}
+use_bzip2 yes
+
+checksums md5 d247cf79b46cef7495deb0a76334f81d \
+ sha1 490693cf601793f50cef1a3c82ba75025497fc00 \
+ rmd160 52f5b5cc7c01be32525db7a2edc0f3dee41911ef
+
+depends_lib port:libnotify\
+ port:py26-gtk
+
+patchfiles patch-src-pynotifymodule-c.diff\
+ patch-src-pynotify-c.diff
+
+set my_python "${frameworks_dir}/Python.framework/Versions/2.6"
+
+configure.pkg_config_path ${my_python}/lib/pkgconfig
+configure.pre_args --prefix=${my_python}
+
+livecheck.type regex
+livecheck.url ${master_sites}
+livecheck.regex "${myname}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Property changes on: trunk/dports/python/py26-notify-python/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/python/py26-notify-python/files/patch-src-pynotify-c.diff
===================================================================
--- trunk/dports/python/py26-notify-python/files/patch-src-pynotify-c.diff (rev 0)
+++ trunk/dports/python/py26-notify-python/files/patch-src-pynotify-c.diff 2010-09-23 09:47:23 UTC (rev 71794)
@@ -0,0 +1,10 @@
+--- src/pynotify.c.old 2010-09-15 21:20:07.000000000 +0200
++++ src/pynotify.c 2010-09-15 21:20:39.000000000 +0200
+@@ -7,6 +7,7 @@
+ #line 3 "pynotify.override"
+ #include <Python.h>
+ #include <libnotify/notify.h>
++#define NO_IMPORT_PYGOBJECT
+ #include "pygobject.h"
+
+ typedef struct
Added: trunk/dports/python/py26-notify-python/files/patch-src-pynotifymodule-c.diff
===================================================================
--- trunk/dports/python/py26-notify-python/files/patch-src-pynotifymodule-c.diff (rev 0)
+++ trunk/dports/python/py26-notify-python/files/patch-src-pynotifymodule-c.diff 2010-09-23 09:47:23 UTC (rev 71794)
@@ -0,0 +1,7 @@
+--- src/pynotifymodule.c.old 2010-09-15 21:20:23.000000000 +0200
++++ src/pynotifymodule.c 2010-09-15 21:20:48.000000000 +0200
+@@ -1,3 +1,4 @@
++#define NO_IMPORT_PYGOBJECT
+ #include <pygobject.h>
+ #include <pygtk/pygtk.h>
+ #include <libnotify/notify.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100923/e65eab4d/attachment.html>
More information about the macports-changes
mailing list