66 lines
1.8 KiB
RPMSpec
66 lines
1.8 KiB
RPMSpec
%global _empty_manifest_terminate_build 0
|
|
%global pypi_name jupyterlab_pygments
|
|
|
|
Name: python-%{pypi_name}
|
|
Version: 0.3.0
|
|
Release: 1
|
|
Summary: Pygments theme using JupyterLab CSS variables
|
|
License: BSD-3-Clause
|
|
URL: https://github.com/jupyterlab/jupyterlab_pygments
|
|
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-pip
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-setuptools
|
|
BuildRequires: python3-setuptools_scm
|
|
BuildRequires: python3-wheel
|
|
BuildRequires: python3-hatchling
|
|
BuildRequires: python3-hatch-nodejs-version
|
|
BuildRequires: python3-hatch-jupyter-builder
|
|
BuildRequires: python3-jupyterlab
|
|
|
|
%description
|
|
This package contains a syntax coloring theme for pygments making use of the
|
|
JupyterLab CSS variables.
|
|
|
|
%package -n python3-%{pypi_name}
|
|
Summary: %{summary}
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
%description -n python3-%{pypi_name}
|
|
This package contains a syntax coloring theme for pygments making use of the
|
|
JupyterLab CSS variables.
|
|
|
|
%prep
|
|
%autosetup -n %{pypi_name}-%{version}
|
|
# Remove bundled egg-info
|
|
rm -rf %{pypi_name}.egg-info
|
|
|
|
%build
|
|
%pyproject_build
|
|
|
|
%install
|
|
%pyproject_install
|
|
|
|
%files -n python3-%{pypi_name}
|
|
%license LICENSE
|
|
%doc README.md
|
|
%{_datadir}/*
|
|
%{python3_sitelib}/*
|
|
|
|
%changelog
|
|
* Wed Mar 6 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 0.3.0-1
|
|
- Update package with version 0.3.0
|
|
Upgrade extension to work with jupyterlab4
|
|
Delete lock file and rerun jlpm install
|
|
Remove dev dependencies and auto generated hatch file
|
|
Make build work with python 3.12
|
|
Remove package-lock.json from git tracking
|
|
|
|
* Wed Feb 21 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 0.2.2-1
|
|
- Update package to version 0.2.2
|
|
|
|
* Fri Oct 27 2023 Dongxing Wang <dxwangk@isoftstone.com> - 0.1.2-1
|
|
- Initial package.
|