[79826] trunk/dports/python
Revision: 79826 http://trac.macports.org/changeset/79826 Author: jeremyhu@macports.org Date: 2011-06-27 10:09:41 -0700 (Mon, 27 Jun 2011) Log Message: ----------- py27-gnome: New port based on py26-gnome Modified Paths: -------------- trunk/dports/python/py27-gnome/Portfile Added Paths: ----------- trunk/dports/python/py27-gnome/ Modified: trunk/dports/python/py27-gnome/Portfile =================================================================== --- trunk/dports/python/py26-gnome/Portfile 2011-06-27 00:27:18 UTC (rev 79820) +++ trunk/dports/python/py27-gnome/Portfile 2011-06-27 17:09:41 UTC (rev 79826) @@ -3,14 +3,13 @@ PortSystem 1.0 -name py26-gnome +name py27-gnome set my_name gnome-python version 2.28.1 -revision 2 set branch [join [lrange [split $version .] 0 1] .] categories python gnome platforms darwin -maintainers elelay openmaintainer +maintainers nomaintainer description gnome-python is a set of python interfaces to gnome-libs. long_description ${description} @@ -26,10 +25,10 @@ depends_build port:pkgconfig depends_lib port:libgnomeui \ - port:py26-gtk \ - port:py26-orbit \ + port:py27-gtk \ + port:py27-orbit \ port:libgnome \ - port:python26 \ + port:python27 \ port:libgnomecanvas \ port:gnome-vfs \ port:gconf \ @@ -37,7 +36,7 @@ port:libbonoboui -set python.branch 2.6 +set python.branch 2.7 set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch} set python.bin ${python.prefix}/bin/python${python.branch} @@ -70,9 +69,9 @@ # add link to gtk-doc in devhelp search path (${prefix}/share/gtk-doc/html/*) # devhelp requires gtk-doc/html directory name and .devhelp file name (less the .devhelp) to match file rename ${destroot}${python.prefix}/share/gtk-doc/html/pygnomevfs/pygnomevfs.devhelp \ - ${destroot}${python.prefix}/share/gtk-doc/html/pygnomevfs/pygnomevfs26.devhelp + ${destroot}${python.prefix}/share/gtk-doc/html/pygnomevfs/pygnomevfs27.devhelp xinstall -d ${destroot}${prefix}/share/gtk-doc/html - ln -s ${python.prefix}/share/gtk-doc/html/pygnomevfs ${destroot}${prefix}/share/gtk-doc/html/pygnomevfs26 + ln -s ${python.prefix}/share/gtk-doc/html/pygnomevfs ${destroot}${prefix}/share/gtk-doc/html/pygnomevfs27 } livecheck.type regex
participants (1)
-
jeremyhu@macports.org