[88964] trunk/dports/math

Ryan Schmidt ryandesign at macports.org
Sun Jan 15 14:58:43 PST 2012


On Jan 15, 2012, at 05:13, hum at macports.org wrote:

> Revision: 88964
>          http://trac.macports.org/changeset/88964
> Author:   hum at macports.org
> Date:     2012-01-15 03:13:15 -0800 (Sun, 15 Jan 2012)
> Log Message:
> -----------
> New port: vowpal_wabbit @6.1 - a fast online learning tool.
> 
> Added Paths:
> -----------
>    trunk/dports/math/vowpal_wabbit/
>    trunk/dports/math/vowpal_wabbit/Portfile
> 
> Added: trunk/dports/math/vowpal_wabbit/Portfile
> ===================================================================
> --- trunk/dports/math/vowpal_wabbit/Portfile	                        (rev 0)
> +++ trunk/dports/math/vowpal_wabbit/Portfile	2012-01-15 11:13:15 UTC (rev 88964)
> @@ -0,0 +1,60 @@
> +# -*- 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
> +
> +name                vowpal_wabbit
> +version             6.1
> +categories          math
> +platforms           darwin
> +maintainers         hum openmaintainer
> +license             BSD
> +
> +homepage            http://hunch.net/~vw/ \
> +                    https://github.com/JohnLangford/vowpal_wabbit/wiki      

The homepage should be a single URL only.


> +description         a fast online learning tool
> +long_description    Vowpal Wabbit is the essence of speed in machine learning, able to \
> +                    learn from terafeature datasets with ease. Via parallel learning, \
> +                    it can exceed the throughput of any single machine network interface \
> +                    when doing linear learning, a first amongst learning algorithms.
> +
> +fetch.type          git
> +git.url             https://github.com/JohnLangford/vowpal_wabbit.git
> +git.branch          340ae2a

Consider using the new github portgroup! See attached patch.

Why is it necessary to fetch from git? Could you fetch from the 6.1 distfile instead? If so that would be greatly preferred.


> +depends_lib         port:boost
> +
> +variant universal   {}
> +
> +use_configure       no
> +
> +if {${configure.compiler} == "clang"} {
> +    configure.cxx   g++
> +}

This is strange, and runs the risk of using a wrong compiler:

https://trac.macports.org/wiki/UsingTheRightCompiler

Why was this needed? You may instead want to see:

https://trac.macports.org/wiki/ProblemHotlist#compiler


-------------- next part --------------
A non-text attachment was scrubbed...
Name: vowpal_wabbit.diff
Type: application/octet-stream
Size: 1406 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20120115/380b137d/attachment.obj>
-------------- next part --------------




More information about the macports-dev mailing list