mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 17:43:11 -04:00
dev-python/bracex: fix doc
Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
@@ -3,8 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
#DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@@ -18,22 +17,23 @@ SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND=""
|
||||
BDEPEND="
|
||||
doc? (
|
||||
dev-python/mkdocs-git-revision-date-localized-plugin[${PYTHON_USEDEP}]
|
||||
dev-python/mkdocs_pymdownx_material_extras[${PYTHON_USEDEP}]
|
||||
dev-python/pyspelling[${PYTHON_USEDEP}]
|
||||
dev-python/mkdocs-git-revision-date-localized-plugin
|
||||
dev-python/mkdocs_pymdownx_material_extras
|
||||
dev-python/pyspelling
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_compile_all() {
|
||||
use doc && mkdocs build || die
|
||||
#TODO: install docs
|
||||
default
|
||||
if use doc; then
|
||||
mkdocs build || die "failed to make docs"
|
||||
HTML_DOCS="site"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user