commit:     5a98991db34a7cfb8b67166972b5668ce0a2ed6f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 21 04:25:18 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Nov 21 04:44:09 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a98991d

dev-python/sphinx-gallery: Bump to 0.15.0

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

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

diff --git a/dev-python/sphinx-gallery/Manifest 
b/dev-python/sphinx-gallery/Manifest
index 3e1bc69619c8..71a48b6566c9 100644
--- a/dev-python/sphinx-gallery/Manifest
+++ b/dev-python/sphinx-gallery/Manifest
@@ -1 +1,2 @@
 DIST sphinx-gallery-0.14.0.tar.gz 408734 BLAKE2B 
f527eb58b565353722d669edf81a667b7c3e784480500ff03b5567b9214c27951438052db3f2dcba92b24e7224d5cd0017bfbe770132dc96ce3427ca463329a8
 SHA512 
c8a69af9dec9adf042214de0cb48d510ebb41d7bc4bb1e5767f3982b0e83d9dfa1a26028d939a1785d3894894d396840e437dc5c196bfc5318152d06240d84b9
+DIST sphinx-gallery-0.15.0.tar.gz 422363 BLAKE2B 
cbca8ec252e03e9cacc0df27da43ebc9bbed8531d5df65bf9cb7f54f7ae8b127582f353cb245bcc459d6fa86240207346a05d777504163d49be0fabb029a172b
 SHA512 
b6b0d5022da9de27417f8cc72ba24f0d51e57f83c68b17a296269b074888a711d61fcf933fbbfaf4d6977702b3f020d4b0eaa89e78e51185ee2dd26e911fe8be

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