From 88b3ca4506ef7c0909823dc96278c68ce273fc46 Mon Sep 17 00:00:00 2001 From: Matvey Loshakov <mloshakov@indocresearch.org> Date: Wed, 27 Nov 2024 15:13:03 +0100 Subject: [PATCH] feat: add py-ipyfilechooser --- packages/py-ipyfilechooser/package.py | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 packages/py-ipyfilechooser/package.py diff --git a/packages/py-ipyfilechooser/package.py b/packages/py-ipyfilechooser/package.py new file mode 100644 index 00000000..5d5cd2a6 --- /dev/null +++ b/packages/py-ipyfilechooser/package.py @@ -0,0 +1,25 @@ +# Copyright 2013-2024 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.package import * + + +class PyIpyfilechooser(PythonPackage): + """Python file chooser widget for use in Jupyter/IPython in conjunction with ipywidgets """ + + homepage = "https://github.com/crahan/ipyfilechooser" + pypi = "ipyfilechooser/ipyfilechooser-0.6.0.tar.gz" + + maintainers("DennisDoll", "mloshakov", "acascais") + + #license("MIT", checked_by="DennisDoll") + + version("0.6.0", sha256="41df9e4395a924f8e1b78e2804dbe5066dc3fdc233fb07fecfcdc2a0c9a7d8d3") + + depends_on("python@3:", type=("build", "run")) + depends_on("py-ipywidgets", type=("build", "run")) + + depends_on("py-setuptools", type="build") -- GitLab