Re: Tcl version compatibility
On 2013-09-25 12:38, Rainer Müller wrote: I started a wiki page to document which Mac OS X versions shipped which version of Tcl: https://trac.macports.org/wiki/TclVersionInfo Thanks everyone for contributing version numbers. That was a lot quicker than I expected! Rainer ___ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev
Re: [111442] trunk/dports/math
Hello, + +version 0.2.8 +github.setupxianyi OpenBLAS ${version} v You're meant to just put the version number into the github.setup line, i.e.: github.setupxianyi OpenBLAS 0.2.8 v This sets the name and version variables for you, as well as several others. Unless there's a specific reason not to do so, the default should be gcc48 now. https://trac.macports.org/wiki/PortfileRecipes#gcc Thanks for the reminder, corrected in r111591. Cheers, Nicolas ___ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev
Temporary fixing a file in /opt/local/share… generated by another port
Folks, The newest version of QGis does not compile because of bug in SIP 4.15.x. Specifically, the file qsyntaxhighlighter.sip located in ${prefix}/share/pyXX-sip/PyQt4/QtGui is buggy, and causes an error. I own a fixed copy which allow a correct build. Question: can I patch the qsyntaxhighlighter.sip file during the time of the build, returning it to its normal buggy version at the end, or shall I proceed an other way? Thanks! Vincent ___ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev
Re: Temporary fixing a file in /opt/local/share… generated by another port
On Sep 26, 2013, at 11:47 AM, Vincent Habchi vi...@macports.org wrote: The newest version of QGis does not compile because of bug in SIP 4.15.x. Specifically, the file qsyntaxhighlighter.sip located in ${prefix}/share/pyXX-sip/PyQt4/QtGui is buggy, and causes an error. I own a fixed copy which allow a correct build. Question: can I patch the qsyntaxhighlighter.sip file during the time of the build, returning it to its normal buggy version at the end, or shall I proceed an other way? Theoretically you can run the patch phase as superuser with patch.asroot yes, but mucking around in ${prefix} is really unorthodox. If py-sip is actually installing a buggy file, wouldn't it be easier (and more correct) to fix py-sip and revbump? vq ___ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev
Re: Another SIP API Update
I updated py*-sip in r110025 https://trac.macports.org/changeset/110025 , which apparently provides SIP API v10.0 to v10.1. Just now I rev-bumped py-qscintilla (me), py-pyqt4 (me), py-pyqwt (me), and orocos-kdl (nomaintainer), just in case even though they work for me. I see that Poppler was just updated, which address ticket #40240 fully so I'll close that. The remaining ports that seem to use SIP and hence might need a rev-bump are: vince : qgis […] 4.15.x seems to be buggy. It wasn’t a good idea after all. Breaks QGis 2.0 build, for example ;) Vincent ___ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev
Re: [111597] trunk/base/src/macports1.0/tests/macports.test
On Sep 26, 2013, at 18:00, mar...@macports.org wrote: Revision: 111597 https://trac.macports.org/changeset/111597 Author: mar...@macports.org Date: 2013-09-26 16:00:49 -0700 (Thu, 26 Sep 2013) Log Message: --- macports.test: added get_tar_flags, fetch_port and getportdir tests Modified Paths: -- trunk/base/src/macports1.0/tests/macports.test Modified: trunk/base/src/macports1.0/tests/macports.test === --- trunk/base/src/macports1.0/tests/macports.test2013-09-26 21:08:13 UTC (rev 111596) +++ trunk/base/src/macports1.0/tests/macports.test2013-09-26 23:00:49 UTC (rev 111597) @@ -464,10 +464,33 @@ } -result Create thread successful. -# test get_tar_flags -# test fetch_port +test get_tar_flags { +Get tar flags unit test. +} -body { +if {[macports::get_tar_flags .tbz2] != -j} { + return FAIL: wrong flaga (-j) +} +if {[macports::get_tar_flags .tgz] != -z} { + return FAIL: wrong flaga (-z) +} +return Get tar flags successful. +} -result Get tar flags successful. +test fetch_port { +Fetch port unit test. +} -body { +set url http://packages.macports.org/fondu/fondu-060102_1.darwin_10.x86_64.tbz2 +set res [macports::fetch_port $url] +if {$res != ${pwd}/portdbpath/portdirs/fondu-060102_1} { + return FAIL: cannot fetch port +} +return Fetch port successful. +} -cleanup { +file delete -force $pwd/portdbpath +} -result Fetch port successful. + String comparisons should use eq or ne, not == or !=. ___ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev