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

Last change on this file was 153155, checked in by bgilbert@…, 12 months ago

py-flask: add missing dependency on py-click

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 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 153155 2016-09-26 03:51:57Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-flask
8version             0.11.1
9revision            1
10python.versions     26 27 33 34 35
11platforms           darwin
12maintainers         ryandesign openmaintainer
13license             BSD
14supported_archs     noarch
15
16description         microframework for Python based on Werkzeug and Jinja2
17
18long_description    Flask is a ${description}, intended for small-scale applications
19
20homepage            http://flask.pocoo.org/
21master_sites        pypi:F/Flask/
22default distname    {Flask-${version}}
23
24checksums           rmd160  361c92c6baf44a31f10357866f53443030af975d \
25                    sha256  b4713f2bfb9ebc2966b8a49903ae0d3984781d5c878591cf2f7b484d28756b0e
26
27if {${name} ne ${subport}} {
28    depends_build-append    port:py${python.version}-setuptools
29
30    depends_lib-append      port:py${python.version}-jinja2 \
31                            port:py${python.version}-werkzeug \
32                            port:py${python.version}-itsdangerous \
33                            port:py${python.version}-click
34
35    livecheck.type      none
36} else {
37    livecheck.type      regex
38    livecheck.url       https://pypi.python.org/pypi/Flask/json
39    livecheck.regex     {Flask-(\d+(?:\.\d+)*)\.[tz]}
40}
Note: See TracBrowser for help on using the repository browser.