# -*- 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-formalchemy
version             1.5.5
revision            0
platforms           darwin
supported_archs     noarch
license             MIT

maintainers         nomaintainer

description         FormAlchemy greatly speeds development with SQLAlchemy \
                    mapped classes (models) in a HTML forms environment.
long_description    ${description}

homepage            https://pypi.python.org/pypi/FormAlchemy/
# workaround some PyPI weirdness...
#master_sites        pypi:f/FormAlchemy/
master_sites        https://files.pythonhosted.org/packages/2b/5c/f63bc770c89e736ef14b0abf4d3a4d5d53c030625682ea61618499e0a58b
distname            FormAlchemy-${version}

checksums           rmd160  5d10303cd512687d9235f3ecead02b0df4c92606 \
                    sha256  3be7c312edaa29f865afed7a3007e5ba047698aea7939eb1b524f0b717a0c796 \
                    size    108591

python.versions     27

if {${subport} ne ${name}} {
    depends_build-append    port:py${python.version}-setuptools

    depends_lib-append      port:py${python.version}-markupsafe \
                            port:py${python.version}-six \
                            port:py${python.version}-sqlalchemy \
                            port:py${python.version}-tempita \
                            port:py${python.version}-webhelpers \
                            port:py${python.version}-webob

    livecheck.type  none
}