diff options
Diffstat (limited to 'dev-python/matplotlib-inline')
| -rw-r--r-- | dev-python/matplotlib-inline/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/matplotlib-inline/matplotlib-inline-0.2.2.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/matplotlib-inline/Manifest b/dev-python/matplotlib-inline/Manifest index a191446bb65c..1cf6ba92389d 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 000000000000..2302f79c6f2a --- /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_{10..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}] +" +BDEPEND=" + test? ( + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/nbdime[${PYTHON_USEDEP}] + dev-python/notebook[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( nbval ) +distutils_enable_tests pytest |
