Files
openRuyi/SPECS/python-matplotlib-inline/python-matplotlib-inline.spec

50 lines
1.5 KiB
RPMSpec

# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: purofle <yuguo.or@isrc.iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0
%global srcname matplotlib_inline
Name: python-matplotlib-inline
Version: 0.2.1
Release: %autorelease
Summary: Inline Matplotlib backend for Jupyter
License: BSD-3-Clause
URL: https://github.com/ipython/matplotlib-inline
#!RemoteAsset: sha256:e1ee949c340d771fc39e241ea75683deb94762c8fa5f2927ec57c83c4dffa9fe
Source0: https://files.pythonhosted.org/packages/source/m/matplotlib-inline/%{srcname}-%{version}.tar.gz
BuildArch: noarch
BuildSystem: pyproject
BuildOption(install): -l %{srcname}
BuildRequires: pyproject-rpm-macros
BuildRequires: pkgconfig(python3)
BuildRequires: python3dist(parso)
BuildRequires: python3dist(pip)
BuildRequires: python3dist(pytest)
BuildRequires: python3dist(setuptools)
BuildRequires: python3dist(wheel)
Provides: python3-%{srcname}
%python_provide python3-%{srcname}
%description
This package provides support for matplotlib to
display figures directly inline in the Jupyter notebook
and related clients, as shown below.
%generate_buildrequires
%pyproject_buildrequires
%check
# Skip all tests, as they require matplotlib on runtime
%files -f %{pyproject_files}
%doc README.md
%license LICENSE
%changelog
%{?autochangelog}