[Python-modules-commits] [python-mpld3] 03/07: depend on python{, 3}-mplexporter, add notebooks to docs

Wolfgang Borgert debacle at moszumanska.debian.org
Tue Sep 30 23:37:21 UTC 2014


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to branch master
in repository python-mpld3.

commit 48e4b867c53323980eaa08c4cfac75417b5f2ca3
Author: W. Martin Borgert <debacle at debian.org>
Date:   Wed Oct 1 00:14:29 2014 +0200

    depend on python{,3}-mplexporter, add notebooks to docs
---
 debian/control                                | 26 ++++++++++++----------
 debian/patches/3000_external_mplexporter.diff | 32 +++++++++++++++++++++++++++
 debian/patches/series                         |  1 +
 debian/python-mpld3.docs                      |  1 +
 debian/python3-mpld3.docs                     |  1 +
 5 files changed, 49 insertions(+), 12 deletions(-)

diff --git a/debian/control b/debian/control
index cd56c88..e2a0fdc 100644
--- a/debian/control
+++ b/debian/control
@@ -13,14 +13,15 @@ Package: python-mpld3
 Architecture: all
 Depends: ${misc:Depends}
  , ${python:Depends}
+ , python-mplexporter
  , libjs-d3
 Description: a D3 viewer for matplotlib
- The mpld3 project brings together Matplotlib, the popular
- Python-based graphing library, and D3js, the popular Javascript
- library for creating interactive data visualizations for the web.
- The result is a simple API for exporting your matplotlib graphics
- to HTML code which can be used within the browser, within standard
- web pages, blogs, or tools such as the IPython notebook.
+ mpld3 brings together Matplotlib, the popular Python-based graphing
+ library, and D3js, the popular Javascript library for creating
+ interactive data visualizations for the web.  The result is a simple
+ API for exporting your matplotlib graphics to HTML code which can be
+ used within the browser, within standard web pages, blogs, or tools
+ such as the IPython notebook.
  .
  This package provides the Python 2.x module.
 
@@ -28,13 +29,14 @@ Package: python3-mpld3
 Architecture: all
 Depends: ${misc:Depends}
  , ${python3:Depends}
+ , python3-mplexporter
  , libjs-d3
 Description: a D3 viewer for matplotlib
- The mpld3 project brings together Matplotlib, the popular
- Python-based graphing library, and D3js, the popular Javascript
- library for creating interactive data visualizations for the web.
- The result is a simple API for exporting your matplotlib graphics
- to HTML code which can be used within the browser, within standard
- web pages, blogs, or tools such as the IPython notebook.
+ mpld3 brings together Matplotlib, the popular Python-based graphing
+ library, and D3js, the popular Javascript library for creating
+ interactive data visualizations for the web.  The result is a simple
+ API for exporting your matplotlib graphics to HTML code which can be
+ used within the browser, within standard web pages, blogs, or tools
+ such as the IPython notebook.
  .
  This package provides the Python 3.x module.
diff --git a/debian/patches/3000_external_mplexporter.diff b/debian/patches/3000_external_mplexporter.diff
new file mode 100644
index 0000000..50f6543
--- /dev/null
+++ b/debian/patches/3000_external_mplexporter.diff
@@ -0,0 +1,32 @@
+Description: use packaged mplexporter
+Author: W. Martin Borgert <debacle at debian.org>
+Origin: vendor
+Last-Update: 2014-09-30
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/mpld3/_display.py
++++ b/mpld3/_display.py
+@@ -7,7 +7,7 @@
+ import os
+ from ._server import serve_and_open
+ from .utils import deprecated, get_id, write_ipynb_local_js
+-from .mplexporter import Exporter
++from mplexporter import Exporter
+ from .mpld3renderer import MPLD3Renderer
+ from . import urls
+ 
+--- a/mpld3/mpld3renderer.py
++++ b/mpld3/mpld3renderer.py
+@@ -13,9 +13,9 @@
+ 
+ import numpy as np
+ 
+-from .mplexporter.utils import color_to_hex
+-from .mplexporter.exporter import Exporter
+-from .mplexporter.renderers import Renderer
++from mplexporter.utils import color_to_hex
++from mplexporter.exporter import Exporter
++from mplexporter.renderers import Renderer
+ 
+ from .utils import get_id
+ from .plugins import get_plugins
diff --git a/debian/patches/series b/debian/patches/series
index e3fc015..6bb93f4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 1000_disable_submodule.diff
 2000_nodejs.diff
+3000_external_mplexporter.diff
diff --git a/debian/python-mpld3.docs b/debian/python-mpld3.docs
index b5a4de8..318909b 100644
--- a/debian/python-mpld3.docs
+++ b/debian/python-mpld3.docs
@@ -1,3 +1,4 @@
 AUTHORS.md
 CONTRIBUTING.md
 README.md
+notebooks
\ No newline at end of file
diff --git a/debian/python3-mpld3.docs b/debian/python3-mpld3.docs
index b5a4de8..318909b 100644
--- a/debian/python3-mpld3.docs
+++ b/debian/python3-mpld3.docs
@@ -1,3 +1,4 @@
 AUTHORS.md
 CONTRIBUTING.md
 README.md
+notebooks
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-mpld3.git



More information about the Python-modules-commits mailing list