On Sat, Dec 15, 2018 at 09:26:04AM +0100, Sebastien Marie wrote:
> Hi,
> 
> In order to support crates with a '-' in the version (like
> "mime_guess-2.0.0-alpha.6"), I need to change devel/cargo module in the
> way MODCARGO_CRATES is managed.
> 
> Basically, it changes the 'syntax' like that:
> 
> -MODCARGO_CRATES +=   aho-corasick-0.6.8      # Unlicense/MIT
> +MODCARGO_CRATES +=   aho-corasick    0.6.8   # Unlicense/MIT
> 
> This way, the separation between "crate_name" and "crate_version" is
> unambigious. Previously, I just assumed '-' couldn't be present in
> version, but it seems I was wrong.
> 
> Changing devel/cargo module, imply changing also customers of the
> module:
> - devel/cbindgen
> - sysutils/exa
> - textproc/ripgrep
> - www/geckodriver
> 
> The diff belows integrate devel/cargo change and take care of all of
> customers.
> 
> REVISION isn't bumped for any port as it changes only the way the
> variable is used, but not anything else. So extracted files will be the
> same.

Reads good, okay

Reply via email to