diff --git a/recipes/jupyterlab_run_and_reload/LICENSE b/recipes/jupyterlab_run_and_reload/LICENSE new file mode 100644 index 0000000000000..8cb4e6b85ae30 --- /dev/null +++ b/recipes/jupyterlab_run_and_reload/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2025, Imco van Gent +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/recipes/jupyterlab_run_and_reload/meta.yaml b/recipes/jupyterlab_run_and_reload/meta.yaml new file mode 100644 index 0000000000000..d7d7c2295b058 --- /dev/null +++ b/recipes/jupyterlab_run_and_reload/meta.yaml @@ -0,0 +1,48 @@ +{% set name = "jupyterlab_run_and_reload" %} +{% set version = "0.3.1" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://github.com/imcovangent/jupyterlab_run_and_reload/releases/download/v{{ version }}/{{ name }}-{{ version }}.tar.gz + sha256: 786d5c505f5e7e9a37a0b70863f3312d761c01ed3c00c9c65aa8217a46711657 + +build: + noarch: python + script: {{ PYTHON }} -m pip install . -vv + number: 0 + +requirements: + build: + - nodejs >=14.0.0 + host: + - pip + - python {{ python_min }} + - setuptools + - jupyterlab >=3.0.0,<4 + - hatch-nodejs-version >=0.3.2 + - jupyter_packaging + run: + - python >={{ python_min }} + +test: + requires: + - python {{ python_min }} + - pip + - jupyterlab >=3.0.0,<4 + commands: + - pip check + - jupyter labextension list 2>&1 | grep -ie "jupyterlab_run_and_reload.*OK" + +about: + home: https://github.com/imcovangent/jupyterlab_run_and_reload + summary: 'JupyterLab extension to run all notebook cells and reload external widgets (e.g. PDF documents)' + license: BSD-3-Clause + license_family: BSD + license_file: LICENSE + +extra: + recipe-maintainers: + - imcovangent