From f49e11aaf19ff8ce5fa45c94c1459a3ea6a3d498 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 3 Dec 2025 05:22:35 +0100 Subject: [PATCH] dev-python/sphinx-gallery: Bump to 0.20.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/sphinx-gallery/Manifest | 1 + .../sphinx-gallery-0.20.0.ebuild | 52 +++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 dev-python/sphinx-gallery/sphinx-gallery-0.20.0.ebuild diff --git a/dev-python/sphinx-gallery/Manifest b/dev-python/sphinx-gallery/Manifest index 935032bcb9c6..d85fcb974282 100644 --- a/dev-python/sphinx-gallery/Manifest +++ b/dev-python/sphinx-gallery/Manifest @@ -1 +1,2 @@ DIST sphinx_gallery-0.19.0.tar.gz 471479 BLAKE2B 335d976be4786c522693d5a5c08bbcf29aea6c571187fef77d582b827c4958e34bf1a86fec7012fc6af921600b925f46c25924522c0c5c96519331cb42a30c16 SHA512 90ed1aafa718937ee9bd5c8f52937c5a65058ca5a2138606f48f41637dae8a1d3c22cfcbed2eef3aaf3180ee137d943cfbde72ba2625c23f6d7d8e911f3f374f +DIST sphinx_gallery-0.20.0.tar.gz 473502 BLAKE2B eced250cbd7b5c86a748ee68f0d0c9d2fc02c526b1c9f83b74f6c82f2df9cd4e0571edf0650392f2b9b33a8c33c6c22e700c82f87e2bd63b2bbb94905bdc940d SHA512 571ae48d7aba2b7807b68cdab7d73a538fe8cfb72436c80f85cd3c309d4ded6a5368400485f7684e607a980b1679438be4148ca9681c75a80f754ca084a716b3 diff --git a/dev-python/sphinx-gallery/sphinx-gallery-0.20.0.ebuild b/dev-python/sphinx-gallery/sphinx-gallery-0.20.0.ebuild new file mode 100644 index 000000000000..ba8d07795379 --- /dev/null +++ b/dev-python/sphinx-gallery/sphinx-gallery-0.20.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Sphinx extension to automatically generate an examples gallery" +HOMEPAGE=" + https://github.com/sphinx-gallery/sphinx-gallery/ + https://sphinx-gallery.github.io/ + https://pypi.org/project/sphinx-gallery/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + >=dev-python/sphinx-5[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/joblib[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Internet + sphinx_gallery/tests/test_docs_resolv.py::test_embed_code_links_get_data + sphinx_gallery/tests/test_full.py::test_run_sphinx + sphinx_gallery/tests/test_full.py::test_embed_links_and_styles + # require jupyterlite_sphinx + sphinx_gallery/tests/test_full.py + sphinx_gallery/tests/test_full_noexec.py + sphinx_gallery/tests/test_gen_gallery.py::test_create_jupyterlite_contents + sphinx_gallery/tests/test_gen_gallery.py::test_create_jupyterlite_contents_non_default_contents + sphinx_gallery/tests/test_gen_gallery.py::test_create_jupyterlite_contents_with_jupyterlite_disabled_via_config + ) + + epytest -o addopts= +}