mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 17:43:11 -04:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user