[29155] trunk/dports/python/py25-gobject/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sun Sep 16 08:45:55 PDT 2007


Revision: 29155
          http://trac.macosforge.org/projects/macports/changeset/29155
Author:   nox at macports.org
Date:     2007-09-16 08:45:54 -0700 (Sun, 16 Sep 2007)

Log Message:
-----------
py25-gobject:
 * Updated to 2.14.0.
 * Added standard doc installation.
 * Added test support.
 * Added sha1 and rmd160 checksums.

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

Modified: trunk/dports/python/py25-gobject/Portfile
===================================================================
--- trunk/dports/python/py25-gobject/Portfile	2007-09-16 15:26:50 UTC (rev 29154)
+++ trunk/dports/python/py25-gobject/Portfile	2007-09-16 15:45:54 UTC (rev 29155)
@@ -3,10 +3,11 @@
 PortSystem      1.0
 
 name            py25-gobject
-version         2.12.3
+version         2.14.0
 categories      python gnome
-maintainers     nomaintainer at macports.org
+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 \
@@ -15,17 +16,29 @@
     it can be used to write full featured Gnome applications.
 
 homepage        http://www.pygtk.org/
-master_sites    gnome:sources/pygobject/2.12/
+master_sites    gnome:sources/pygobject/[join [lrange [split ${version} .] 0 1] .]/
 distname        pygobject-${version}
 use_bzip2       yes
 
-checksums       md5 009986021225b7ea6e0ba848707785af
+checksums       md5 de781a21f483c941a73009a9f68f150e \
+                sha1 f6867330c2a2d70ddb81807823e7515f55ddda23 \
+                rmd160 71702329535680a813a36e05823d1968cb453b25
 
-patchfiles      pygobject-init-v3.diff
-
+depends_build   port:pkgconfig
 depends_lib     port:glib2 \
                 port:libxslt \
                 port:python25
 
 configure.env   PYTHON=python2.5
+configure.args  --disable-glibtest
 
+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}
+}

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


More information about the macports-changes mailing list