commit: d5a64cecce82be0d67a3063938c6c57fe3fc1db4
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri Apr 10 07:15:36 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Apr 10 07:15:36 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d5a64cec
dev-python/wcmatch: fix doc, needs git repo
Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
dev-python/wcmatch/wcmatch-6.0.1.ebuild | 26 +++++++++++++++-----------
1 file changed, 15 insertions(+), 11 deletions(-)
diff --git a/dev-python/wcmatch/wcmatch-6.0.1.ebuild
b/dev-python/wcmatch/wcmatch-6.0.1.ebuild
index eafec46..95097a6 100644
--- a/dev-python/wcmatch/wcmatch-6.0.1.ebuild
+++ b/dev-python/wcmatch/wcmatch-6.0.1.ebuild
@@ -5,17 +5,15 @@ EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
-#ERROR - Unable to read git logs of
'/tmp/mozilla_andrew0/wcmatch-6.0.1/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 enable this option???
-#DOCBUILDER="mkdocs"
-#DOCEPEND="
-# dev-python/mkdocs-git-revision-date-localized-plugin
-# dev-python/mkdocs_pymdownx_material_extras
-# dev-python/pyspelling
-#"
-
-inherit distutils-r1 #docs
+DOCBUILDER="mkdocs"
+DOCDEPEND="
+ dev-python/mkdocs-git-revision-date-localized-plugin
+ ~dev-python/mkdocs-material-5.0.0_rc2
+ dev-python/mkdocs_pymdownx_material_extras
+ dev-python/pyspelling
+"
+
+inherit distutils-r1 docs
DESCRIPTION="Wildcard/glob file name matcher"
HOMEPAGE="
@@ -48,5 +46,11 @@ python_prepare_all() {
-e 's:test_tilde_globmatch_no_tilde:_&:' \
tests/test_globmatch.py || die
+ # git revision data plugin needs git repo to build
+ if use doc; then
+ git init || die
+ git add -A || die
+ git commit -q -m ".." || die
+ fi
distutils-r1_python_prepare_all
}