summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-mpld3.spec116
-rw-r--r--sources1
3 files changed, 118 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..cce5fc1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mpld3-0.5.9.tar.gz
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 <jakevdp@cs.washington.edu>
+- 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 <jakevdp@cs.washington.edu>
+- 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 <jakevdp@cs.washington.edu>
+- 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 <Python_Bot@openeuler.org> - 0.5.9-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..f032b85
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b81f354bc1f0355f118919a56c72e204 mpld3-0.5.9.tar.gz