[33474] trunk/dports/python
gui_dos at macports.org
gui_dos at macports.org
Sun Jan 27 07:58:43 PST 2008
Revision: 33474
http://trac.macosforge.org/projects/macports/changeset/33474
Author: gui_dos at macports.org
Date: 2008-01-27 07:58:35 -0800 (Sun, 27 Jan 2008)
Log Message:
-----------
py-gobject, py-cairo, py-gtk2: sync with the py25-* counterparts
Modified Paths:
--------------
trunk/dports/python/py-cairo/Portfile
trunk/dports/python/py-gobject/Portfile
trunk/dports/python/py-gtk2/Portfile
Removed Paths:
-------------
trunk/dports/python/py-gobject/files/
Modified: trunk/dports/python/py-cairo/Portfile
===================================================================
--- trunk/dports/python/py-cairo/Portfile 2008-01-27 15:29:04 UTC (rev 33473)
+++ trunk/dports/python/py-cairo/Portfile 2008-01-27 15:58:35 UTC (rev 33474)
@@ -1,16 +1,47 @@
# $Id$
-PortSystem 1.0
-name py-cairo
-version 1.4.0
-categories python x11
-maintainers nomaintainer
-description Pycairo is set of Python bindings for the cairo graphics library
-long_description ${description}
+PortSystem 1.0
+name py-cairo
+set my_name pycairo
+version 1.4.12
+revision 1
+categories python x11
+platforms darwin
+maintainers nomaintainer
+description Pycairo is set of Python bindings for the cairo graphics library
+
+long_description \
+ ${description}
+
homepage http://cairographics.org/pycairo/
master_sites http://cairographics.org/releases/
-distname pycairo-${version}
-checksums md5 e26e77919b606113f565d70036c1f504
+distname ${my_name}-${version}
-depends_lib port:cairo port:py-numeric
+checksums md5 c63199d35b1e1d3c5133509f315f70d7 \
+ sha1 580255db6f3ab4c44ac44dfe0a9f7d1f598c2ab3 \
+ rmd160 f44bb6bcc6b366568e0297689164537dc891b278
+
+depends_build port:pkgconfig
+depends_lib port:python24 \
+ port:cairo \
+ port:py-numeric
+
+configure.python ${prefix}/bin/python2.4
+
+platform darwin 9 {
+ post-patch {
+ reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/cairo/Makefile.in
+ }
+}
+
+post-destroot {
+ set docdir ${prefix}/share/doc/${name}-${version}
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING NEWS doc/NOTES doc/FAQ README \
+ ${destroot}${docdir}
+}
+
+livecheck.check regex
+livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
+
Modified: trunk/dports/python/py-gobject/Portfile
===================================================================
--- trunk/dports/python/py-gobject/Portfile 2008-01-27 15:29:04 UTC (rev 33473)
+++ trunk/dports/python/py-gobject/Portfile 2008-01-27 15:58:35 UTC (rev 33474)
@@ -1,13 +1,16 @@
# $Id$
-PortSystem 1.0
-name py-gobject
-version 2.12.3
-revision 1
-categories python gnome
-maintainers nomaintainer
-description Python bindings for GObject.
-long_description \
+PortSystem 1.0
+
+name py-gobject
+set my_name pygobject
+version 2.14.1
+set branch [join [lrange [split ${version} .] 0 1] .]
+categories python gnome
+maintainers nomaintainer
+description Python bindings for GObject.
+
+long_description \
PyGObject provides a convenient wrapper for the GObject+ library \
for use in Python programs, and takes care of many of the boring details \
such as managing memory and type casting. \
@@ -15,11 +18,40 @@
it can be used to write full featured Gnome applications.
homepage http://www.pygtk.org/
-master_sites gnome:sources/pygobject/2.12/
-distname pygobject-${version}
+master_sites gnome:sources/${my_name}/${branch}/
+distname ${my_name}-${version}
use_bzip2 yes
-checksums md5 009986021225b7ea6e0ba848707785af
-patchfiles pygobject-init-v3.diff
+checksums md5 d403998bc0c5034b21bd75ae7b704f4a \
+ sha1 5904370097e24b54e71257e1ed0de062c5138d11 \
+ rmd160 086d96f059a7317f828e9b8265a9bf62420c3c1b
-depends_lib port:glib2 port:libxslt port:python24
+depends_build port:pkgconfig
+depends_lib port:glib2 \
+ port:libxslt \
+ port:python24
+
+configure.args --disable-glibtest
+
+configure.python ${prefix}/bin/python2.4
+
+platform darwin 9 {
+ post-patch {
+ reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/gobject/Makefile.in
+ }
+}
+
+test.run yes
+test.env PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*]
+test.target check
+
+post-destroot {
+ set docdir ${prefix}/share/doc/${name}-${version}
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \
+ ${destroot}${docdir}
+}
+
+livecheck.check regex
+livecheck.url http://ftp.gnome.org/pub/gnome/sources/${my_name}/${branch}/
+livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
Modified: trunk/dports/python/py-gtk2/Portfile
===================================================================
--- trunk/dports/python/py-gtk2/Portfile 2008-01-27 15:29:04 UTC (rev 33473)
+++ trunk/dports/python/py-gtk2/Portfile 2008-01-27 15:58:35 UTC (rev 33474)
@@ -1,24 +1,53 @@
# $Id$
-PortSystem 1.0
-name py-gtk2
-version 2.10.4
-categories python x11
-maintainers nomaintainer
-description PyGTK2 is the Python binding to GTK+ 2.x
-long_description \
+PortSystem 1.0
+
+name py-gtk2
+set my_name pygtk
+version 2.12.1
+set branch [join [lrange [split ${version} .] 0 1] .]
+categories python x11
+maintainers nomaintainer
+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/pygtk/2.10/
-distname pygtk-${version}
+master_sites gnome:sources/${my_name}/${branch}/
+distname ${my_name}-${version}
use_bzip2 yes
-checksums md5 89afe242275a3fce57b4ffb5fadc5888
-depends_lib port:gtk2 port:libglade2 \
- port:py-cairo port:py-gobject
+checksums md5 a816346d750d61e3fa67a200e4292694 \
+ sha1 7a7d095f53829895174640d693c4e4af16122d98 \
+ rmd160 c368deab52524248593b77984e93f18150efa0f4
+depends_lib port:python24 \
+ port:atk \
+ port:cairo \
+ port:pango \
+ port:gtk2 \
+ port:libglade2 \
+ port:py-cairo \
+ port:py-gobject
+
+configure.args --disable-glibtest
+
+configure.python ${prefix}/bin/python2.4
+
platform darwin 7 {
- configure.env CFLAGS="-I${x11prefix}/include"
+ configure.cflags-append -I${x11prefix}/include
}
+
+platform darwin 9 {
+ post-patch {
+ reinplace "s| -export-symbols-regex.*||g" \
+ ${worksrcpath}/Makefile.in \
+ ${worksrcpath}/gtk/Makefile.in
+ }
+}
+
+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/20080127/e8534a1b/attachment-0001.html
More information about the macports-changes
mailing list