# -*- 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-ipython-sql
version             0.4.1

categories-append   databases
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         {petr @petrrr} openmaintainer

description         RDBMS access via %%sql magic for IPython
long_description    \
    Introduces a %sql (or %%sql) magic. \
    Connect to a database, using SQLAlchemy connect strings, then issue SQL \
    commands within IPython or IPython Notebook.

homepage            https://github.com/catherinedevlin/ipython-sql

checksums           rmd160  b3fc72d17a182f7392c198a6e8ad7419a13d3116 \
                    sha256  3786344ce208a58047a4bcf43afd3c143d935a395c72ea849bf0e3fc24fad9e4 \
                    size    20709

python.versions     310 311 312

if {${name} ne ${subport}} {
    depends_lib-append      port:py${python.version}-ipython \
                            port:py${python.version}-ipython_genutils \
                            port:py${python.version}-prettytable \
                            port:py${python.version}-sqlalchemy \
                            port:py${python.version}-sqlparse \
                            port:py${python.version}-six
}
