From a3f76740e7e4fac0bde7245502df8c5b77177f51 Mon Sep 17 00:00:00 2001 From: Tom Stitt Date: Mon, 9 Aug 2021 05:16:43 -0700 Subject: xwidgets: add new package (#25237) --- .../repos/builtin/packages/xwidgets/package.py | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 var/spack/repos/builtin/packages/xwidgets/package.py diff --git a/var/spack/repos/builtin/packages/xwidgets/package.py b/var/spack/repos/builtin/packages/xwidgets/package.py new file mode 100644 index 0000000000..836f2b2fc7 --- /dev/null +++ b/var/spack/repos/builtin/packages/xwidgets/package.py @@ -0,0 +1,24 @@ +# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class Xwidgets(CMakePackage): + """A C++ backend for Jupyter interactive widgets""" + + homepage = "https://github.com/jupyter-xeus/xwidgets" + url = "https://github.com/jupyter-xeus/xwidgets/archive/0.25.0.tar.gz" + git = "https://github.com/jupyter-xeus/xwidgets.git" + + maintainers = ['tomstitt'] + + version('master', branch='master') + version('0.25.0', sha256='7b6d36999e3b926c40389167c48b33f234a075365f089f89571b33a160421d8e') + + depends_on('xtl@0.7.0:0.7.999', when='@0.25.0:') + depends_on('xproperty@0.11.0:0.11.999', when='@0.25.0:') + depends_on('xeus@1.0:1.999', when='@0.25.0:') + depends_on('nlohmann-json@3.6.1:3.999.999', when='@0.25.0:') -- cgit v1.2.3-60-g2f50