- Initial specfile for v0.19.0
- Now separate from python-ipyleaflet OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-leaflet?expand=0&rev=1
This commit is contained in:
commit
248d0ab78a
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
21
LICENSE
Normal file
21
LICENSE
Normal file
@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-2018, Project Jupyter Contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
3
jupyter_leaflet-0.19.0.tar.gz
Normal file
3
jupyter_leaflet-0.19.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3201c9c7dee782b2f64c86c508e106452e823ad65a127656191aa0f88c44454d
|
||||
size 54563535
|
5
python-jupyter-leaflet.changes
Normal file
5
python-jupyter-leaflet.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun May 5 18:15:48 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Initial specfile for v0.19.0
|
||||
- Now separate from python-ipyleaflet
|
81
python-jupyter-leaflet.spec
Normal file
81
python-jupyter-leaflet.spec
Normal file
@ -0,0 +1,81 @@
|
||||
#
|
||||
# spec file for package python-jupyter-leaflet
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define distversion 0.19
|
||||
Name: python-jupyter-leaflet
|
||||
Version: 0.19.0
|
||||
Release: 0
|
||||
Summary: Leaflet extensions for JupyterLab and Jupyter Notebook
|
||||
License: MIT
|
||||
URL: https://github.com/jupyter-widgets/ipyleaflet
|
||||
Source0: https://files.pythonhosted.org/packages/source/j/jupyter_leaflet/jupyter_leaflet-%{version}.tar.gz
|
||||
Source1: https://github.com/jupyter-widgets/ipyleaflet/raw/%{version}/LICENSE
|
||||
BuildRequires: %{python_module hatch-jupyter-builder >= 0.8.1}
|
||||
BuildRequires: %{python_module hatch-nodejs-version >= 0.3.2}
|
||||
BuildRequires: %{python_module hatchling}
|
||||
BuildRequires: %{python_module jupyterlab}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: jupyter-rpm-macros
|
||||
BuildRequires: python-rpm-macros
|
||||
Provides: python-jupyter_leaflet = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Interactive leaflet widget for the Jupyter notebook
|
||||
|
||||
The reference Python backend is ipyleaflet
|
||||
|
||||
%package -n jupyter-leaflet
|
||||
Summary: Interactive leaflet widget for the Jupyter notebook - Jupyter files
|
||||
# Any flavor is okay, but suggest the primary one for automatic zypper choice -- boo#1214354
|
||||
Requires: python3dist(jupyter-leaflet) = %{distversion}
|
||||
Suggests: python3-jupyter-leaflet
|
||||
|
||||
%description -n jupyter-leaflet
|
||||
Interactive leaflet widget for the Jupyter notebook
|
||||
|
||||
This package provides the extensions for jupyter notebook and jupyterlab.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n jupyter_leaflet-%{version}
|
||||
cp %{SOURCE1} ./
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%fdupes %{buildroot}%{_jupyter_prefix}
|
||||
|
||||
#%%check
|
||||
# no python checks, but make sure to look into ipyleaflet
|
||||
|
||||
%files %{python_files}
|
||||
%{python_sitelib}/jupyter_leaflet
|
||||
%{python_sitelib}/jupyter_leaflet-%{version}.dist-info
|
||||
|
||||
%files -n jupyter-leaflet
|
||||
%license LICENSE
|
||||
%{_jupyter_config} %{_jupyter_nb_notebook_confdir}/jupyter-leaflet.json
|
||||
%{_jupyter_nbextension_dir}/jupyter-leaflet
|
||||
%{_jupyter_labextensions_dir3}/jupyter-leaflet
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user