[91185] trunk/dports/python
dports at macports.org
dports at macports.org
Sun Mar 25 01:29:27 PDT 2012
Revision: 91185
https://trac.macports.org/changeset/91185
Author: dports at macports.org
Date: 2012-03-25 01:29:27 -0700 (Sun, 25 Mar 2012)
Log Message:
-----------
py-goocanvas: unify (#30722)
* add py27 subport
* drop py25 support as it's incompatible with py25-cairo
* new maintainer
Added Paths:
-----------
trunk/dports/python/py-goocanvas/
trunk/dports/python/py-goocanvas/Portfile
trunk/dports/python/py-goocanvas/files/
trunk/dports/python/py-goocanvas/files/patch-configure.diff
Removed Paths:
-------------
trunk/dports/python/py25-goocanvas/
trunk/dports/python/py26-goocanvas/
Added: trunk/dports/python/py-goocanvas/Portfile
===================================================================
--- trunk/dports/python/py-goocanvas/Portfile (rev 0)
+++ trunk/dports/python/py-goocanvas/Portfile 2012-03-25 08:29:27 UTC (rev 91185)
@@ -0,0 +1,57 @@
+# -*- 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
+PortGroup python 1.0
+
+name py-goocanvas
+version 0.14.1
+python.versions 25 26 27
+python.default_version 27
+revision 1
+
+description GooCanvas python bindings
+long_description \
+ PyGoocanvas are the python bindings for GooCanvas which is a canvas \
+ widget for GTK+ that uses the cairo 2D library for drawing.
+maintainers ucla.edu:alexander.afanasyev
+categories python gnome
+platforms darwin
+
+homepage http://live.gnome.org/PyGoocanvas
+set branch [join [lrange [split ${version} .] 0 1] .]
+master_sites gnome:sources/pygoocanvas/${branch}/
+use_bzip2 no
+distname pygoocanvas-${version}
+checksums md5 d502dea5c0d2ac71d953895df81c32e8 \
+ sha1 ea1e10a24ef15a1d3880552fff6352d8b0621ef5 \
+ rmd160 162628947fd6a0d630bd20f9dec570c50fab2d23
+
+if {$subport != $name} {
+ depends_build \
+ port:docbook-xml-4.1.2 \
+ port:docbook-xsl \
+ port:pkgconfig
+ depends_lib-append \
+ port:goocanvas \
+ port:gtk2 \
+ port:py${python.version}-gtk \
+ port:py${python.version}-cairo \
+ port:py${python.version}-gobject
+
+ patchfiles patch-configure.diff
+
+
+ use_configure yes
+
+ configure.compiler llvm-gcc-4.2
+ configure.python ${python.bin}
+ configure.args "--prefix=${python.prefix}"
+ configure.pkg_config_path ${python.prefix}/lib/pkgconfig
+
+ build.cmd make
+ build.target
+ destroot.cmd make
+ destroot.target install
+ destroot.destdir "DESTDIR=${destroot}"
+}
Property changes on: trunk/dports/python/py-goocanvas/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/python/py-goocanvas/files/patch-configure.diff
===================================================================
--- trunk/dports/python/py-goocanvas/files/patch-configure.diff (rev 0)
+++ trunk/dports/python/py-goocanvas/files/patch-configure.diff 2012-03-25 08:29:27 UTC (rev 91185)
@@ -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/20120325/78ce87b7/attachment.html>
More information about the macports-changes
mailing list