[42276] trunk/dports/gnome/gnome-python-extras/Portfile
devans at macports.org
devans at macports.org
Mon Nov 17 14:56:06 PST 2008
Revision: 42276
http://trac.macports.org/changeset/42276
Author: devans at macports.org
Date: 2008-11-17 14:56:06 -0800 (Mon, 17 Nov 2008)
Log Message:
-----------
gnome-python-extras: lint, fix livecheck, add mode line.
Modified Paths:
--------------
trunk/dports/gnome/gnome-python-extras/Portfile
Modified: trunk/dports/gnome/gnome-python-extras/Portfile
===================================================================
--- trunk/dports/gnome/gnome-python-extras/Portfile 2008-11-17 22:51:51 UTC (rev 42275)
+++ trunk/dports/gnome/gnome-python-extras/Portfile 2008-11-17 22:56:06 UTC (rev 42276)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
@@ -4,14 +5,16 @@
name gnome-python-extras
version 2.19.1
+set branch [join [lrange [split ${version} .] 0 1] .]
categories gnome python
+platforms darwin
maintainers landonf at macports.org openmaintainer
description "Extra" Python modules for some GNOME Desktop libraries.
long_description ${description}
homepage http://www.pygtk.org/
-master_sites gnome:sources/gnome-python-extras/2.19
+master_sites gnome:sources/${name}/${branch}
checksums md5 08896c63d71ce44d20fafbaf9c0edc78
use_bzip2 yes
@@ -25,8 +28,8 @@
configure.env PYTHON=${prefix}/bin/python2.5
-platform darwin 9 {
- post-patch {
+platform darwin 9 {
+ post-patch {
reinplace "s|-export-symbols-regex.*||g" \
${worksrcpath}/egg/recent/Makefile.in \
${worksrcpath}/egg/tray/Makefile.in \
@@ -40,3 +43,7 @@
${worksrcpath}/gtkmozembed/Makefile.in
}
}
+
+livecheck.check regex
+livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
+livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081117/0e702b36/attachment-0001.html>
More information about the macports-changes
mailing list