[macports-ports] branch master updated: py-clang: python bindings to libclang

Ryan Schmidt ryandesign at macports.org
Sat Apr 7 17:44:04 UTC 2018


On Apr 7, 2018, at 12:05, Eric A. Borisch wrote:

> Eric A. Borisch (eborisch) pushed a commit to branch master
> in repository macports-ports.
> 
> 
> https://github.com/macports/macports-ports/commit/885596f36cf2d5fa569b7e2e2335db6907770c02
> 
> The following commit(s) were added to refs/heads/master by this push:
> 
>      new 885596f  py-clang: python bindings to libclang
> 
> 885596f is described below
> 
> 
> commit 885596f36cf2d5fa569b7e2e2335db6907770c02
> 
> Author: Eric A. Borisch
> AuthorDate: Sat Apr 7 12:05:27 2018 -0500
> 
> 
>     py-clang: python bindings to libclang
>     
>     Closes https://trac.macports.org/ticket/39551
> 
> ---
>  python/py-clang/Portfile       | 114 +++++++++++++++++++++++++++++++++++++++++
>  python/py-clang/files/setup.py |  31 +++++++++++
>  2 files changed, 145 insertions(+)


> +# Actual versions defined by variants below
> +version                 0

It's not permitted to change a port's version in a variant. The portindex is not designed to accommodate that, and as a result, "port outdated" will not work properly for this port.


> +maintainers             eborisch \
> +                        openmaintainer

Please make sure to list your GitHub handle in addition to your MacPorts handle, like this:

maintainers             {eborisch @eborisch} \


> +        eval [subst {

This usage of "eval" was recently removed from other ports. Please look up what changes were done, and make them here as well:

https://github.com/macports/macports-ports/commit/d41a0388cfdf7e6dbf3353d89939eaff876945ec

Use of "eval" should be avoided where possible.


> +    notes {
> +        The path to the selected libclang variant has been recorded in the
> +        installed package. It can be overridden with:
> +        cindex.set_library_(path|file)().
> +    }

Please allow MacPorts to word-wrap the notes to the terminal width, by not including hard newlines in the notes. Use backslashes at the end of each line that should not have a hard newline when printed in the terminal, like this:

    notes {
        The path to the selected libclang variant has been recorded in the\
        installed package. It can be overridden with:\
        cindex.set_library_(path|file)().
    }



More information about the macports-dev mailing list