commit:     f6f4d9a69588553e80ccc5635c5cbd59079a153d
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Mar 28 10:21:39 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Mar 28 11:00:12 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f6f4d9a6

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

 dev-python/wcmatch/wcmatch-6.0.1.ebuild | 46 ++++++++++++++++++++++++---------
 1 file changed, 34 insertions(+), 12 deletions(-)

diff --git a/dev-python/wcmatch/wcmatch-6.0.1.ebuild 
b/dev-python/wcmatch/wcmatch-6.0.1.ebuild
index 2e302e4..a056fd8 100644
--- a/dev-python/wcmatch/wcmatch-6.0.1.ebuild
+++ b/dev-python/wcmatch/wcmatch-6.0.1.ebuild
@@ -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
+#}

Reply via email to