From cc2f6ae3a5b0cf57a57e2ef66b361abfd169a058 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 10 Apr 2023 15:25:40 +0000 Subject: automatic import of python-mpld3 --- python-mpld3.spec | 116 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 python-mpld3.spec (limited to 'python-mpld3.spec') diff --git a/python-mpld3.spec b/python-mpld3.spec new file mode 100644 index 0000000..5ca5468 --- /dev/null +++ b/python-mpld3.spec @@ -0,0 +1,116 @@ +%global _empty_manifest_terminate_build 0 +Name: python-mpld3 +Version: 0.5.9 +Release: 1 +Summary: D3 Viewer for Matplotlib +License: BSD 3-clause +URL: http://mpld3.github.com +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d2/03/7d57a65a3cc33b9e7151d96e1944b0f199f7788bf4a9f330a24abec9dfcd/mpld3-0.5.9.tar.gz +BuildArch: noarch + +Requires: python3-jinja2 +Requires: python3-matplotlib + +%description +- Maintainers: [@vladh](https://github.com/vladh), [@cliffckerr](https://github.com/cliffckerr) +- Status: I ([@vladh](https://github.com/vladh)) am not currently able to dedicate much time to resolving mpld3 issues. + However, I _will_ gladly look at your pull request and review it. Please try your hand at fixing any issues you + may have and sending a PR rather than just filing an issue — most problems don't take as long as you might expect to + figure out! +- Original author: Jake Vanderplas +- License: BSD 3-clause +This is an interactive D3js-based viewer which brings matplotlib graphics to the browser. +Please visit [http://mpld3.github.io](http://mpld3.github.io) for documentation and examples. +You may also see the [blog post](http://jakevdp.github.io/blog/2013/12/19/a-d3-viewer-for-matplotlib/), or the +[IPython notebook examples](http://nbviewer.ipython.org/github/jakevdp/mpld3/tree/master/notebooks/) +available in the ``notebooks`` directory of this repository. +[![version status](https://img.shields.io/pypi/v/mpld3.svg)](https://pypi.python.org/pypi/mpld3) +[![downloads](https://img.shields.io/pypi/dm/mpld3.svg)](https://pypi.python.org/pypi/mpld3) +[![build status](https://travis-ci.org/jakevdp/mpld3.svg?branch=master)](https://travis-ci.org/jakevdp/mpld3) + +%package -n python3-mpld3 +Summary: D3 Viewer for Matplotlib +Provides: python-mpld3 +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-mpld3 +- Maintainers: [@vladh](https://github.com/vladh), [@cliffckerr](https://github.com/cliffckerr) +- Status: I ([@vladh](https://github.com/vladh)) am not currently able to dedicate much time to resolving mpld3 issues. + However, I _will_ gladly look at your pull request and review it. Please try your hand at fixing any issues you + may have and sending a PR rather than just filing an issue — most problems don't take as long as you might expect to + figure out! +- Original author: Jake Vanderplas +- License: BSD 3-clause +This is an interactive D3js-based viewer which brings matplotlib graphics to the browser. +Please visit [http://mpld3.github.io](http://mpld3.github.io) for documentation and examples. +You may also see the [blog post](http://jakevdp.github.io/blog/2013/12/19/a-d3-viewer-for-matplotlib/), or the +[IPython notebook examples](http://nbviewer.ipython.org/github/jakevdp/mpld3/tree/master/notebooks/) +available in the ``notebooks`` directory of this repository. +[![version status](https://img.shields.io/pypi/v/mpld3.svg)](https://pypi.python.org/pypi/mpld3) +[![downloads](https://img.shields.io/pypi/dm/mpld3.svg)](https://pypi.python.org/pypi/mpld3) +[![build status](https://travis-ci.org/jakevdp/mpld3.svg?branch=master)](https://travis-ci.org/jakevdp/mpld3) + +%package help +Summary: Development documents and examples for mpld3 +Provides: python3-mpld3-doc +%description help +- Maintainers: [@vladh](https://github.com/vladh), [@cliffckerr](https://github.com/cliffckerr) +- Status: I ([@vladh](https://github.com/vladh)) am not currently able to dedicate much time to resolving mpld3 issues. + However, I _will_ gladly look at your pull request and review it. Please try your hand at fixing any issues you + may have and sending a PR rather than just filing an issue — most problems don't take as long as you might expect to + figure out! +- Original author: Jake Vanderplas +- License: BSD 3-clause +This is an interactive D3js-based viewer which brings matplotlib graphics to the browser. +Please visit [http://mpld3.github.io](http://mpld3.github.io) for documentation and examples. +You may also see the [blog post](http://jakevdp.github.io/blog/2013/12/19/a-d3-viewer-for-matplotlib/), or the +[IPython notebook examples](http://nbviewer.ipython.org/github/jakevdp/mpld3/tree/master/notebooks/) +available in the ``notebooks`` directory of this repository. +[![version status](https://img.shields.io/pypi/v/mpld3.svg)](https://pypi.python.org/pypi/mpld3) +[![downloads](https://img.shields.io/pypi/dm/mpld3.svg)](https://pypi.python.org/pypi/mpld3) +[![build status](https://travis-ci.org/jakevdp/mpld3.svg?branch=master)](https://travis-ci.org/jakevdp/mpld3) + +%prep +%autosetup -n mpld3-0.5.9 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-mpld3 -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot - 0.5.9-1 +- Package Spec generated -- cgit v1.2.3