From 648159f9dfce606ec60c1871d1f9475091d3a7a6 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Thu, 9 Apr 2020 16:22:10 +0200 Subject: [PATCH] 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 --- dev-python/pyspelling/pyspelling-2.6.0.ebuild | 30 +++++++------------ 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/dev-python/pyspelling/pyspelling-2.6.0.ebuild b/dev-python/pyspelling/pyspelling-2.6.0.ebuild index 8c3f6428aa..a3ed42c24a 100644 --- a/dev-python/pyspelling/pyspelling-2.6.0.ebuild +++ b/dev-python/pyspelling/pyspelling-2.6.0.ebuild @@ -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 -#}