# -*- 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-bottle-sqlalchemy
version             0.4.3
revision            0

categories-append   databases devel
license             MIT
maintainers         nomaintainer

description         SQLAlchemy plugin for bottle web microframework
long_description    This bottle-sqlalchemy plugin integrates SQLAlchemy \
                    with Bottle applications. It injects a SQLAlchemy \
                    session in routes and handles the session cycle.

platforms           darwin
supported_archs     noarch

homepage            https://github.com/iurisilvio/bottle-sqlalchemy
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}/
distname            ${python.rootname}-${version}

checksums           sha256  ba6127f3aff2b78649781adbbee65518233dc481e9f9e32e3b050d1ad9551c17 \
                    rmd160  eb205ca003feef2172a44c06dbe2f59e112d5c0c \
                    size    2974

python.versions     27

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-bottle \
                    port:py${python.version}-sqlalchemy

    livecheck.type  none
}