source: trunk/dports/python/py-zc-buildout/Portfile

Last change on this file was 148976, checked in by raimue@…, 16 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.9 KB
Line 
1# $Id: Portfile 148976 2016-05-24 07:48:05Z ryandesign@macports.org $
2
3PortSystem          1.0
4PortGroup           python 1.0
5PortGroup           select 1.0
6
7name                py-zc-buildout
8set real_name       zc.buildout
9version             2.2.0
10revision            1
11python.versions     27
12categories-append   devel
13platforms           darwin
14supported_archs     noarch
15license             ZPL-2.1
16maintainers         nomaintainer
17description         System for managing development buildouts
18long_description  \
19    The Buildout project provides support for creating applications, especially \
20    Python applications. It provides tools for assembling applications from \
21    multiple parts, Python or otherwise. An application may actually contain \
22    multiple programs, processes, and configuration settings.
23
24homepage            http://www.buildout.org
25master_sites        pypi:z/${real_name}
26distname            ${real_name}-${version}
27checksums           md5    771dd9807da7d5ef5bb998991c5fdae1 \
28                    rmd160 8eba16e08c634d1455cef9b91953422e2ef3c8cd \
29                    sha256 1dceaf912ed2219f133d8a956fc61c5973bf4d887d6eda268b0f825120c7ce23
30
31if {${name} ne ${subport}} {
32    depends_lib-append      port:py${python.version}-setuptools
33    depends_run             port:buildout_select
34
35    # https://github.com/koodaamo/cns.recipe.symlink/wiki/zc.buildout-bug-%23144228
36    patchfiles          fix-symlink-removal.patch
37
38    select.group            buildout
39    select.file             ${filespath}/buildout${python.version}
40
41    post-destroot {
42        set docdir ${destroot}${prefix}/share/doc/${subport}
43        xinstall -d ${docdir}
44        xinstall -m 644 -W ${worksrcpath} \
45            CHANGES.rst COPYRIGHT.txt DEVELOPERS.txt LICENSE.txt README.rst todo.txt \
46            ${docdir}
47        eval xinstall -m 644 [glob -directory ${worksrcpath}/src/zc/buildout *.txt] ${docdir}
48        foreach file [glob -directory ${destroot}${python.pkgd}/zc/buildout *.txt] {
49            delete $file
50        }
51    }
52}
Note: See TracBrowser for help on using the repository browser.