Sync from SUSE:SLFO:Main python-jupyter-lsp revision 9fa916cf6b1f3462f187f5ba5993b23c
This commit is contained in:
commit
19ce000283
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
|
BIN
jupyter-lsp-2.2.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
jupyter-lsp-2.2.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
10
python-jupyter-lsp.changes
Normal file
10
python-jupyter-lsp.changes
Normal file
@ -0,0 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 17 15:56:03 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Suggest primary python package -- boo#1214354
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 11 21:46:17 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Initial specfile for v2.2.0
|
||||
- Required by jupyterlab 4
|
86
python-jupyter-lsp.spec
Normal file
86
python-jupyter-lsp.spec
Normal file
@ -0,0 +1,86 @@
|
||||
#
|
||||
# spec file for package python-jupyter-lsp
|
||||
#
|
||||
# Copyright (c) 2023 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 shortversion 2.2
|
||||
Name: python-jupyter-lsp
|
||||
Version: 2.2.0
|
||||
Release: 0
|
||||
Summary: LSP for Jupyter Notebook/Lab server
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/jupyter-lsp/jupyterlab-lsp/tree/master/python_packages/jupyter_lsp
|
||||
Source: https://files.pythonhosted.org/packages/source/j/jupyter-lsp/jupyter-lsp-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: jupyter-rpm-macros
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module importlib_metadata >= 4.8.3 if %python-base < 3.10}
|
||||
BuildRequires: %{python_module jupyter_server >= 1.1.2}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
Requires: jupyter-lsp = %{version}
|
||||
Requires: python-jupyter_server >= 1.1.2
|
||||
Requires: (python-importlib_metadata >= 4.8.3 if python-base < 3.10)
|
||||
Provides: python-jupyter_lsp = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Multi-Language Server WebSocket proxy for Jupyter Notebook/Lab server
|
||||
|
||||
%package -n jupyter-lsp
|
||||
Summary: LSP for Jupyter Notebook/Lab server - Config
|
||||
# Any flavor is okay, but suggest the primary one for automatic zypper choice -- boo#1214354
|
||||
Requires: python3dist(jupyter-lsp) = %{shortversion}
|
||||
Suggests: python3-jupyter-lsp
|
||||
|
||||
%description -n jupyter-lsp
|
||||
Multi-Language Server WebSocket proxy for Jupyter Notebook/Lab server
|
||||
Jupyter config
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n jupyter-lsp-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
sed -e /cov/d -e /--flake8/d -i setup.cfg
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# no R language server
|
||||
donttest="test_r_package_detection"
|
||||
%pytest -k "not ($donttest)"
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/jupyter_lsp
|
||||
%{python_sitelib}/jupyter_lsp-%{version}.dist-info
|
||||
|
||||
%files -n jupyter-lsp
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%_jupyter_config %_jupyter_servextension_confdir/jupyter-lsp-notebook.json
|
||||
%_jupyter_config %_jupyter_server_confdir/jupyter-lsp-jupyter-server.json
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user