diff --git a/dev-python/sphinx_book_theme/Manifest b/dev-python/sphinx_book_theme/Manifest new file mode 100644 index 0000000..ced2abb --- /dev/null +++ b/dev-python/sphinx_book_theme/Manifest @@ -0,0 +1 @@ +DIST sphinx_book_theme-0.3.3.tar.gz 273932 BLAKE2B e20d6fe1c124209762705938b2d6fbbafe1b73aad66dfcd6e613d1f7900c0acad675034a75840427d3e346ae5ec471e3791e19259464723117c9aefe7d7fa4fd SHA512 0141fd30ca9ae620260f4635f7377848638cfa8e9c99745ca51d4bf85924a82604172bef34ee4c4fe171a275fef3b14bab850e588ff6de46e2203e318172136f diff --git a/dev-python/sphinx_book_theme/metadata.xml b/dev-python/sphinx_book_theme/metadata.xml new file mode 100644 index 0000000..899c8bf --- /dev/null +++ b/dev-python/sphinx_book_theme/metadata.xml @@ -0,0 +1,15 @@ + + + + + alarig@swordarmor.fr + Alarig Le Lay + + + sphinx-book-theme + executablebooks/sphinx-book-theme + + + Extra code_style support for development + + diff --git a/dev-python/sphinx_book_theme/sphinx_book_theme-0.3.3.ebuild b/dev-python/sphinx_book_theme/sphinx_book_theme-0.3.3.ebuild new file mode 100644 index 0000000..8a4ffe8 --- /dev/null +++ b/dev-python/sphinx_book_theme/sphinx_book_theme-0.3.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +#DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="A clean book theme for scientific explanations and documentation with Sphinx" +HOMEPAGE="https://sphinx-book-theme.readthedocs.io" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="code_style" +RESTRICT="test" # test failed as no docutils<0.17 + +RDEPEND="dev-python/beautifulsoup4[${PYTHON_USEDEP}] + >=dev-python/docutils-0.15[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ~dev-python/pydata-sphinx-theme-0.7.2[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + code_style? ( dev-vcs/pre-commit ) +" + +distutils_enable_tests setup.py + +pkg_postinst() { + optfeature "extra sphinx support" "sci-geosciences/folium dev-python/numpy dev-python/matplotlib dev-python/ipywidgets \ + dev-python/pandas dev-python/plotly dev-python/nbclient dev-python/sphinxcontrib-bibtex dev-python/myst-nb \ + dev-python/sphinx-copybutton dev-python/sphinx-togglebutton dev-python/sphinx-thebe dev-python/ablog \ + dev-python/sphinxext-opengraph" + optfeature "extra live-dev support" "dev-python/sphinx-autobuild dev-python/web-compile" +}