commit:     640df6efc39e3e10b7d1afdc6096fc40073c78c0
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Apr 11 08:13:45 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Apr 11 08:13:45 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=640df6ef

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 <andrewammerlaan <AT> riseup.net>

 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 95097a6..1989b9f 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
 }

Reply via email to