diff options
Diffstat (limited to 'dev-python/sphinx-gallery')
-rw-r--r-- | dev-python/sphinx-gallery/Manifest | 2 | ||||
-rw-r--r-- | dev-python/sphinx-gallery/sphinx-gallery-0.13.0.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/sphinx-gallery/Manifest b/dev-python/sphinx-gallery/Manifest index 6fdadc230eb2..265488aa4bf5 100644 --- a/dev-python/sphinx-gallery/Manifest +++ b/dev-python/sphinx-gallery/Manifest @@ -1,3 +1,5 @@ DIST sphinx-gallery-0.12.2.tar.gz 402524 BLAKE2B c872ec403adf150df540253b996e35f5d99dae17a884fad8e6a79a9b08934228e22c2b830d79cbe08cf43889738b2f0f8aa8e582851a993584d59d36adb6ced2 SHA512 c56c84ab7e4c55686b1c83791c46a83f3887c5c3a19da89baeba8aba874663d1dc4718534fadb11d3d95197c34ee9b78884095e2caeee4f58a9b0d4bba26d5d2 +DIST sphinx-gallery-0.13.0.tar.gz 403284 BLAKE2B fac67eab0c49a756f4b73b05434c80b5876d241afae66bfd4d2f50b5ffb715f03da3e87146531c90632ecef0d092c5d087c3ada0d01a6df21c8032b3b60d1890 SHA512 26168e25ff46a34d7cf1d2d70e59d5e81bab6e57ec497f2a6e55e5356fb832b8fefc5a19976cc4fb495fdc1ef8b44a33de93cc7a6f376f72c9dbcaa94ed723ef EBUILD sphinx-gallery-0.12.2.ebuild 1489 BLAKE2B d0ac54e3b7a00537b93c25d2659ba5d12fb40ae7676e080a0a108f3337e8c616354eca757dfb315f806d97d1186419e2670c7d44f63b909514cdb938e5481071 SHA512 e83c66891e9ed3d1fa2b16a9fe619989b4d265f5dbc4ecde5da53ef8c6057fd5f65150083c9f9aca9f0c7bd5dc4e46c7e4a8112b67e61f295c577c0ecc46e928 +EBUILD sphinx-gallery-0.13.0.ebuild 1492 BLAKE2B 73e0b547e935d500631a673760b6076a6b23c2c05f44937fde39a639501be401d9cf566136f6449f05b6423480b99706b6f8cd51d29d124feccc016eeb4c29c4 SHA512 7ece7ea4c297981634839cc0c92ffd6cf2f4f988ca7dd56d66d46c3593ced1f621e6702c96945d6ccd4c1c32da621ded222ac7dab563e43e0e6e4ba1994f1663 MISC metadata.xml 424 BLAKE2B 4e5cd1e912fd5934c7221d3e5cc60b2894eca6b994384f6ceb8397ce9c5312be1e9869b57f9dd7f3ac66501b20e6fd6abd2f33b5d19b93d3a12f7158ba08e7c6 SHA512 17acc19bf43dbbf1a377949576252f77fd334ddd8a3bec593d2339db5a44e4fde831f9ce47be97318bf72e30a062608f883e48cf572904b3476fde0df33adb09 diff --git a/dev-python/sphinx-gallery/sphinx-gallery-0.13.0.ebuild b/dev-python/sphinx-gallery/sphinx-gallery-0.13.0.ebuild new file mode 100644 index 000000000000..fb10706de391 --- /dev/null +++ b/dev-python/sphinx-gallery/sphinx-gallery-0.13.0.ebuild @@ -0,0 +1,52 @@ +# 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_{9..11} ) + +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 + +src_prepare() { + sed -i -e 's:--cov-report= --cov=sphinx_gallery::' setup.cfg || die + distutils-r1_src_prepare +} + +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 +) |