[72387] trunk/dports/python
elelay at macports.org
elelay at macports.org
Tue Oct 12 11:16:25 PDT 2010
Revision: 72387
http://trac.macports.org/changeset/72387
Author: elelay at macports.org
Date: 2010-10-12 11:16:23 -0700 (Tue, 12 Oct 2010)
Log Message:
-----------
new python 2.7 version of python bindings for Webkit-GTK
Modified Paths:
--------------
trunk/dports/python/py27-webkitgtk/Portfile
Added Paths:
-----------
trunk/dports/python/py27-webkitgtk/
Modified: trunk/dports/python/py27-webkitgtk/Portfile
===================================================================
--- trunk/dports/python/py26-webkitgtk/Portfile 2010-10-12 17:56:20 UTC (rev 72385)
+++ trunk/dports/python/py27-webkitgtk/Portfile 2010-10-12 18:16:23 UTC (rev 72387)
@@ -3,16 +3,16 @@
PortSystem 1.0
-name py26-webkitgtk
+name py27-webkitgtk
version 1.1.7
categories python www
description Python bindings for the WebKit GTK+ port
long_description ${description}
-maintainers nodamage.com:nodamage openmaintainer
+maintainers nodamage.com:nodamage elelay openmaintainer
homepage http://code.google.com/p/pywebkitgtk/
platforms darwin
-depends_lib port:webkit-gtk port:python26 port:py26-gtk port:libffi
+depends_lib port:webkit-gtk port:py27-gtk port:libffi
distname pywebkitgtk-${version}
master_sites http://pywebkitgtk.googlecode.com/files/
@@ -21,19 +21,19 @@
sha1 e3416d9455fe7d9947b079c66f40008a01f80055 \
rmd160 c8f1d838d13bee68eb0299adadfbd9d1355c3798
-set python_prefix ${frameworks_dir}/Python.framework/Versions/2.6
+set python_prefix ${frameworks_dir}/Python.framework/Versions/2.7
configure.pre_args-delete --prefix=${prefix}
configure.pre_args-append --prefix=${python_prefix}
-configure.args-append --includedir=${python_prefix}/include/python2.6
+configure.args-append --includedir=${python_prefix}/include/python2.7
configure.pkg_config_path ${python_prefix}/lib/pkgconfig
+configure.env-append PYGOBJECT_CODEGEN=${python_prefix}/bin/pygobject-codegen-2.0
+configure.python ${prefix}/bin/python2.7
-configure.python ${prefix}/bin/python2.6
-
post-destroot {
# Add a .pth file pointing to the proper location
# See: http://code.google.com/p/pywebkitgtk/issues/detail?id=38
- system "echo webkit-1.0 > ${destroot}${python_prefix}/lib/python2.6/site-packages/webkit.pth"
+ system "echo webkit-1.0 > ${destroot}${python_prefix}/lib/python2.7/site-packages/webkit.pth"
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101012/4b042896/attachment-0001.html>
More information about the macports-changes
mailing list