## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 ## START: Generated by rpmautospec * Thu Apr 11 2024 Lumir Balhar - 2.2.5-1 - Update to 2.2.5 (rhbz#2274214) * Tue Mar 05 2024 Lumir Balhar - 2.2.4-1 - Update to 2.2.4 (rhbz#2267904) * Tue Mar 05 2024 Lumír Balhar - 2.2.3-1 - Update to 2.2.3 (rhbz#2258899) * Fri Jan 26 2024 Fedora Release Engineering - 2.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 2.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jan 18 2024 Lumír Balhar - 2.2.2-1 - Update to 2.2.2 (rhbz#2258899) * Tue Nov 28 2023 Lumír Balhar - 2.2.1-1 - Update to 2.2.1 (rhbz#2251608) * Fri Jul 21 2023 Fedora Release Engineering - 2.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 04 2023 Python Maint - 2.2.0-2 - Rebuilt for Python 3.12 * Thu Jun 01 2023 Lumír Balhar - 2.2.0-1 - Update to 2.2.0 (rhbz#2210566) * Tue Apr 25 2023 Lumír Balhar - 2.1.0-1 - Update to 2.1.0 (rhbz#2189334) * Wed Mar 22 2023 Lumír Balhar - 2.0.1-1 - Update to 2.0.1 (rhbz#2180534) * Wed Mar 15 2023 Lumír Balhar - 2.0.0-1 - Update to 2.0.0 (rhbz#2178558) * Fri Jan 20 2023 Fedora Release Engineering - 1.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Dec 04 2022 Lumír Balhar - 1.5.1-1 - Initial package ## END: Generated by rpmautospec