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 01194138350 for ; Sat, 28 Mar 2020 11:08:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 48B12E0E37; Sat, 28 Mar 2020 11:08:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 11D38E0E37 for ; Sat, 28 Mar 2020 11:08:06 +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 3528634F9E7 for ; Sat, 28 Mar 2020 11:08:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C5B5E1C8 for ; Sat, 28 Mar 2020 11:08:01 +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: <1585393214.e88a44ea53c5659f6ca2fc491d2b62763d2ddf8a.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/tekore/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/tekore/tekore-1.5.0.ebuild X-VCS-Directories: dev-python/tekore/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: e88a44ea53c5659f6ca2fc491d2b62763d2ddf8a X-VCS-Branch: master Date: Sat, 28 Mar 2020 11:08:01 +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: dfb3e7e4-02c0-4c37-ba7b-0bafb0b9da88 X-Archives-Hash: 1f4b361feeb35e23d101895b6bf1e260 Message-ID: <20200328110801.elVtZ3prPAAt53DLk0vyf6G9t5geDUkZUx4SIjMFQvY@z> commit: e88a44ea53c5659f6ca2fc491d2b62763d2ddf8a Author: Andrew Ammerlaan riseup net> AuthorDate: Sat Mar 28 10:59:55 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Sat Mar 28 11:00:14 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e88a44ea dev-python/tekore: re-add py3_7 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/tekore/tekore-1.5.0.ebuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dev-python/tekore/tekore-1.5.0.ebuild b/dev-python/tekore/tekore-1.5.0.ebuild index 53e4cb7..9c3b0c4 100644 --- a/dev-python/tekore/tekore-1.5.0.ebuild +++ b/dev-python/tekore/tekore-1.5.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_6 ) +PYTHON_COMPAT=( python3_{6,7} ) inherit distutils-r1 @@ -17,7 +17,7 @@ KEYWORDS="~amd64 ~x86" SLOT="0" # tests fail with py3_6 -RESTRICT="test" +RESTRICT="python_targets_python3_6? ( test )" RDEPEND=" dev-python/requests[${PYTHON_USEDEP}] @@ -29,9 +29,10 @@ RDEPEND=" DOCS="readme.rst" distutils_enable_tests pytest -distutils_enable_sphinx docs/src dev-python/sphinx_rtd_theme dev-python/sphinx-autodoc-typehints +# doc not working: 'PosixPath' object has no attribute 'rstrip' +#distutils_enable_sphinx docs/src dev-python/sphinx_rtd_theme dev-python/sphinx-autodoc-typehints -#is this necessary? +#need this, otherwise: no tests ran python_test() { pytest -vv tests/* || die "Tests fail with ${EPYTHON}" }