commit:     823939fb4c3b11092e19d54b624775d3d9020543
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Sat Feb 15 22:35:27 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 16 06:36:46 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=823939fb

app-arch/patool: fix test deselecting

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-arch/patool/patool-3.0.3.ebuild | 4 ++++
 app-arch/patool/patool-3.1.0.ebuild | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/app-arch/patool/patool-3.0.3.ebuild 
b/app-arch/patool/patool-3.0.3.ebuild
index 8e8053efb9bf..edb41cc77bb8 100644
--- a/app-arch/patool/patool-3.0.3.ebuild
+++ b/app-arch/patool/patool-3.0.3.ebuild
@@ -108,6 +108,8 @@ python_test() {
                "tests/archives/test_arc.py"
                # Error: 1002 (invalid input file)
                "tests/archives/test_mac.py"
+       )
+       local EPYTEST_DESELECT=(
                # Broken due mime type change for rar in file-5.46
                # https://github.com/wummel/patool/pull/173
                "tests/test_mime.py::TestMime::test_nested_gzip"
@@ -122,6 +124,8 @@ python_test() {
        if use x86; then
                EPYTEST_IGNORE+=(
                        "tests/archives/test_clzip.py"
+               )
+               EPYTEST_DESELECT+=(
                        # bug #916317
                        "tests/archives/test_lrzip.py::TestLrzip::test_lrzip"
                )

diff --git a/app-arch/patool/patool-3.1.0.ebuild 
b/app-arch/patool/patool-3.1.0.ebuild
index 19470cd52d22..2e8a32ff1e1e 100644
--- a/app-arch/patool/patool-3.1.0.ebuild
+++ b/app-arch/patool/patool-3.1.0.ebuild
@@ -113,6 +113,7 @@ python_test() {
                # Error: 1002 (invalid input file)
                "tests/archives/test_mac.py"
        )
+       local EPYTEST_DESELECT=()
 
        if use elibc_musl; then
                EPYTEST_IGNORE+=(
@@ -123,6 +124,8 @@ python_test() {
        if use x86; then
                EPYTEST_IGNORE+=(
                        "tests/archives/test_clzip.py"
+               )
+               EPYTEST_DESELECT+=(
                        # bug #916317
                        "tests/archives/test_lrzip.py::TestLrzip::test_lrzip"
                )

Reply via email to