summaryrefslogtreecommitdiff
path: root/dev-python/matplotlib-inline
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-10-24 04:12:04 +0200
committerMichał Górny <mgorny@gentoo.org>2025-10-24 04:34:03 +0200
commitcde3289aa3d43bbf8bf37bcd0b0db1cfe0ad990f (patch)
tree6514aee7d10426c57c4aa21e806a044d1a59cccc /dev-python/matplotlib-inline
parent83ea4ef31f47a45b9735bf5cb46ef1d184987fac (diff)
downloadgentoo-cde3289aa3d43bbf8bf37bcd0b0db1cfe0ad990f.tar.gz
gentoo-cde3289aa3d43bbf8bf37bcd0b0db1cfe0ad990f.tar.bz2
gentoo-cde3289aa3d43bbf8bf37bcd0b0db1cfe0ad990f.zip
dev-python/matplotlib-inline: Bump to 0.2.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/matplotlib-inline')
-rw-r--r--dev-python/matplotlib-inline/Manifest1
-rw-r--r--dev-python/matplotlib-inline/matplotlib-inline-0.2.1.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/matplotlib-inline/Manifest b/dev-python/matplotlib-inline/Manifest
index f2bb96d1af9a..c1104b8a937d 100644
--- a/dev-python/matplotlib-inline/Manifest
+++ b/dev-python/matplotlib-inline/Manifest
@@ -1 +1,2 @@
DIST matplotlib-inline-0.1.7.gh.tar.gz 8112 BLAKE2B 1c1dc0f0d5a86dc5e8fae013f569f16c90466765643a7c2ef7359f906bec18bbe4bd27502cef78a3edc4f3a617416389648cbb9abab75ba804fbce85de838cec SHA512 b424b42c221227fe8807a4c56207aa3f0830cd857b816e278d4d22a57091598b9a4f3de5f046d9e8722a6cae13a8f187ffc24927071592ff514b1add3962d03f
+DIST matplotlib-inline-0.2.1.gh.tar.gz 107440 BLAKE2B 283a9262dec0f95c7d0cd54be00cac3546277c9988a0400d0357d2ac245cfa319ff146df5f8efdcc03607c726a530ca05c83f82a8effbc003186c7d5461adfbc SHA512 5a85e5a8b5821201681508942bccc9a150bfc70e579f933c6155fa2f0fdb6c04c16ff238cc3de15b8ca5b96b907e6ba087671fe58f2822754a313d2efb54d80f
diff --git a/dev-python/matplotlib-inline/matplotlib-inline-0.2.1.ebuild b/dev-python/matplotlib-inline/matplotlib-inline-0.2.1.ebuild
new file mode 100644
index 000000000000..9a6c976ab85c
--- /dev/null
+++ b/dev-python/matplotlib-inline/matplotlib-inline-0.2.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2021-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
+
+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}]
+"