Ticket #32499: Portfile

File Portfile, 1.2 KB (added by singingwolfboy@…, 12 years ago)

unified portfile for flask

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 84728 2011-09-30 11:22:45Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-flask
8version             0.8
9python.versions     25 26 27
10platforms           darwin
11maintainers         ryandesign openmaintainer
12license             BSD
13supported_archs     noarch
14
15description         microframework for Python based on Werkzeug and Jinja2
16
17long_description    Flask is a ${description}, intended for small-scale applications
18
19homepage            http://flask.pocoo.org/
20master_sites        http://pypi.python.org/packages/source/F/Flask/
21distname            Flask-${version}
22
23checksums           rmd160  efd18f0b3bcbb577bc1ba9a10bfbcdce3588f558 \
24                    sha256  937504fc2ae59c44f2181be139733190ed98c51a00adbb6013873692e90b06c9
25
26if {$subport != $name} {
27    depends_lib-append  port:py${python.version}-jinja2 \
28                        port:py${python.version}-werkzeug
29}
30
31livecheck.type      regex
32livecheck.url       [lindex ${master_sites} 0]
33livecheck.regex     Flask-(\[0-9.\]+)${extract.suffix}