[100334] trunk/dports/python

g5pw at macports.org g5pw at macports.org
Sat Dec 8 09:39:37 PST 2012


Revision: 100334
          https://trac.macports.org/changeset/100334
Author:   g5pw at macports.org
Date:     2012-12-08 09:39:37 -0800 (Sat, 08 Dec 2012)
Log Message:
-----------
python/py-gtk2
  correctly move the portfile

Added Paths:
-----------
    trunk/dports/python/py-pygtk/
    trunk/dports/python/py-pygtk/Portfile

Removed Paths:
-------------
    trunk/dports/python/py-gtk2/

Copied: trunk/dports/python/py-pygtk/Portfile (from rev 100330, trunk/dports/python/py-gtk2/Portfile)
===================================================================
--- trunk/dports/python/py-pygtk/Portfile	                        (rev 0)
+++ trunk/dports/python/py-pygtk/Portfile	2012-12-08 17:39:37 UTC (rev 100334)
@@ -0,0 +1,56 @@
+# $Id$
+
+PortSystem      1.0
+
+name            py-gtk2
+set my_name     pygtk
+version         2.12.1
+revision        2
+set branch      [join [lrange [split ${version} .] 0 1] .]
+categories      python x11
+license         LGPL-2.1+
+maintainers     nomaintainer
+platforms       darwin
+description     PyGTK is the Python binding to GTK+ 2.x
+
+long_description \
+    PyGTK contains modules that allow you to use gtk in Python programs. \
+    At present, it is a fairly complete set of bindings.
+
+homepage        http://www.pygtk.org/
+master_sites    gnome:sources/${my_name}/${branch}/
+distname        ${my_name}-${version}
+use_bzip2       yes
+
+checksums       md5 a816346d750d61e3fa67a200e4292694 \
+                sha1 7a7d095f53829895174640d693c4e4af16122d98 \
+                rmd160 c368deab52524248593b77984e93f18150efa0f4
+
+depends_build   port:pkgconfig
+depends_lib     port:python24 \
+                port:atk \
+                port:gtk2 \
+                port:libglade2 \
+                port:py-cairo \
+                port:py-gobject \
+                port:py24-numpy
+
+configure.args  --disable-glibtest
+
+# needed to find Python pkg-config files
+set python_prefix  ${frameworks_dir}/Python.framework/Versions/2.4
+configure.pkg_config_path ${python_prefix}/lib/pkgconfig
+
+configure.python    ${prefix}/bin/python2.4
+
+platform darwin 9 { 
+    post-patch { 
+        reinplace "s| -export-symbols-regex.*||g" \
+            ${worksrcpath}/Makefile.in \
+            ${worksrcpath}/gtk/Makefile.in
+    } 
+} 
+
+livecheck.type  regex
+livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${my_name}/${branch}/
+livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}


Property changes on: trunk/dports/python/py-pygtk/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:mergeinfo
   + /branches/mld-qt-481/dports/python/py-gtk2/Portfile:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121208/a76a81c4/attachment.html>


More information about the macports-changes mailing list