# Created by pyp2rpm-3.3.4 %global pypi_name mpld3 Name: python-%{pypi_name} Version: 0.5.1 Release: 1%{?dist} Summary: D3 Viewer for Matplotlib License: BSD 3-clause URL: http://mpld3.github.com Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(jinja2) BuildRequires: python3dist(matplotlib) BuildRequires: python3dist(setuptools) %description mpld3: A D3 Viewer for Matplotlib - Maintainers: [@cliffckerr]( and [@vladh]( - Author: Jake Vanderplas - License: BSD 3-clauseThis is an interactive D3js-based viewer which brings matplotlib graphics to the browser. Please visit []() for documentation and examples.You may also see the [blog post]( or the [IPython notebook examples]( %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} Requires: python3dist(jinja2) Requires: python3dist(matplotlib) %description -n python3-%{pypi_name} mpld3: A D3 Viewer for Matplotlib - Maintainers: [@cliffckerr]( and [@vladh]( - Author: Jake Vanderplas - License: BSD 3-clauseThis is an interactive D3js-based viewer which brings matplotlib graphics to the browser. Please visit []() for documentation and examples.You may also see the [blog post]( or the [IPython notebook examples]( %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %check ##%{__python3} setup.py test %files -n python3-%{pypi_name} %license LICENSE %doc README.md %{python3_sitelib}/%{pypi_name} %{python3_sitelib}/mpld3/mplexporter %{python3_sitelib}/mpld3/mplexporter/renderers %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %changelog * Wed Sep 30 2020 Itamar Reis Peixoto - 0.5.1-1 - Initial package.