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 042871382C5 for ; Thu, 11 Mar 2021 13:45:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4ACD4E0B72; Thu, 11 Mar 2021 13:45:38 +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 31551E0B72 for ; Thu, 11 Mar 2021 13:45:38 +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 0D996340EA7 for ; Thu, 11 Mar 2021 13:45:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 89568591 for ; Thu, 11 Mar 2021 13:45:35 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1615470272.9f97824bfafba3a3162be8f2ab54c6f71ddec77d.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ruamel-yaml/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/ruamel-yaml/ruamel-yaml-0.16.13-r1.ebuild X-VCS-Directories: dev-python/ruamel-yaml/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 9f97824bfafba3a3162be8f2ab54c6f71ddec77d X-VCS-Branch: master Date: Thu, 11 Mar 2021 13:45:35 +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: a1171597-94eb-44b7-8ff0-4146e9c293b3 X-Archives-Hash: fcf22de91a7094bd32d13ed3309b6509 commit: 9f97824bfafba3a3162be8f2ab54c6f71ddec77d Author: Marek Szuba gentoo org> AuthorDate: Thu Mar 11 13:34:39 2021 +0000 Commit: Marek Szuba gentoo org> CommitDate: Thu Mar 11 13:44:32 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f97824b dev-python/ruamel-yaml-0.16.13-r1: enable tests Tried on amd64 and all currently supported CPython implementations (have run into weird dependency problems trying to emerge pypy3 on my test container), no failures. Bug: https://bugs.gentoo.org/774366 Signed-off-by: Marek Szuba gentoo.org> dev-python/ruamel-yaml/ruamel-yaml-0.16.13-r1.ebuild | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/dev-python/ruamel-yaml/ruamel-yaml-0.16.13-r1.ebuild b/dev-python/ruamel-yaml/ruamel-yaml-0.16.13-r1.ebuild index 92e6b31ff74..9d1cf66a423 100644 --- a/dev-python/ruamel-yaml/ruamel-yaml-0.16.13-r1.ebuild +++ b/dev-python/ruamel-yaml/ruamel-yaml-0.16.13-r1.ebuild @@ -20,22 +20,22 @@ SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="test" -#RESTRICT="!test? ( test )" -# Running the test suite is broken for now, WIP -RESTRICT="test" - RDEPEND="dev-python/namespace-ruamel[${PYTHON_USEDEP}] dev-python/ruamel-yaml-clib[${PYTHON_USEDEP}]" -# This confuses dependency resolution on arches not supporting this package -# yet regardless of RESTRICT=test, just leave it out for now. -#BDEPEND="test? ( -# dev-python/ruamel-std-pathlib[${PYTHON_USEDEP}] -#)" +BDEPEND="test? ( + dev-python/ruamel-std-pathlib[${PYTHON_USEDEP}] +)" S="${WORKDIR}"/${MY_P} distutils_enable_tests pytest +# Old PyYAML tests from lib/ require special set-up and are invoked indirectly +# via test_z_olddata, tell pytest itself to leave the subdir alone. +python_test() { + epytest --ignore _test/lib/ +} + python_install() { distutils-r1_python_install --single-version-externally-managed find "${ED}" -name '*.pth' -delete || die