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

Last change on this file was 148978, checked in by raimue@…, 14 months ago

python/py-wtforms: Add missing build dependency on setuptools

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 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 148978 2016-05-24 09:54:34Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7set _name           WTForms
8set _n              [string index ${_name} 0]
9
10name                py-wtforms
11version             2.0.1
12categories-append   devel www
13platforms           darwin
14license             BSD
15maintainers         nomaintainer
16
17description         Forms validation and rendering library for Python \
18                    web development
19long_description    ${description}
20
21homepage            http://wtforms.simplecodes.com/
22master_sites        pypi:${_n}/${_name} \
23                    https://b.pypi.python.org/packages/source/${_n}/${_name}
24distname            ${_name}-${version}
25use_zip             yes
26
27checksums           rmd160  f509df447f3cc6a55bdc0bd40ee1f9e4715e0023 \
28                    sha256  62859c74be4683601b5265ba83b9babd8a8f1cdd0ba31600fa1e70d295cd4ed2
29
30python.versions     27 34
31
32if {${name} eq ${subport}} {
33    livecheck.type  regex
34    livecheck.url   [lindex ${master_sites} 0]
35    livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
36} else {
37    depends_build   port:py${python.version}-setuptools
38
39    livecheck.type  none
40}
Note: See TracBrowser for help on using the repository browser.