mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-13 17:13:00 -04:00
dev-python/wcmatch: doc requires newer mkdocs
will make a PR for that in a bit Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
@@ -3,8 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
#DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@@ -18,18 +17,41 @@ LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
#IUSE="doc"
|
||||
|
||||
# Need mkdocs-1.1 for this
|
||||
#BDEPEND="
|
||||
# doc? (
|
||||
# dev-python/mkdocs-git-revision-date-localized-plugin
|
||||
# dev-python/mkdocs_pymdownx_material_extras
|
||||
# dev-python/pyspelling
|
||||
# )
|
||||
#"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/backrefs-4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/bracex-2.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-python/bracex[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs/src \
|
||||
dev-python/mkdocs-git-revision-date-localized-plugin \
|
||||
dev-python/mkdocs_pymdownx_material_extras \
|
||||
dev-python/pyspelling
|
||||
|
||||
python_prepare_all() {
|
||||
# no such file or dir ~homedir
|
||||
sed -i -e 's:test_tilde_user:_&:' \
|
||||
tests/test_glob.py || die
|
||||
|
||||
# AssertionError: 0 == 0
|
||||
sed -i -e 's:test_tilde_globmatch_no_realpath:_&:' \
|
||||
-e 's:test_tilde_globmatch_no_tilde:_&:' \
|
||||
tests/test_globmatch.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
#python_compile_all() {
|
||||
# default
|
||||
# if use doc; then
|
||||
# mkdocs build || die "failed to make docs"
|
||||
# HTML_DOCS="site"
|
||||
# fi
|
||||
#}
|
||||
|
||||
Reference in New Issue
Block a user