48 lines
1.1 KiB
RPMSpec
48 lines
1.1 KiB
RPMSpec
|
|
%global _empty_manifest_terminate_build 0
|
||
|
|
%global pypi_name matplotlib-inline
|
||
|
|
|
||
|
|
%global _description %{expand:
|
||
|
|
Inline Matplotlib backend for Jupyter}
|
||
|
|
|
||
|
|
Name: python-%{pypi_name}
|
||
|
|
Version: 0.1.6
|
||
|
|
Release: 1
|
||
|
|
Summary: Inline Matplotlib backend for Jupyter
|
||
|
|
License: BSD
|
||
|
|
URL: https://github.com/ipython/matplotlib-inline
|
||
|
|
Source0: %{pypi_source matplotlib-inline}
|
||
|
|
BuildArch: noarch
|
||
|
|
|
||
|
|
BuildRequires: python3-devel
|
||
|
|
BuildRequires: python3-pip
|
||
|
|
BuildRequires: python3-wheel
|
||
|
|
BuildRequires: python3-setuptools
|
||
|
|
BuildRequires: python3-setuptools_scm
|
||
|
|
|
||
|
|
%description %_description
|
||
|
|
|
||
|
|
%package -n python3-%{pypi_name}
|
||
|
|
Summary: Inline Matplotlib backend for Jupyter
|
||
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||
|
|
|
||
|
|
%description -n python3-%{pypi_name} %_description
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -n %{pypi_name}-%{version}
|
||
|
|
|
||
|
|
%build
|
||
|
|
%py3_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
%py3_install
|
||
|
|
|
||
|
|
%files -n python3-%{pypi_name}
|
||
|
|
%license LICENSE
|
||
|
|
%doc README.md
|
||
|
|
%{python3_sitelib}/matplotlib_inline-*.egg-info/
|
||
|
|
%{python3_sitelib}/matplotlib_inline/
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Tue Aug 1 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 0.1.6-1
|
||
|
|
- package init
|