[145141] trunk/dports/python

Ryan Schmidt ryandesign at macports.org
Tue Jan 26 22:58:29 PST 2016


On Jan 26, 2016, at 13:50, adfernandes at macports.org wrote:
> 
> Revision
> 145141
> Author
> adfernandes at macports.org
> 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 ryandesign at macports.org $
> +
> +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+)*)"
> +}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20160126/2b644c4d/attachment.html>


More information about the macports-dev mailing list