source: trunk/dports/python/py-py2app/Portfile

Last change on this file was 148976, checked in by raimue@…, 18 months ago

Mass update of python ports for master_sites pypi

The pypi hosting site changed the naming scheme for new uploads. While old URLs
continue to work, this possibly breaks updates as master_sites would need to be
changed. This patch updates all previously hardcoded references to
pypi.python.org to the pypi: mirror sites, which was already updated to check
at both the old and new location. See #51391.

Overriding maintainers as this is a mass update of ports.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 148976 2016-05-24 07:48:05Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-py2app
8version             0.10
9categories-append   devel
10license             {MIT PSF}
11maintainers         jmr openmaintainer
12description         converts python scripts into executable Mac OS X apps
13long_description \
14    A distutils extension which converts python scripts into executable \
15    Mac OS X applications, able to run without requiring an existing python \
16    installation.  This is a replacement for bundlebuilder.
17
18platforms           darwin
19
20homepage            http://wiki.python.org/moin/MacPython/py2app
21master_sites        pypi:p/py2app/
22distname            py2app-${version}
23
24checksums           md5 1a36d38100840a09fb236f37c7942b24 \
25                    rmd160 b8c6bf5c4de8a33ba105a8bd312954ea982c3d8c \
26                    sha256 82b1dd75cfb6b917ad60b9937e800dc80229b61819ff459b7ed46ed177eeaa5e
27
28python.versions     26 27 33 34 35
29
30if {$subport ne $name} {
31    depends_lib     port:py${python.version}-macholib
32
33    post-destroot {
34        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} \
35        ${destroot}${prefix}/share/examples/${subport}
36        xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.txt \
37        ${destroot}${prefix}/share/doc/${subport}
38        file copy {*}[glob ${worksrcpath}/examples/*] \
39        ${destroot}${prefix}/share/examples/${subport}
40    }
41    livecheck.type  none
42} else {
43    livecheck.type  regex
44    livecheck.url   https://pypi.python.org/pypi/py2app/
45    livecheck.regex py2app (0\.\[0-9\]+(\.\[0-9\]+)?)
46}
Note: See TracBrowser for help on using the repository browser.