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 E8D751381F3 for ; Fri, 3 Apr 2020 21:37:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8ABDDE0997; Fri, 3 Apr 2020 21:37:26 +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 6DF82E0991 for ; Fri, 3 Apr 2020 21:37:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 3EDF334F0C4 for ; Fri, 3 Apr 2020 21:37:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 91A0D1C9 for ; Fri, 3 Apr 2020 21:37:21 +0000 (UTC) From: "Haelwenn Monnier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Haelwenn Monnier" Message-ID: <1585910448.32cdad40cc948eca4f4ba21a20fece291757fb3d.lanodan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/manhole/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/manhole/manhole-1.6.0.ebuild X-VCS-Directories: dev-python/manhole/ X-VCS-Committer: lanodan X-VCS-Committer-Name: Haelwenn Monnier X-VCS-Revision: 32cdad40cc948eca4f4ba21a20fece291757fb3d X-VCS-Branch: master Date: Fri, 3 Apr 2020 21:37:21 +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: d30ec2ee-2be9-4f37-a313-2d73f00dcead X-Archives-Hash: 7a2a0dab9a86ede9c618bb3227f0821b commit: 32cdad40cc948eca4f4ba21a20fece291757fb3d Author: Andrew Ammerlaan riseup net> AuthorDate: Fri Apr 3 10:40:48 2020 +0000 Commit: Haelwenn Monnier hacktivis me> CommitDate: Fri Apr 3 10:40:48 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=32cdad40 dev-python/manhole: die if tests fail also, if you dont want distutils_enable_tests to overwrite your custom test function just put distutils_enable_tests before the python_test function Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/manhole/manhole-1.6.0.ebuild | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/dev-python/manhole/manhole-1.6.0.ebuild b/dev-python/manhole/manhole-1.6.0.ebuild index b60509b..f452da1 100644 --- a/dev-python/manhole/manhole-1.6.0.ebuild +++ b/dev-python/manhole/manhole-1.6.0.ebuild @@ -16,10 +16,9 @@ HOMEPAGE=" https://pypi.org/project/python-manhole " SRC_URI="https://github.com/ionelmc/${MYPN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + LICENSE="BSD-2" SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" KEYWORDS="~amd64 ~x86" RDEPEND="" @@ -37,6 +36,11 @@ DEPEND=" S="${WORKDIR}/${MYPN}-${PV}" +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/sphinx-py3doc-enhanced-theme \ + dev-python/sphinxcontrib-napoleon + python_test() { pytest -vv \ --deselect tests/test_manhole.py::test_non_daemon_connection \ @@ -45,10 +49,6 @@ python_test() { --deselect tests/test_manhole.py::test_fork_exec \ --deselect tests/test_manhole.py::test_connection_handler_exec[str] \ --deselect tests/test_manhole.py::test_connection_handler_exec[func] \ - --deselect tests/test_manhole_cli.py::test_help + --deselect tests/test_manhole_cli.py::test_help || die } - -distutils_enable_sphinx docs \ - dev-python/sphinx-py3doc-enhanced-theme \ - dev-python/sphinxcontrib-napoleon