[29871] trunk/dports/python/py25-gtk/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sun Oct 14 04:33:58 PDT 2007


Revision: 29871
          http://trac.macosforge.org/projects/macports/changeset/29871
Author:   nox at macports.org
Date:     2007-10-14 04:33:58 -0700 (Sun, 14 Oct 2007)

Log Message:
-----------
py25-gtk:
 * Updated to 2.12.0.
 * Added python25 and gtk2 lib dependencies.
 * Disabled build of glib test program.
 * Now uses configure.cflags instead of configure.env.
 * Added livecheck.
 * Added sha1 and rmd160 checksums.

Modified Paths:
--------------
    trunk/dports/python/py25-gtk/Portfile

Modified: trunk/dports/python/py25-gtk/Portfile
===================================================================
--- trunk/dports/python/py25-gtk/Portfile	2007-10-14 11:30:11 UTC (rev 29870)
+++ trunk/dports/python/py25-gtk/Portfile	2007-10-14 11:33:58 UTC (rev 29871)
@@ -3,7 +3,9 @@
 PortSystem      1.0
 
 name            py25-gtk
-version         2.10.4
+set my_name     pygtk
+version         2.12.0
+set branch      [join [lrange [split ${version} .] 0 1] .]
 categories      python x11
 maintainers     nomaintainer
 description     PyGTK is the Python binding to GTK+ 2.x
@@ -13,20 +15,28 @@
     At present, it is a fairly complete set of bindings.
 
 homepage        http://www.pygtk.org/
-master_sites    gnome:sources/pygtk/2.10/
-distname        pygtk-${version}
+master_sites    gnome:sources/${my_name}/${branch}/
+distname        ${my_name}-${version}
 use_bzip2       yes
 
-checksums       md5 89afe242275a3fce57b4ffb5fadc5888
+checksums       md5 3c1a42b774600c353342cfa3782a7d77 \
+                sha1 8248a620ef4147af07a708643926523024789d4e \
+                rmd160 d982a9752abcd214be975a3ead3946b3c8d1d474
 
-depends_lib     port:gtk2 \
+depends_lib     port:python25 \
+                port:gtk2 \
                 port:libglade2 \
                 port:py25-cairo \
                 port:py25-gobject
 
 configure.env   PYTHON=python2.5
+configure.args  --disable-glibtest
 
 platform darwin 7 {
-    configure.env   CFLAGS="-I${x11prefix}/include"
+    configure.cflags-append -I${x11prefix}/include
 }
 
+livecheck.check regex
+livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${my_name}/${branch}/
+livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
+

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071014/cab4938e/attachment.html


More information about the macports-changes mailing list