summaryrefslogtreecommitdiff
path: root/dev-python/sphinx-gallery
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-python/sphinx-gallery
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-python/sphinx-gallery')
-rw-r--r--dev-python/sphinx-gallery/Manifest2
-rw-r--r--dev-python/sphinx-gallery/metadata.xml13
-rw-r--r--dev-python/sphinx-gallery/sphinx-gallery-0.21.0.ebuild53
3 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/sphinx-gallery/Manifest b/dev-python/sphinx-gallery/Manifest
new file mode 100644
index 000000000000..09170b92d33c
--- /dev/null
+++ b/dev-python/sphinx-gallery/Manifest
@@ -0,0 +1,2 @@
+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
diff --git a/dev-python/sphinx-gallery/metadata.xml b/dev-python/sphinx-gallery/metadata.xml
new file mode 100644
index 000000000000..8911237f82d1
--- /dev/null
+++ b/dev-python/sphinx-gallery/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="pypi">sphinx-gallery</remote-id>
+ <remote-id type="github">sphinx-gallery/sphinx-gallery</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/sphinx-gallery/sphinx-gallery-0.21.0.ebuild b/dev-python/sphinx-gallery/sphinx-gallery-0.21.0.ebuild
new file mode 100644
index 000000000000..d8cf1470f3de
--- /dev/null
+++ b/dev-python/sphinx-gallery/sphinx-gallery-0.21.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=
+}