PortSystem              1.0
PortGroup               python 1.0

name                    py-repoze.what.plugins.sql
version                 1.0.1
maintainers             nomaintainer
platforms               darwin
supported_archs         noarch

description             The SQL plugin makes repoze.what support sources \
                        defined in SQLAlchemy-managed databases by providing \
                        one group adapter, one permission adapter and one \
                        utility to configure both in one go.
long_description        ${description}
license                 BSD
homepage                https://pypi.python.org/pypi/repoze.what.plugins.sql/

distname                repoze.what.plugins.sql-${version}
master_sites            pypi:r/repoze.what.plugins.sql/

checksums               rmd160 116b89a81e014df99928e3432e1b842bc92b5c15

python.versions         26

if {$subport ne $name} {
    depends_build-append    port:py${python.version}-setuptools
    depends_lib-append      port:py${python.version}-repoze.what port:py${python.version}-sqlalchemy
    livecheck.type          none
} else {
    livecheck.regex         {>repoze\.what\.plugins\.sql (.+) :}
    livecheck.type          regex
    livecheck.url           ${homepage}
}