From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 735F7138350 for ; Sat, 28 Mar 2020 11:08:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2B778E0E01; Sat, 28 Mar 2020 11:08:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 15F4BE0E01 for ; Sat, 28 Mar 2020 11:08:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4958934F9F1 for ; Sat, 28 Mar 2020 11:08:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B18FC1AF for ; Sat, 28 Mar 2020 11:08:00 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1585393212.f6f4d9a69588553e80ccc5635c5cbd59079a153d.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/wcmatch/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/wcmatch/wcmatch-6.0.1.ebuild X-VCS-Directories: dev-python/wcmatch/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: f6f4d9a69588553e80ccc5635c5cbd59079a153d X-VCS-Branch: master Date: Sat, 28 Mar 2020 11:08:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1709d3f4-61b3-494c-8223-5ee90133051c X-Archives-Hash: efdd57b7a5031b0e52f2d24fca8963cf Message-ID: <20200328110800.R2K2jVQstbRgeVT89RlgG7d9Yf8uOaNveDTkyqslGb4@z> commit: f6f4d9a69588553e80ccc5635c5cbd59079a153d Author: Andrew Ammerlaan riseup net> AuthorDate: Sat Mar 28 10:21:39 2020 +0000 Commit: Andrew Ammerlaan riseup 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 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 +#}