summaryrefslogtreecommitdiff
path: root/dev-python/matplotlib-inline
diff options
context:
space:
mode:
authormirror@stealer.net <mirror@stealer.net>2025-01-31 23:30:19 +0000
committermirror@stealer.net <mirror@stealer.net>2025-01-31 23:30:19 +0000
commit5c2c98b0a579c7434b70e2ee8f3c8a7499298dbb (patch)
treeaa0268f668eb35627871a28d13ea8bf04d29d03d /dev-python/matplotlib-inline
2025-01-31 23:11:16+00:00grafted
Diffstat (limited to 'dev-python/matplotlib-inline')
-rw-r--r--dev-python/matplotlib-inline/Manifest3
-rw-r--r--dev-python/matplotlib-inline/matplotlib-inline-0.1.7.ebuild35
-rw-r--r--dev-python/matplotlib-inline/metadata.xml12
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/matplotlib-inline/Manifest b/dev-python/matplotlib-inline/Manifest
new file mode 100644
index 0000000000000..cf3d0f0d52546
--- /dev/null
+++ b/dev-python/matplotlib-inline/Manifest
@@ -0,0 +1,3 @@
+DIST matplotlib-inline-0.1.7.gh.tar.gz 8112 BLAKE2B 1c1dc0f0d5a86dc5e8fae013f569f16c90466765643a7c2ef7359f906bec18bbe4bd27502cef78a3edc4f3a617416389648cbb9abab75ba804fbce85de838cec SHA512 b424b42c221227fe8807a4c56207aa3f0830cd857b816e278d4d22a57091598b9a4f3de5f046d9e8722a6cae13a8f187ffc24927071592ff514b1add3962d03f
+EBUILD matplotlib-inline-0.1.7.ebuild 1064 BLAKE2B 8042ec79dc24929355a7997f871d9bc4542752d7a983df70bbcd9a18e8d2da774369cbf1b7cdc14747a7a8750e776b0c0b15c68cd64cdacbd16e07994338fc95 SHA512 0fc55c47edfe0267176e5cfaa41da04ec3c0d4f55247babbd182808325af81a8b04ed5ed099a5c853273d3a2e36c41c8a09fadaeddbb8a43542bd81b5c1d2d49
+MISC metadata.xml 388 BLAKE2B 2c15ea9d7f572bfd693b7b715ad5d32b0528889b07e7b7d2b58e2f99d1884acf376ed5bcbcf527179b232bc761c3aa31a59b112acd7b3a82f07f19d2592d167d SHA512 a40bc579234e3f6f4cb7cf12c0851ff23be0e9a2af94af099d503214f626d03a26dff3fc5d1aebedb5c3b4adfb13f1b6fb72ec10d62d3fea6bc2772271cea027
diff --git a/dev-python/matplotlib-inline/matplotlib-inline-0.1.7.ebuild b/dev-python/matplotlib-inline/matplotlib-inline-0.1.7.ebuild
new file mode 100644
index 0000000000000..988be8e7e5f94
--- /dev/null
+++ b/dev-python/matplotlib-inline/matplotlib-inline-0.1.7.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="Inline Matplotlib backend for Jupyter"
+HOMEPAGE="
+ https://github.com/ipython/matplotlib-inline/
+ https://pypi.org/project/matplotlib-inline/
+"
+SRC_URI="
+ https://github.com/ipython/matplotlib-inline/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos"
+
+# Although in theory we could depend on matplotlib, upstream does not.
+# This is because the sole purpose of the package is to be loaded by
+# ipython (also not a dependency!) as a response to interactive use of
+# the "%matplotlib" magic.
+#
+# In order to be seamless and straightforward, this backend is always
+# installed and just requires users using matplotlib, to install
+# matplotlib before importing and using it.
+RDEPEND="
+ dev-python/traitlets[${PYTHON_USEDEP}]
+"
diff --git a/dev-python/matplotlib-inline/metadata.xml b/dev-python/matplotlib-inline/metadata.xml
new file mode 100644
index 0000000000000..db1e0b9d696a8
--- /dev/null
+++ b/dev-python/matplotlib-inline/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">ipython/matplotlib-inline</remote-id>
+ <remote-id type="pypi">matplotlib-inline</remote-id>
+ </upstream>
+</pkgmetadata>