summaryrefslogtreecommitdiff
path: root/dev-python/sphinx-gallery
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/sphinx-gallery')
-rw-r--r--dev-python/sphinx-gallery/Manifest2
-rw-r--r--dev-python/sphinx-gallery/sphinx-gallery-0.22.0.ebuild53
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/sphinx-gallery/Manifest b/dev-python/sphinx-gallery/Manifest
index 09170b92d33c..4b10be2ab979 100644
--- a/dev-python/sphinx-gallery/Manifest
+++ b/dev-python/sphinx-gallery/Manifest
@@ -1,2 +1,4 @@
DIST sphinx_gallery-0.21.0.tar.gz 483616 BLAKE2B 9a1c84edc63201be44f1879afdeaf3264022a2dd340b72be4d3d46c358c3496e08a063bfa6fa9019b23368494b7b355e8869638c049b94f20a7ee69f80efa33c SHA512 718c37ac4e90e06ee00afe5678fbce6db82cc117c48b10bd85b82d065a59fed49aaf8c33c047fe6574412d6c23514b3b14b7377b2b99ce2c46698fe79b83d6c0
DIST sphinx_gallery-0.21.0.tar.gz.provenance 9772 BLAKE2B 0e529fd62aeece0120e88d1953c680d815133d5e23976935f6e848dfa5d4718395ad854e0bff5dc090bcad85fa71584146708fc9765e3adcf4b5c8300542358c SHA512 1a58636031e5115d7c9bd2e155cbf6cb184d2c7543aebd3943113521d39a8b993e30f2adcdc1d4023a9a3f5b6b8bd4f090b603eefaef03075351ee446812253f
+DIST sphinx_gallery-0.22.0.tar.gz 505484 BLAKE2B 72f199e1518189f15a3ec08446a344e928f0aa6f8cbbd388434b9053545e906b2244de4c9db1ec329c8d29234ec5c6b3851b36e36866cb3bf9d845993d5ea7a9 SHA512 194e76921a3d40c3d9a690c20f2cdf38310121ee0abc23df6fd6c4397c1851d999f4c15fd47744fd6d8c6d02b5d4b07c1e5dc62bb0a197ce50387018dc8bc028
+DIST sphinx_gallery-0.22.0.tar.gz.provenance 10210 BLAKE2B cc2ca2a421d0aff688d9ea181f2e77e661bde8186c42438d7edf6bf3a741263bc8d701b46e60f0c03ff2608fcfe24552a51244bc8e35c03b25e1f6425f906cf2 SHA512 ca4f2b3682bb6bd32746564955a5d21b7db9cf0046e2cd009929dbbe3a1fd85c63b0a3006676f4d3a249de51bd1e4dfaf3a6f55f68844bfd71dc9ae8629b87e9
diff --git a/dev-python/sphinx-gallery/sphinx-gallery-0.22.0.ebuild b/dev-python/sphinx-gallery/sphinx-gallery-0.22.0.ebuild
new file mode 100644
index 000000000000..0a4ffc7301f6
--- /dev/null
+++ b/dev-python/sphinx-gallery/sphinx-gallery-0.22.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_VERIFY_REPO=https://github.com/sphinx-gallery/sphinx-gallery
+PYTHON_COMPAT=( python3_{13..14} )
+
+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"
+
+RDEPEND="
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ dev-python/pillow[${PYTHON_USEDEP}]
+ >=dev-python/sphinx-6[${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=
+}