aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-04-11 10:14:57 +0200
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-04-11 10:14:57 +0200
commit868b057ea95a1275137651d200271caba93e6574 (patch)
tree3060c8b4fbcb90984539f9502901f4f7835bea8f
parentdev-python/pymdown-extensions: do not depend on mkdocs-git-rev.. (diff)
downloadguru-868b057ea95a1275137651d200271caba93e6574.tar.gz
guru-868b057ea95a1275137651d200271caba93e6574.tar.bz2
guru-868b057ea95a1275137651d200271caba93e6574.zip
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 <andrewammerlaan@riseup.net>
-rw-r--r--dev-python/pyspelling/pyspelling-2.6.0.ebuild10
1 files 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
}