dev-python/pyspelling: tried to allow do building

gave me an error, suggest to use a option to ignore this
but can't find where this option should go
probably mkdocs.yml but it told me unrecognized option
when I tried

Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
Andrew Ammerlaan
2020-04-09 16:22:10 +02:00
parent 4f2f4d28f8
commit 648159f9df

View File

@@ -7,7 +7,16 @@ PYTHON_COMPAT=( python3_{6,7,8} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
#ERROR - Unable to read git logs of '/tmp/mozilla_andrew0/pyspelling-2.6.0/docs/src/markdown/index.md'. To ignore this error, set option 'ignoring_missing_git: true'
#ERROR - Error reading page 'index.md': Cmd('git') failed due to: exit code(128)
# How does one set this option though???
#DOCBUILDER="mkdocs"
#DOCDEPEND="
# dev-python/mkdocs-git-revision-date-localized-plugin
# dev-python/mkdocs_pymdownx_material_extras
# ~dev-python/mkdocs-material-5.0.0_rc2"
inherit distutils-r1 #docs
DESCRIPTION="Spell checker automation tool"
HOMEPAGE="https://github.com/facelessuser/pyspelling"
@@ -16,17 +25,6 @@ SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
#not sure about adding aspell and hunspell useflags
#IUSE="doc"
# Need mkdocs-1.1 for this
#BDEPEND="
# doc? (
# dev-python/mkdocs-git-revision-date-localized-plugin
# dev-python/mkdocs_pymdownx_material_extras
# ~dev-python/mkdocs-material-5.0.0_rc2
# )
#"
RDEPEND="
|| ( app-text/aspell app-text/hunspell )
@@ -43,11 +41,3 @@ RDEPEND="
PATCHES="${FILESDIR}/${P}-do-not-install-tests.patch"
distutils_enable_tests pytest
#python_compile_all() {
# default
# if use doc; then
# mkdocs build || die "failed to make docs"
# HTML_DOCS="site"
# fi
#}