source: trunk/dports/python/py-turbocheetah/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.3 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=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-turbocheetah
8version             1.0
9platforms           darwin
10supported_archs     noarch
11license             MIT
12maintainers         nomaintainer
13
14description         TurboGears plugin to support use of Cheetah templates
15long_description    This package provides a template engine plugin, \
16                    allowing you to easily use Cheetah with TurboGears,\
17                    Buffet or other systems that support \
18                    python.templating.engines.
19homepage            http://pypi.python.org/pypi/TurboCheetah/
20
21master_sites        pypi:T/TurboCheetah/
22distname            TurboCheetah-${version}
23checksums           md5 daf99f38f6696ac64b7df8ac2e003a03 \
24                    sha1 f2e983c1a57e00e4abbffb906280e147dcd787e9 \
25                    rmd160 6d224c43740a9d0e13bb8a765d710df0ec169986
26
27python.versions     27
28
29if {${name} ne ${subport}} {
30    depends_build       port:py${python.version}-setuptools
31    depends_lib         port:py${python.version}-cheetah
32    post-destroot {
33        xinstall -m 644 -W ${worksrcpath} \
34            README.txt ${destroot}${prefix}/share/doc/${subport}
35    }
36}
Note: See TracBrowser for help on using the repository browser.