commit:     1630774d6d4cd6da5e9852b826a95f7b3c6cb737
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 10 04:39:38 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Oct 10 05:03:27 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1630774d

dev-python/sphinx-gallery: Bump to 0.18.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/sphinx-gallery/Manifest                 |  1 +
 .../sphinx-gallery/sphinx-gallery-0.18.0.ebuild    | 51 ++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/dev-python/sphinx-gallery/Manifest 
b/dev-python/sphinx-gallery/Manifest
index 70844fb77ceb..49e59f547825 100644
--- a/dev-python/sphinx-gallery/Manifest
+++ b/dev-python/sphinx-gallery/Manifest
@@ -1 +1,2 @@
 DIST sphinx_gallery-0.17.1.tar.gz 464013 BLAKE2B 
42a0d6e9fca934bfaf234710acc800229ee2dfc4844d17a5c1774ee5e36f6e2f1fe2a0f636035a58b4f2ea5bf0643abf9f018026a1d3b552093f1814c7f7cbe3
 SHA512 
7d580e3e603f6778dbf47e3f46ade2e612596337e432ee0ca5b603c7e002f43b65e0258dda04d427613b2a3331466b7c852287937c4706fe0bdafa1e7804f9fa
+DIST sphinx_gallery-0.18.0.tar.gz 466371 BLAKE2B 
5d01bf19fa24d32ea667e7846dae03a85b470f430204a20d65efb988d54a8a6462e8cb6bed03de6f240c4945fbb1aa5e839d84feddd8093ab303d846773e4097
 SHA512 
59712e6a50d0a01e091b51e8532798ba4068a3a65472c25ea5a913dea599ac1afa54c44a057d332e6204930fa958d5b88dafe796af913566f504f0d9cf91e72a

diff --git a/dev-python/sphinx-gallery/sphinx-gallery-0.18.0.ebuild 
b/dev-python/sphinx-gallery/sphinx-gallery-0.18.0.ebuild
new file mode 100644
index 000000000000..5f967116b733
--- /dev/null
+++ b/dev-python/sphinx-gallery/sphinx-gallery-0.18.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..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}]
+       )
+"
+
+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=
+}

Reply via email to