dev-python/sphinx_book_theme: New package
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr
This commit is contained in:
parent
4300e571e6
commit
febd08c43a
1
dev-python/sphinx_book_theme/Manifest
Normal file
1
dev-python/sphinx_book_theme/Manifest
Normal file
|
@ -0,0 +1 @@
|
|||
DIST sphinx_book_theme-0.3.3.tar.gz 273932 BLAKE2B e20d6fe1c124209762705938b2d6fbbafe1b73aad66dfcd6e613d1f7900c0acad675034a75840427d3e346ae5ec471e3791e19259464723117c9aefe7d7fa4fd SHA512 0141fd30ca9ae620260f4635f7377848638cfa8e9c99745ca51d4bf85924a82604172bef34ee4c4fe171a275fef3b14bab850e588ff6de46e2203e318172136f
|
15
dev-python/sphinx_book_theme/metadata.xml
Normal file
15
dev-python/sphinx_book_theme/metadata.xml
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>alarig@swordarmor.fr</email>
|
||||
<name>Alarig Le Lay</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">sphinx-book-theme</remote-id>
|
||||
<remote-id type="github">executablebooks/sphinx-book-theme</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="code_style">Extra code_style support for development</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
37
dev-python/sphinx_book_theme/sphinx_book_theme-0.3.3.ebuild
Normal file
37
dev-python/sphinx_book_theme/sphinx_book_theme-0.3.3.ebuild
Normal file
|
@ -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"
|
||||
}
|
Loading…
Reference in a new issue