Ver código fonte

package/python-matplotlib-inline: new package

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
James Hilliard 1 ano atrás
pai
commit
1229b824ad

+ 1 - 0
package/Config.in

@@ -1181,6 +1181,7 @@ menu "External python modules"
 	source "package/python-marshmallow/Config.in"
 	source "package/python-marshmallow-sqlalchemy/Config.in"
 	source "package/python-matplotlib/Config.in"
+	source "package/python-matplotlib-inline/Config.in"
 	source "package/python-mbstrdecoder/Config.in"
 	source "package/python-memory-profiler/Config.in"
 	source "package/python-midiutil/Config.in"

+ 7 - 0
package/python-matplotlib-inline/Config.in

@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_MATPLOTLIB_INLINE
+	bool "python-matplotlib-inline"
+	select BR2_PACKAGE_PYTHON_TRAITLETS # runtime
+	help
+	  Inline Matplotlib backend for Jupyter.
+
+	  https://github.com/ipython/matplotlib-inline

+ 5 - 0
package/python-matplotlib-inline/python-matplotlib-inline.hash

@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/matplotlib-inline/json
+md5  aded9a57e2f526f76b3a4851d5528d4f  matplotlib-inline-0.1.6.tar.gz
+sha256  f887e5f10ba98e8d2b150ddcf4702c1e5f8b3a20005eb0f74bfdbd360ee6f304  matplotlib-inline-0.1.6.tar.gz
+# Locally computed sha256 checksums
+sha256  8521b036c6448e0e0aa7213d4713b6fdee0f4c64c9f320450f77346bf5c0e8e4  LICENSE

+ 14 - 0
package/python-matplotlib-inline/python-matplotlib-inline.mk

@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-matplotlib-inline
+#
+################################################################################
+
+PYTHON_MATPLOTLIB_INLINE_VERSION = 0.1.6
+PYTHON_MATPLOTLIB_INLINE_SOURCE = matplotlib-inline-$(PYTHON_MATPLOTLIB_INLINE_VERSION).tar.gz
+PYTHON_MATPLOTLIB_INLINE_SITE = https://files.pythonhosted.org/packages/d9/50/3af8c0362f26108e54d58c7f38784a3bdae6b9a450bab48ee8482d737f44
+PYTHON_MATPLOTLIB_INLINE_SETUP_TYPE = setuptools
+PYTHON_MATPLOTLIB_INLINE_LICENSE = BSD-3-Clause
+PYTHON_MATPLOTLIB_INLINE_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))