56 lines
1.3 KiB
RPMSpec
56 lines
1.3 KiB
RPMSpec
%global _empty_manifest_terminate_build 0
|
|
%global pypi_name ipykernel
|
|
|
|
Name: python-%{pypi_name}
|
|
Version: 6.25.0
|
|
Release: 1
|
|
Summary: This package provides the IPython kernel for Jupyter.
|
|
|
|
|
|
License: BSD-3-Clause
|
|
URL: https://ipython.org/
|
|
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
|
Patch1: 0001-bugfix-modify-version-for-pkg.patch
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-setuptools
|
|
BuildRequires: python3-pip
|
|
BuildRequires: python3-wheel
|
|
BuildRequires: python3-hatchling
|
|
BuildRequires: python3-virtualenv
|
|
BuildRequires: python3-poetry-core
|
|
BuildRequires: python3-jupyter-client
|
|
|
|
%description
|
|
This package provides the IPython kernel for Jupyter.
|
|
|
|
%package -n python3-%{pypi_name}
|
|
Summary: %{summary}
|
|
|
|
%description -n python3-%{pypi_name}
|
|
This package provides the IPython kernel for Jupyter.
|
|
|
|
%prep
|
|
%autosetup -p1 -n %{pypi_name}-%{version}
|
|
|
|
%build
|
|
%pyproject_build
|
|
|
|
%install
|
|
%pyproject_install
|
|
|
|
%files -n python3-%{pypi_name}
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{python3_sitelib}/ipykernel*.dist-info/
|
|
%{python3_sitelib}/__pycache__/
|
|
%{python3_sitelib}/ipykernel
|
|
%{python3_sitelib}/ipykernel_launcher.py
|
|
%{_datadir}/jupyter
|
|
|
|
%changelog
|
|
* Fri Jul 28 2023 zoujiancang<jczou@isoftstone.com> - 6.25.0-1
|
|
- Initial package
|
|
|