From 868b057ea95a1275137651d200271caba93e6574 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Sat, 11 Apr 2020 10:14:57 +0200 Subject: [PATCH] dev-python/pyspelling: do not depend on mkdocs-git-rev.. Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan --- dev-python/pyspelling/pyspelling-2.6.0.ebuild | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/dev-python/pyspelling/pyspelling-2.6.0.ebuild b/dev-python/pyspelling/pyspelling-2.6.0.ebuild index c9b21a2338..eff19a8ae9 100644 --- a/dev-python/pyspelling/pyspelling-2.6.0.ebuild +++ b/dev-python/pyspelling/pyspelling-2.6.0.ebuild @@ -9,7 +9,6 @@ DISTUTILS_USE_SETUPTOOLS=rdepend 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" @@ -41,10 +40,9 @@ distutils_enable_tests pytest python_prepare_all() { # 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 }