commit
96e3b8056f
@ -0,0 +1 @@
|
|||||||
|
SOURCES/jupyter-lsp-2.2.5.tar.gz
|
@ -0,0 +1 @@
|
|||||||
|
8661c9d3b329fa6fa1f36fe5e22d04f432d966e0 SOURCES/jupyter-lsp-2.2.5.tar.gz
|
@ -0,0 +1,129 @@
|
|||||||
|
## START: Set by rpmautospec
|
||||||
|
## (rpmautospec version 0.6.5)
|
||||||
|
## RPMAUTOSPEC: autorelease, autochangelog
|
||||||
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
||||||
|
release_number = 3;
|
||||||
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
||||||
|
print(release_number + base_release_number - 1);
|
||||||
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
||||||
|
## END: Set by rpmautospec
|
||||||
|
|
||||||
|
Name: python-jupyter-lsp
|
||||||
|
Version: 2.2.5
|
||||||
|
Release: %autorelease
|
||||||
|
Summary: Multi-Language Server WebSocket proxy for Jupyter Notebook/Lab server
|
||||||
|
# SPDX
|
||||||
|
License: BSD-3-Clause
|
||||||
|
URL: https://pypi.org/project/jupyter-lsp/
|
||||||
|
Source: %{pypi_source jupyter-lsp}
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-pytest
|
||||||
|
|
||||||
|
%global _description %{expand:
|
||||||
|
Multi-Language Server WebSocket proxy for your Jupyter notebook or lab server.
|
||||||
|
For Python 3.6+.}
|
||||||
|
|
||||||
|
|
||||||
|
%description %_description
|
||||||
|
|
||||||
|
%package -n python3-jupyter-lsp
|
||||||
|
Summary: %{summary}
|
||||||
|
|
||||||
|
Requires: python-jupyter-filesystem
|
||||||
|
|
||||||
|
%description -n python3-jupyter-lsp %_description
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n jupyter-lsp-%{version}
|
||||||
|
|
||||||
|
sed -i "/--cov /d" setup.cfg
|
||||||
|
sed -i "/--cov-report/d" setup.cfg
|
||||||
|
sed -i "/--flake8/d" setup.cfg
|
||||||
|
|
||||||
|
|
||||||
|
%generate_buildrequires
|
||||||
|
%pyproject_buildrequires
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%pyproject_wheel
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
%pyproject_save_files jupyter_lsp
|
||||||
|
|
||||||
|
install -m 0755 -p -d %{buildroot}%{_sysconfdir}/jupyter/jupyter_server_config.d
|
||||||
|
mv -v %{buildroot}{%{_prefix},}%{_sysconfdir}/jupyter/jupyter_server_config.d/jupyter-lsp-jupyter-server.json
|
||||||
|
|
||||||
|
|
||||||
|
%check
|
||||||
|
# test_r_package_detection fails if R language server is not installed
|
||||||
|
%pytest -k "not test_r_package_detection"
|
||||||
|
|
||||||
|
|
||||||
|
%files -n python3-jupyter-lsp -f %{pyproject_files}
|
||||||
|
%doc README.md
|
||||||
|
%config(noreplace) %{_sysconfdir}/jupyter/jupyter_server_config.d/jupyter-lsp-jupyter-server.json
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Jan 05 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 2.2.5-3
|
||||||
|
- Rebuilt for MSVSphere 10
|
||||||
|
|
||||||
|
## START: Generated by rpmautospec
|
||||||
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.5-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jun 10 2024 Python Maint <python-maint@redhat.com> - 2.2.5-2
|
||||||
|
- Rebuilt for Python 3.13
|
||||||
|
|
||||||
|
* Thu Apr 11 2024 Lumir Balhar <lbalhar@redhat.com> - 2.2.5-1
|
||||||
|
- Update to 2.2.5 (rhbz#2274214)
|
||||||
|
|
||||||
|
* Tue Mar 05 2024 Lumir Balhar <lbalhar@redhat.com> - 2.2.4-1
|
||||||
|
- Update to 2.2.4 (rhbz#2267904)
|
||||||
|
|
||||||
|
* Tue Mar 05 2024 Lumír Balhar <lbalhar@redhat.com> - 2.2.3-1
|
||||||
|
- Update to 2.2.3 (rhbz#2258899)
|
||||||
|
|
||||||
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 18 2024 Lumír Balhar <lbalhar@redhat.com> - 2.2.2-1
|
||||||
|
- Update to 2.2.2 (rhbz#2258899)
|
||||||
|
|
||||||
|
* Tue Nov 28 2023 Lumír Balhar <lbalhar@redhat.com> - 2.2.1-1
|
||||||
|
- Update to 2.2.1 (rhbz#2251608)
|
||||||
|
|
||||||
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 04 2023 Python Maint <python-maint@redhat.com> - 2.2.0-2
|
||||||
|
- Rebuilt for Python 3.12
|
||||||
|
|
||||||
|
* Thu Jun 01 2023 Lumír Balhar <lbalhar@redhat.com> - 2.2.0-1
|
||||||
|
- Update to 2.2.0 (rhbz#2210566)
|
||||||
|
|
||||||
|
* Tue Apr 25 2023 Lumír Balhar <lbalhar@redhat.com> - 2.1.0-1
|
||||||
|
- Update to 2.1.0 (rhbz#2189334)
|
||||||
|
|
||||||
|
* Wed Mar 22 2023 Lumír Balhar <lbalhar@redhat.com> - 2.0.1-1
|
||||||
|
- Update to 2.0.1 (rhbz#2180534)
|
||||||
|
|
||||||
|
* Wed Mar 15 2023 Lumír Balhar <lbalhar@redhat.com> - 2.0.0-1
|
||||||
|
- Update to 2.0.0 (rhbz#2178558)
|
||||||
|
|
||||||
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Dec 04 2022 Lumír Balhar <lbalhar@redhat.com> - 1.5.1-1
|
||||||
|
- Initial package
|
||||||
|
|
||||||
|
## END: Generated by rpmautospec
|
Loading…
Reference in new issue