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