dev-python/pymdown-extensions: 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>
This commit is contained in:
Andrew Ammerlaan
2020-04-11 10:14:29 +02:00
parent 640df6efc3
commit 0967dec51e

View File

@@ -8,7 +8,6 @@ PYTHON_COMPAT=( python3_{6,7,8} )
DOCBUILDER="mkdocs"
DOCDEPEND="
dev-python/mkdocs-minify-plugin
dev-python/mkdocs-git-revision-date-localized-plugin
dev-python/mkdocs-material
dev-python/pymdown-lexers
dev-python/pyspelling
@@ -36,11 +35,10 @@ DEPEND="test? (
distutils_enable_tests pytest
python_prepare_all() {
# git revision date plugin needs git repo to build
if use doc; then
git init || die
git add -A || die
git commit -q -m ".." || die
fi
# git revision data plugin needs git repo to build
# do not depend on this
sed -i -e '/git-revision-date-localized/d' \
mkdocs.yml || die
distutils-r1_python_prepare_all
}