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 E9DCF158CB7 for ; Fri, 20 Aug 2021 07:17:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0D6AEE0841; Fri, 20 Aug 2021 07:17:33 +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 E76F2E0841 for ; Fri, 20 Aug 2021 07:17:32 +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 C49B4342A96 for ; Fri, 20 Aug 2021 07:17:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 21D528C6 for ; Fri, 20 Aug 2021 07:17:28 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1629443817.8e26749dbdd26fc216f4ab715056870c9018f07c.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/translate-toolkit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/translate-toolkit/translate-toolkit-3.4.0.ebuild X-VCS-Directories: dev-python/translate-toolkit/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 8e26749dbdd26fc216f4ab715056870c9018f07c X-VCS-Branch: master Date: Fri, 20 Aug 2021 07:17:28 +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: 66b9dc13-1d70-411a-98b8-7ca6061147df X-Archives-Hash: b728a4fa445dff984cb5a6b18e6f92bf commit: 8e26749dbdd26fc216f4ab715056870c9018f07c Author: Michał Górny gentoo org> AuthorDate: Fri Aug 20 06:11:07 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Aug 20 07:16:57 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e26749d dev-python/translate-toolkit: Skip tests requiring fluent Closes: https://bugs.gentoo.org/809146 Signed-off-by: Michał Górny gentoo.org> .../translate-toolkit-3.4.0.ebuild | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/dev-python/translate-toolkit/translate-toolkit-3.4.0.ebuild b/dev-python/translate-toolkit/translate-toolkit-3.4.0.ebuild index b816d199c9f..cdc540e1126 100644 --- a/dev-python/translate-toolkit/translate-toolkit-3.4.0.ebuild +++ b/dev-python/translate-toolkit/translate-toolkit-3.4.0.ebuild @@ -50,28 +50,32 @@ PATCHES=( ) python_test() { - local deselect=( + local EPYTEST_DESELECT=( # Fails with network-sandbox (and even with it off but w/ softer fail) - --deselect 'tests/xliff_conformance/test_xliff_conformance.py::test_open_office_to_xliff' - --deselect 'tests/xliff_conformance/test_xliff_conformance.py::test_po_to_xliff' + 'tests/xliff_conformance/test_xliff_conformance.py::test_open_office_to_xliff' + 'tests/xliff_conformance/test_xliff_conformance.py::test_po_to_xliff' + ) + local EPYTEST_IGNORE=( + # unpackaged fluent.* + translate/storage/test_fluent.py ) if ! use ini; then - deselect+=( - --ignore translate/convert/test_ini2po.py - --ignore translate/convert/test_po2ini.py + EPYTEST_IGNORE+=( + translate/convert/test_ini2po.py + translate/convert/test_po2ini.py ) fi if ! use subtitles; then - deselect+=( - --ignore translate/storage/test_subtitles.py + EPYTEST_IGNORE+=( + translate/storage/test_subtitles.py ) fi # translate/storage/test_mo.py needs 'pocompile' distutils_install_for_testing - epytest "${deselect[@]}" + epytest } python_install_all() {