You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
46 lines
1.4 KiB
Tcl
46 lines
1.4 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 any}
|
|
supported_archs noarch
|
|
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
|
|
|
|
checksums rmd160 bad93be8a09ac4db57663b4f52143a70cdefc53a \
|
|
sha256 0cdbac3e7f6878086c334aa25dc5a33869a3954e9d1e015130d65a69309b3b61 \
|
|
size 156904
|
|
|
|
python.versions 37
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools
|
|
|
|
depends_lib-append \
|
|
port:py${python.version}-babel
|
|
|
|
test.run yes
|
|
python.test_framework
|
|
test.cmd ${python.bin} tests/runtests.py
|
|
|
|
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}
|
|
}
|
|
}
|