[86173] trunk/dports/python/py-sip/Portfile

Ryan Schmidt ryandesign at macports.org
Thu Oct 20 14:48:23 PDT 2011


On Oct 20, 2011, at 09:41, eborisch at macports.org wrote:

> Revision: 86173
>          http://trac.macports.org/changeset/86173
> Author:   eborisch at macports.org
> Date:     2011-10-20 07:41:05 -0700 (Thu, 20 Oct 2011)
> Log Message:
> -----------
> py-sip: Add PSF-like license and notice.
> 
> Modified Paths:
> --------------
>    trunk/dports/python/py-sip/Portfile
> 
> Modified: trunk/dports/python/py-sip/Portfile
> ===================================================================
> --- trunk/dports/python/py-sip/Portfile	2011-10-20 14:28:04 UTC (rev 86172)
> +++ trunk/dports/python/py-sip/Portfile	2011-10-20 14:41:05 UTC (rev 86173)
> @@ -11,7 +11,7 @@
> # must default to version 24
> categories          python devel
> maintainers         nomaintainer
> -license             {GPL-2 GPL-3}
> +license             {GPL-2 GPL-3 PSF}
> platforms           macosx
> 
> description         create Python bindings for C and C++ libraries
> @@ -103,6 +103,19 @@
>         system "${python.bin} -O ${python.libdir}/compileall.py ${destroot}${prefix}"
>     }
> 
> +    post-activate {
> +        ui_msg ""
> +        ui_msg "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
> +        ui_msg "!  ${subport} is available under a PSF license with one addition:          !"
> +        ui_msg "!  4. Licensee may not use SIP to generate Python bindings for any C or  !"
> +        ui_msg "!  C++ library for which bindings are already provided by Riverbank.     !"
> +        ui_msg "!  GPL-2 or GPL-3 licenses are also available.                           !"
> +        ui_msg "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
> +        ui_msg ""
> +        ui_msg "See ${prefix}/share/doc/${subport}/LICENSE \[-GPL2 -GPL3\] for details."
> +        ui_msg ""
> +    }
> +

Why not use the "notes" feature for this message?

Also, why is a message needed at all?





More information about the macports-dev mailing list