[117961] trunk/dports/python/py-qscintilla
michaelld at macports.org
michaelld at macports.org
Mon Mar 17 12:41:23 PDT 2014
Revision: 117961
https://trac.macports.org/changeset/117961
Author: michaelld at macports.org
Date: 2014-03-17 12:41:23 -0700 (Mon, 17 Mar 2014)
Log Message:
-----------
py*-qscintilla:
+ update to 2.8.1 (to match Qscintilla);
+ add support for Python 3.4.
Modified Paths:
--------------
trunk/dports/python/py-qscintilla/Portfile
trunk/dports/python/py-qscintilla/files/patch-Python-configure.py.diff
Modified: trunk/dports/python/py-qscintilla/Portfile
===================================================================
--- trunk/dports/python/py-qscintilla/Portfile 2014-03-17 19:40:15 UTC (rev 117960)
+++ trunk/dports/python/py-qscintilla/Portfile 2014-03-17 19:41:23 UTC (rev 117961)
@@ -10,8 +10,7 @@
# WARNING: The version of these python bindings must match the version
# number of the installed qscintilla port, or configure/building
# will fail with strange error messages.
-version 2.7.2
-revision 3
+version 2.8.1
categories python devel
license {GPL-2 GPL-3}
@@ -27,11 +26,10 @@
distname QScintilla-gpl-${version}
master_sites sourceforge:pyqt
-checksums md5 0fbfb06078f206a241a62c94861cce21 \
- sha1 2a11fb6be2c3005bc6502f929a0a339d4303af9b \
- rmd160 09552e7c41695822e7eebf86781901c7de90e521
+checksums rmd160 7301f1d9bea71b15cc9d98a20a2ece2b6843f3aa \
+ sha256 fbf3db4fe876152af56b5c9d5ec6f101c96bf97c05fdc5a87f358c707801c422
-python.versions 25 26 27 31 32 33
+python.versions 25 26 27 31 32 33 34
python.default_version 27
if {${name} ne ${subport}} {
Modified: trunk/dports/python/py-qscintilla/files/patch-Python-configure.py.diff
===================================================================
--- trunk/dports/python/py-qscintilla/files/patch-Python-configure.py.diff 2014-03-17 19:40:15 UTC (rev 117960)
+++ trunk/dports/python/py-qscintilla/files/patch-Python-configure.py.diff 2014-03-17 19:41:23 UTC (rev 117961)
@@ -1,6 +1,6 @@
---- Python/configure.py.orig 2014-03-10 15:27:40.000000000 -0400
-+++ Python/configure.py 2014-03-10 15:56:30.000000000 -0400
-@@ -496,6 +496,13 @@
+--- Python/configure.py.orig 2014-03-17 14:40:05.000000000 -0400
++++ Python/configure.py 2014-03-17 14:40:50.000000000 -0400
+@@ -498,6 +498,13 @@
action='store_true',
help="suppress timestamps in the header comments of generated "
"code [default: include timestamps]")
@@ -14,14 +14,23 @@
return p
-@@ -660,6 +667,10 @@
- pro.write('TEMPLATE = lib\n')
+@@ -671,6 +678,10 @@
pro.write('CONFIG += %s\n' % ('debug' if opts.debug else 'release'))
pro.write('CONFIG += %s\n' % ('staticlib' if opts.static else 'plugin'))
+ pro.write('CONFIG += qscintilla2\n')
+ if sys.platform == 'darwin' and opts.use_arch is not None:
+ # convert opts.use_arch from a list to a string
+ use_arch = ' '.join(iter(opts.use_arch))
+ pro.write('CONFIG += %s\n' % use_arch)
- pro.write('''
- greaterThan(QT_MAJOR_VERSION, 4) {
+ if not opts.static:
+ # I don't really understand why the linker needs to find the Python
+@@ -758,7 +769,7 @@
+
+ macx {
+ QMAKE_LFLAGS += "-undefined dynamic_lookup"
+- QMAKE_LFLAGS += "-install_name $$absolute_path($$PY_MODULE, $$target.path)"
++ QMAKE_LFLAGS += "-install_name $$target.path/$$PY_MODULE"
+ QMAKE_POST_LINK = $$QMAKE_POST_LINK$$escape_expand(\\\\n\\\\t)$$quote(install_name_tool -change libqscintilla2.%s.dylib %s/libqscintilla2.%s.dylib $$PY_MODULE)
+ }
+ ''' % (QSCI_API_MAJOR, lib_dir, QSCI_API_MAJOR))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140317/61783de5/attachment.html>
More information about the macports-changes
mailing list