Skip to content
Permalink
Browse files

xeus-sqlite 0.1.1: new port

  • Loading branch information
Schamschula committed Jun 28, 2020
1 parent 02bcc40 commit f6064a34e491bc4fdd167346f15703fa68d2c8d3
Showing with 58 additions and 0 deletions.
  1. +58 −0 databases/xeus-sqlite/Portfile
@@ -0,0 +1,58 @@
# -*- 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.1.1
revision 0
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}
platforms darwin

checksums rmd160 0babd8e98b33cbc0bd508a14dabb81565b052c5e \
sha256 88ee8f54891a636a205d5df6c8a512de53b6fb9f6bc7702f7f50f69e7e3be5d3 \
size 24485

compiler.cxx_standard 2017

cmake.out_of_source yes

depends_build-append port:pkgconfig

variant python37 conflicts python38 description {Build using Python 3.7} {
depends_lib-append port:py37-notebook
}

variant python38 conflicts python37 description {Build using Python 3.8} {
depends_lib-append port:py38-notebook
}

if {![variant_isset python37] && ![variant_isset python38]} {
default_variants +python38
}

depends_lib-append port:cppzmq \
port:openssl \

This comment has been minimized.

Copy link
@ryandesign

ryandesign Jun 28, 2020

Contributor

Do you know for a fact that this port is not compatible with libressl? If yes, you should add a comment to that effect with a link to the relevant discussion or bug report. If no, you should allow libressl to be used by using the same dependency syntax that other ports that depend on openssl use.

This comment has been minimized.

Copy link
@Schamschula

Schamschula Jun 28, 2020

Author Contributor

I don't, but as all my machines are configured to use openssl, I have no way of testing all possible variants of libssl. I guess I can allow other versions of libssl, and let users open tickets if these don't work.

port:sqlite3 \
port:sqlitecpp \
port:tabulate \
port:xeus \
port:zmq

configure.args-append -Dnlohmann_json_DIR=${prefix}/lib/cmake/nlohmann_json \
-Dxeus_DIR=${prefix}/lib/cmake/xeus \
-Dxtl_DIR=${prefix}/lib/cmake/xtl \
-Dcppzmq_DIR=${prefix}/share/cmake/cppzmq \
-DSQLiteCpp_DIR=${prefix}/lib/cmake/SQLiteCpp \
-Dtabulate_DIR=${prefix}/lib/cmake/tabulate \
-DZeroMQ_DIR=${prefix}/share/cmake/ZeroMQ \
-DCMAKE_PREFIX_PATH:PATH=${prefix}/lib/pkgconfig \
-DOPENSSL_INCLUDE_DIR=${prefix}/include/openssl \
-DOPENSSL_CRYPTO_LIBRARY=${prefix}/lib/libssl.dylib \
-DSQLite3_INCLUDE_DIR=${prefix}/include \
-DSQLite3_LIBRARY=${prefix}/lib/libsqlite3.dylib

0 comments on commit f6064a3

Please sign in to comment.
You can’t perform that action at this time.