From 640df6efc39e3e10b7d1afdc6096fc40073c78c0 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Sat, 11 Apr 2020 10:13:45 +0200 Subject: [PATCH] dev-python/wcmatch: do not depend on mkdocs-git-rev.... Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan --- dev-python/wcmatch/wcmatch-6.0.1.ebuild | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/dev-python/wcmatch/wcmatch-6.0.1.ebuild b/dev-python/wcmatch/wcmatch-6.0.1.ebuild index 95097a6f86..1989b9fd12 100644 --- a/dev-python/wcmatch/wcmatch-6.0.1.ebuild +++ b/dev-python/wcmatch/wcmatch-6.0.1.ebuild @@ -7,7 +7,6 @@ PYTHON_COMPAT=( python3_{6,7,8} ) 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 @@ -47,10 +46,9 @@ python_prepare_all() { 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 + # do not depend on this + sed -i -e '/git-revision-date-localized/d' \ + mkdocs.yml || die + distutils-r1_python_prepare_all }