# -*- 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 cmake 1.1 PortGroup github 1.0 github.setup jupyter-xeus xeus-sqlite 0.6.2 revision 1 categories databases license BSD maintainers {mps @Schamschula} openmaintainer description xeus-sqlite is a Jupyter kernel for SQL based on the native \ implementation of the Jupyter protocol xeus. long_description {*}${description} checksums rmd160 14000e84be51666bbe40efeeac7cf4209ae242cd \ sha256 2d126fbef4e32b42fb7ecc8b309491e4a7d2ea66c703402ebf3711a88ffa3c3b \ size 373461 compiler.cxx_standard 2017 depends_build-append port:pkgconfig variant python38 conflicts python39 python310 python311 description {Use Python 3.8} {} variant python39 conflicts python38 python310 python311 description {Use Python 3.9} {} variant python310 conflicts python38 python39 python311 description {Use Python 3.10} {} variant python311 conflicts python38 python39 python310 description {Use Python 3.11} {} if {![variant_isset python38] && ![variant_isset python39] && ![variant_isset python310]} { default_variants +python311 } foreach pv {311 310 39 38} { if {[variant_isset python${pv}]} { set python.version ${pv} break } } depends_lib-append port:nlohmann-json \ port:py${python.version}-jupyterlab \ port:sqlite3 \ port:sqlitecpp \ port:tabulate \ port:xeus-zmq \ port:xvega \ port:xvega-bindings configure.args-append -DCMAKE_PREFIX_PATH:PATH=${prefix}/lib/pkgconfig \ -Dcppzmq_DIR=${prefix}/share/cmake/cppzmq \ -Dnlohmann_json_DIR=${prefix}/share/cmake/nlohmann_json \ -DOPENSSL_INCLUDE_DIR=${prefix}/include/openssl \ -DOPENSSL_CRYPTO_LIBRARY=${prefix}/lib/libssl.dylib \ -DSQLite3_INCLUDE_DIR=${prefix}/include \ -DSQLite3_LIBRARY=${prefix}/lib/libsqlite3.dylib \ -DSQLiteCpp_DIR=${prefix}/lib/cmake/SQLiteCpp \ -Dtabulate_DIR=${prefix}/lib/cmake/tabulate \ -Dxeus_DIR=${prefix}/lib/cmake/xeus \ -Dxeus-zmq_DIR=${prefix}/lib/cmake/xeus-zmq \ -Dxproperty_DIR=${prefix}/lib/cmake/xproperty \ -Dxtl_DIR=${prefix}/share/cmake/xtl \ -Dxvega_DIR=${prefix}/lib/cmake/xvega \ -Dxvega-bindings_DIR=${prefix}/lib/cmake/xvega-bindings \ -DZeroMQ_DIR=${prefix}/lib/cmake/ZeroMQ \ -DXSQL_DISABLE_ARCH_NATIVE:BOOL=ON