From 497581935995d0ed7212893c15ac90b698ad98a2 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Fri, 20 Aug 2021 17:52:32 +0000 Subject: Adding metadata --- .../translate-toolkit-3.4.0.ebuild | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'dev-python/translate-toolkit') 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 abd026f783a1..5cbdbfd9ce2d 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() { -- cgit v1.3