From d4b805af953b60f8fc8c73f5395926fd3e5264f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 9 May 2026 06:16:30 +0200 Subject: [PATCH] dev-python/matplotlib-inline: Bump to 0.2.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/matplotlib-inline/Manifest | 1 + .../matplotlib-inline-0.2.2.ebuild | 45 +++++++++++++++++++ profiles/arch/amd64/x32/package.use.mask | 1 + profiles/arch/powerpc/ppc32/package.use.mask | 1 + profiles/arch/s390/package.use.mask | 1 + profiles/arch/sparc/package.use.mask | 1 + profiles/features/wd40/package.use.mask | 1 + 7 files changed, 51 insertions(+) create mode 100644 dev-python/matplotlib-inline/matplotlib-inline-0.2.2.ebuild diff --git a/dev-python/matplotlib-inline/Manifest b/dev-python/matplotlib-inline/Manifest index a191446bb65c0..1cf6ba92389d9 100644 --- a/dev-python/matplotlib-inline/Manifest +++ b/dev-python/matplotlib-inline/Manifest @@ -1 +1,2 @@ DIST matplotlib-inline-0.2.1.gh.tar.gz 107440 BLAKE2B 283a9262dec0f95c7d0cd54be00cac3546277c9988a0400d0357d2ac245cfa319ff146df5f8efdcc03607c726a530ca05c83f82a8effbc003186c7d5461adfbc SHA512 5a85e5a8b5821201681508942bccc9a150bfc70e579f933c6155fa2f0fdb6c04c16ff238cc3de15b8ca5b96b907e6ba087671fe58f2822754a313d2efb54d80f +DIST matplotlib-inline-0.2.2.gh.tar.gz 107569 BLAKE2B 46d8eea653ec5878aaec9247ba1c6321dba2d5a6d7de90a7200bd32c1ca5456008bbd4161305d8c874fbad5dfb17c3f4c98caa381901008801d1006464e61f61 SHA512 d7d356c0827a3264f12312d3e174aeb1ba566e10cdae8d30b0b28d77c32ef6b4ec4b2f507af36c0eb3e201c9b44141eb18f93b602ce423ecbe063f455b7900ff diff --git a/dev-python/matplotlib-inline/matplotlib-inline-0.2.2.ebuild b/dev-python/matplotlib-inline/matplotlib-inline-0.2.2.ebuild new file mode 100644 index 0000000000000..15c07535a2164 --- /dev/null +++ b/dev-python/matplotlib-inline/matplotlib-inline-0.2.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 2021-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{12..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}] +" +BDEPEND=" + test? ( + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/nbdime[${PYTHON_USEDEP}] + dev-python/notebook[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( nbval ) +distutils_enable_tests pytest diff --git a/profiles/arch/amd64/x32/package.use.mask b/profiles/arch/amd64/x32/package.use.mask index 87ecdeffbddb9..a4a17705dbdd7 100644 --- a/profiles/arch/amd64/x32/package.use.mask +++ b/profiles/arch/amd64/x32/package.use.mask @@ -34,6 +34,7 @@ dev-lang/dafny test # depends on dev-python/notebook which depends on nodejs dev-python/ipython notebook dev-python/iminuit test +dev-python/matplotlib-inline test dev-python/nbdime test dev-python/nbclient test dev-python/nbconvert test diff --git a/profiles/arch/powerpc/ppc32/package.use.mask b/profiles/arch/powerpc/ppc32/package.use.mask index e54f48f77eaf3..8ca214cd38277 100644 --- a/profiles/arch/powerpc/ppc32/package.use.mask +++ b/profiles/arch/powerpc/ppc32/package.use.mask @@ -101,6 +101,7 @@ sys-libs/libnvme keyutils # Michał Górny (2023-10-15) # Need dev-python/notebook (that indirectly requires net-libs/nodejs). dev-python/ipython notebook +dev-python/matplotlib-inline test dev-python/nbclient test dev-python/nbconvert test diff --git a/profiles/arch/s390/package.use.mask b/profiles/arch/s390/package.use.mask index fc66d022adb59..44dd700f717f6 100644 --- a/profiles/arch/s390/package.use.mask +++ b/profiles/arch/s390/package.use.mask @@ -172,6 +172,7 @@ media-libs/libv4l bpf # Michał Górny (2023-10-15) # Need dev-python/notebook (that indirectly requires net-libs/nodejs). dev-python/ipython notebook +dev-python/matplotlib-inline test dev-python/nbclient test dev-python/nbconvert test diff --git a/profiles/arch/sparc/package.use.mask b/profiles/arch/sparc/package.use.mask index 0a033fcc6b7c2..5f33ba031b747 100644 --- a/profiles/arch/sparc/package.use.mask +++ b/profiles/arch/sparc/package.use.mask @@ -264,6 +264,7 @@ media-video/rav1e -capi # Michał Górny (2023-10-15) # Need dev-python/notebook (that indirectly requires net-libs/nodejs). dev-python/ipython notebook +dev-python/matplotlib-inline test dev-python/nbclient test dev-python/nbconvert test diff --git a/profiles/features/wd40/package.use.mask b/profiles/features/wd40/package.use.mask index e7c50de4cbad0..e1d8d355d2802 100644 --- a/profiles/features/wd40/package.use.mask +++ b/profiles/features/wd40/package.use.mask @@ -135,6 +135,7 @@ dev-python/jupyter-client test # Michał Górny (2023-10-15) # Need dev-python/notebook. dev-python/ipython notebook +dev-python/matplotlib-inline test dev-python/nbclient test dev-python/nbconvert test