On Jan 26, 2016, at 13:50, [email protected] wrote:
>
> Revision
> 145141
> Author
> [email protected]
> Date
> 2016-01-26 13:50:47 -0800 (Tue, 26 Jan 2016)
> Log Message
>
> new port: py-pyinstaller 3.1 closes #42693
> Added Paths
>
> trunk/dports/python/py-pyinstaller/
> trunk/dports/python/py-pyinstaller/Portfile
> Diff
>
> Added: trunk/dports/python/py-pyinstaller/Portfile (0 => 145141)
>
>
> --- trunk/dports/python/py-pyinstaller/Portfile
> (rev 0)
> +++ trunk/dports/python/py-pyinstaller/Portfile 2016-01-26 21:50:47 UTC
> (rev 145141)
> @@ -0,0 +1,31 @@
> +# $Id: Portfile 114324 2013-12-05 08:44:51Z [email protected] $
> +
> +PortSystem 1.0
> +PortGroup python 1.0
> +PortGroup github 1.0
> +
> +name py-pyinstaller
> +version 3.1
> +
> +fetch.type git
Why do you need fetch.type git?
> +github.setup pyinstaller PyInstaller ${version} v
> +
> +platforms darwin
> +supported_archs noarch
> +maintainers openmaintainer adfernandes
> +description converts (packages) Python programs into stand-alone
> executables
> +long_description ${description}
> +license GPL license with a special exception which allows to use
> PyInstaller to build and distribute non-free programs (including commercial
> ones)
MacPorts interprets the license field as a space-separated list of valid
license names. You should probably only list licenses known to the
port_binary_distributable.tcl script. You can add notes about the license in a
portfile comment.
> +homepage http://www.pyinstaller.org/
> +
> +if {${name} ne ${subport}} {
> +
> + python.versions 27 33 34 35
Doesn't the python.versions line have to be outside this block?
> + livecheck.type none
> +
> +} else {
> + livecheck.type regex
> + livecheck.url ${homepage}
> + livecheck.regex "The latest stable release of PyInstaller is
> (\\d+(?:\\.\\d+)*)"
> +}
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev