- Build from source not whl from pypi.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyterlab-pygments?expand=0&rev=20
This commit is contained in:
parent
9f35a79e60
commit
c53c5ccb6c
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:841a89020971da1d8693f1a99997aefc5dc424bb1b251fd6322462a1b8842780
|
|
||||||
size 15884
|
|
3
jupyterlab_pygments-0.3.0.tar.gz
Normal file
3
jupyterlab_pygments-0.3.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:721aca4d9029252b11cfa9d185e5b5af4d54772bb8072f9b7036f4170054d35d
|
||||||
|
size 512900
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 9 06:59:50 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Build from source not whl from pypi.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 7 11:17:46 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
Thu Mar 7 11:17:46 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -34,10 +34,13 @@ 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/py3/j/jupyterlab-pygments/jupyterlab_pygments-%{version}-py3-none-any.whl
|
Source: https://files.pythonhosted.org/packages/source/j/jupyterlab-pygments/jupyterlab_pygments-%{version}.tar.gz
|
||||||
# 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.8}
|
BuildRequires: %{python_module base >= 3.8}
|
||||||
|
BuildRequires: %{python_module hatch-jupyter-builder}
|
||||||
|
BuildRequires: %{python_module hatch-nodejs-version}
|
||||||
|
BuildRequires: %{python_module hatchling}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: jupyter-rpm-macros
|
BuildRequires: jupyter-rpm-macros
|
||||||
@ -63,14 +66,14 @@ Requires: python3dist(jupyterlab-pygments) = %{distversion}
|
|||||||
This package contains the Jupyterlab extension files for python-jupyterlab-pygments
|
This package contains the Jupyterlab extension files for python-jupyterlab-pygments
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c -T
|
%autosetup -p1 -n jupyterlab_pygments-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
:
|
%{pyproject_wheel}
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%install
|
%install
|
||||||
%pyproject_install %{SOURCE0}
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
find %{buildroot}%{_prefix} -path '*/site-packages/jupyterlab_pygments-%{version}.dist-info/licenses/LICENSE' -exec cp {} . ';' -quit
|
find %{buildroot}%{_prefix} -path '*/site-packages/jupyterlab_pygments-%{version}.dist-info/licenses/LICENSE' -exec cp {} . ';' -quit
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user