[107377] trunk/dports/python/py-qscintilla/Portfile

michaelld at macports.org michaelld at macports.org
Wed Jun 26 11:15:45 PDT 2013


Revision: 107377
          https://trac.macports.org/changeset/107377
Author:   michaelld at macports.org
Date:     2013-06-26 11:15:45 -0700 (Wed, 26 Jun 2013)
Log Message:
-----------
py*-qscintilla:
- make each subport depend on qscintilla; global does not work;
- fix name of installed API file so that multiple Python X.Y versions can be installed simultaneously.

Modified Paths:
--------------
    trunk/dports/python/py-qscintilla/Portfile

Modified: trunk/dports/python/py-qscintilla/Portfile
===================================================================
--- trunk/dports/python/py-qscintilla/Portfile	2013-06-26 17:55:29 UTC (rev 107376)
+++ trunk/dports/python/py-qscintilla/Portfile	2013-06-26 18:15:45 UTC (rev 107377)
@@ -11,6 +11,7 @@
 #          number of the installed qscintilla port, or configure/building
 #          will fail with strange error messages.
 version             2.7.2
+revision            1
 
 categories          python devel
 license             {GPL-2 GPL-3}
@@ -30,14 +31,12 @@
                     sha1    2a11fb6be2c3005bc6502f929a0a339d4303af9b \
                     rmd160  09552e7c41695822e7eebf86781901c7de90e521
 
-depends_lib-append  port:qscintilla
-
 python.versions     24 25 26 27 31 32 33
 python.default_version 27
 
 if {$subport != $name} {
 
-   depends_lib-append  port:py${python.version}-pyqt4
+   depends_lib-append  port:qscintilla port:py${python.version}-pyqt4
    
    universal_variant   no
    use_configure       yes
@@ -59,6 +58,10 @@
    destroot.cmd        ${build.cmd}
    destroot.destdir
 
+   post-destroot {
+       move ${destroot}${qt_data_dir}/qsci/api/python/QScintilla2.api \
+           ${destroot}${qt_data_dir}/qsci/api/python/QScintilla2-Python${python_ver_dot}.api
+   }
 }
 
 livecheck.type      regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130626/b187bcd9/attachment-0001.html>


More information about the macports-changes mailing list