You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
50 lines
1.5 KiB
Tcl
50 lines
1.5 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup python 1.0
|
|
|
|
name py-wtforms
|
|
python.rootname WTForms
|
|
version 2.2.1
|
|
revision 0
|
|
|
|
categories-append devel www
|
|
platforms darwin
|
|
license BSD
|
|
maintainers nomaintainer
|
|
|
|
description A flexible forms validation and rendering library for Python web development.
|
|
long_description ${description}
|
|
|
|
homepage https://github.com/wtforms/wtforms
|
|
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
|
|
distname ${python.rootname}-${version}
|
|
|
|
checksums rmd160 bad93be8a09ac4db57663b4f52143a70cdefc53a \
|
|
sha256 0cdbac3e7f6878086c334aa25dc5a33869a3954e9d1e015130d65a69309b3b61 \
|
|
size 156904
|
|
|
|
python.versions 27 35 36 37
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools
|
|
|
|
depends_lib-append \
|
|
port:py${python.version}-babel
|
|
|
|
test.run yes
|
|
test.cmd ${python.bin} tests/runtests.py
|
|
test.target
|
|
test.env PYTHONPATH=${worksrcpath}/build/lib
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} README.rst \
|
|
LICENSE.rst AUTHORS.rst ${destroot}${docdir}
|
|
}
|
|
|
|
livecheck.type none
|
|
}
|