Accepting request 1134934 from devel:languages:python:jupyter

- Update to 0.3.0
  * no release notes

OBS-URL: https://build.opensuse.org/request/show/1134934
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyterlab-pygments?expand=0&rev=9
This commit is contained in:
Ana Guerrero 2023-12-25 18:05:43 +00:00 committed by Git OBS Bridge
commit b4f91fcb03
4 changed files with 15 additions and 8 deletions

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:841a89020971da1d8693f1a99997aefc5dc424bb1b251fd6322462a1b8842780
size 15884

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Dec 23 20:13:55 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 0.3.0
* no release notes
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Feb 2 17:16:28 UTC 2023 - Ben Greiner <code@bnavigator.de> Thu Feb 2 17:16:28 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

@ -25,23 +25,23 @@
%bcond_with test %bcond_with test
%endif %endif
%define distversion 0.3
Name: python-jupyterlab-pygments%{psuffix} Name: python-jupyterlab-pygments%{psuffix}
Version: 0.2.2 Version: 0.3.0
Release: 0 Release: 0
Summary: Pygments theme for jupyterlab Summary: Pygments theme for jupyterlab
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/jupyterlab/jupyterlab_pygments URL: https://github.com/jupyterlab/jupyterlab_pygments
Source: https://files.pythonhosted.org/packages/py2.py3/j/jupyterlab-pygments/jupyterlab_pygments-%{version}-py2.py3-none-any.whl Source: https://files.pythonhosted.org/packages/py3/j/jupyterlab-pygments/jupyterlab_pygments-%{version}-py3-none-any.whl
# Slightly modified from https://github.com/jupyterlab/jupyterlab_pygments/blob/0.2.2/notebooks/Example.ipynb # Slightly modified from https://github.com/jupyterlab/jupyterlab_pygments/blob/0.2.2/notebooks/Example.ipynb
Source1: Example.ipynb Source1: Example.ipynb
BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: jupyter-rpm-macros BuildRequires: jupyter-rpm-macros
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: jupyter-jupyterlab-pygments = %{version} Requires: jupyter-jupyterlab-pygments = %{version}
Requires: python-pygments >= 2.4.1
BuildArch: noarch BuildArch: noarch
%if %{with test} %if %{with test}
BuildRequires: %{python_module jupyterlab-pygments = %{version}} BuildRequires: %{python_module jupyterlab-pygments = %{version}}
@ -56,6 +56,7 @@ of the JupyterLab CSS variables.
%package -n jupyter-jupyterlab-pygments %package -n jupyter-jupyterlab-pygments
Summary: Pygments theme for jupyterlab -- Jupyterlab extension files Summary: Pygments theme for jupyterlab -- Jupyterlab extension files
Requires: python3dist(jupyterlab-pygments) = %{distversion}
%description -n jupyter-jupyterlab-pygments %description -n jupyter-jupyterlab-pygments
This package contains the Jupyterlab extension files for python-jupyterlab-pygments This package contains the Jupyterlab extension files for python-jupyterlab-pygments
@ -70,7 +71,7 @@ This package contains the Jupyterlab extension files for python-jupyterlab-pygme
%install %install
%pyproject_install %{SOURCE0} %pyproject_install %{SOURCE0}
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
find %{buildroot}%{_prefix} -path '*/site-packages/jupyterlab_pygments-%{version}.dist-info/LICENSE' -exec cp {} . ';' -quit find %{buildroot}%{_prefix} -path '*/site-packages/jupyterlab_pygments-%{version}.dist-info/licenses/LICENSE' -exec cp {} . ';' -quit
%endif %endif
%if %{with test} %if %{with test}