[78158] trunk/dports/python
jmr at macports.org
jmr at macports.org
Tue Apr 26 06:15:49 PDT 2011
Revision: 78158
http://trac.macports.org/changeset/78158
Author: jmr at macports.org
Date: 2011-04-26 06:15:48 -0700 (Tue, 26 Apr 2011)
Log Message:
-----------
New port: py26-goocanvas 0.14.1 (#24092)
Modified Paths:
--------------
trunk/dports/python/py26-goocanvas/Portfile
Added Paths:
-----------
trunk/dports/python/py26-goocanvas/
trunk/dports/python/py26-goocanvas/files/
trunk/dports/python/py26-goocanvas/files/patch-configure.diff
Modified: trunk/dports/python/py26-goocanvas/Portfile
===================================================================
--- trunk/dports/python/py25-goocanvas/Portfile 2011-04-26 11:07:02 UTC (rev 78154)
+++ trunk/dports/python/py26-goocanvas/Portfile 2011-04-26 13:15:48 UTC (rev 78158)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
@@ -2,17 +3,19 @@
-name py25-goocanvas
-version 0.10.0
+name py26-goocanvas
+version 0.14.1
+set branch [join [lrange [split ${version} .] 0 1] .]
description GooCanvas python bindings
long_description \
- GooCanvas python bindings
-maintainers nomaintainer
+ PyGoocanvas are the python bindings for GooCanvas which is a canvas \
+ widget for GTK+ that uses the cairo 2D library for drawing.
+maintainers herbiet.net:guillaume-jean
categories python gnome
platforms darwin
-homepage http://developer.berlios.de/projects/pygoocanvas/
-master_sites http://download.berlios.de/pygoocanvas/
+homepage http://live.gnome.org/PyGoocanvas
+master_sites gnome:sources/pygoocanvas/${branch}/
use_bzip2 no
distname pygoocanvas-${version}
-checksums md5 1fe21b066c590a6f3c02b343ef3190c1 \
- sha1 f49df2fd1de60d9e408e61dd31d8b1e5cda97512 \
- rmd160 416fd5eec7f3b1f7bf2c3cd393185ecdcdd0ccdb
+checksums md5 d502dea5c0d2ac71d953895df81c32e8 \
+ sha1 ea1e10a24ef15a1d3880552fff6352d8b0621ef5 \
+ rmd160 162628947fd6a0d630bd20f9dec570c50fab2d23
@@ -24,17 +27,11 @@
port:pkgconfig
depends_lib \
port:goocanvas \
- port:gtk2 \
- port:py25-cairo \
- port:py25-gobject \
- port:py25-gtk
+ port:py26-gtk
-configure.python ${prefix}/bin/python2.5
+patchfiles patch-configure.diff
+set python_prefix ${frameworks_dir}/Python.framework/Versions/2.6
+configure.python ${python_prefix}/bin/python2.6
# needed to find Python pkg-config files
-set python_prefix ${frameworks_dir}/Python.framework/Versions/2.5
configure.pkg_config_path ${python_prefix}/lib/pkgconfig
-
-livecheck.type regex
-livecheck.url ${master_sites}
-livecheck.regex "pygoocanvas-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Added: trunk/dports/python/py26-goocanvas/files/patch-configure.diff
===================================================================
--- trunk/dports/python/py26-goocanvas/files/patch-configure.diff (rev 0)
+++ trunk/dports/python/py26-goocanvas/files/patch-configure.diff 2011-04-26 13:15:48 UTC (rev 78158)
@@ -0,0 +1,14 @@
+--- configure.orig 2010-03-17 14:26:46.000000000 +0100
++++ configure 2010-03-17 14:34:17.000000000 +0100
+@@ -13126,9 +13126,9 @@
+ WIN32_PYTHON_VERSION=`echo $PYTHON_VERSION | sed "s,\.,,"`
+
+ python_path=`dirname $PYTHON | sed "s,/bin.*$,,"`
+- for i in "$python_path/lib/python$PYTHON_VERSION/config/" "$python_path/lib/python$PYTHON_VERSION/" "$python_path/lib/python/config/" "$python_path/lib/python/" "$python_path/" ; do
++ for i in "$python_path/lib/ $python_path/lib/python$PYTHON_VERSION/config/" "$python_path/lib/python$PYTHON_VERSION/" "$python_path/lib/python/config/" "$python_path/lib/python/" "$python_path/" ; do
+ if test -e "$i"; then
+- python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -print | sed "1q"`
++ python_path=`find $i \( -type f -or -type l \) -name libpython$PYTHON_VERSION.\* -print | sed "1q"`
+ if test -n "$python_path" ; then
+ python_lib="python$PYTHON_VERSION"
+ break
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110426/85adbb17/attachment.html>
More information about the macports-changes
mailing list