!2 初始化软件包(nbconvert引入新增依赖)
From: @desert-sailor Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
05293b3ea4
BIN
jupyterlab_pygments-0.1.2.tar.gz
Normal file
BIN
jupyterlab_pygments-0.1.2.tar.gz
Normal file
Binary file not shown.
51
python-jupyterlab-pygments.spec
Normal file
51
python-jupyterlab-pygments.spec
Normal file
@ -0,0 +1,51 @@
|
||||
# Created by pyp2rpm-3.3.5
|
||||
%global pypi_name jupyterlab_pygments
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 0.1.2
|
||||
Release: 1
|
||||
Summary: Pygments theme using JupyterLab CSS variables.
|
||||
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/jupyterlab/jupyterlab_pygments
|
||||
Source0: %{pypi_source}
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
|
||||
%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
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%files -n python3-%{pypi_name}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{python3_sitelib}/%{pypi_name}
|
||||
%{python3_sitelib}/%{pypi_name}-*.egg-info
|
||||
|
||||
%changelog
|
||||
* Fri Oct 27 2023 Dongxing Wang <dxwangk@isoftstone.com> - 0.1.2-1
|
||||
- Initial package.
|
||||
Loading…
x
Reference in New Issue
Block a user