From 9578e74d32f1ff044fd35a91b7c669bdaef03894 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20Pola=C5=84ski?= <michal@polanski.me>
Date: Thu, 10 Aug 2023 22:29:00 +0200
Subject: [PATCH] testing/py3-cstruct: disable on s390x

test_union_unpack test fails:

> tests/test_union.py:91: AssertionError
> =========================== short test summary info ============================
> FAILED tests/test_union.py::test_union_unpack - assert 7 == 187
> ========================= 1 failed, 77 passed in 0.34s =========================
---
 testing/py3-cstruct/APKBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testing/py3-cstruct/APKBUILD b/testing/py3-cstruct/APKBUILD
index 17b26e9989b9..36697ac4cdd1 100644
--- a/testing/py3-cstruct/APKBUILD
+++ b/testing/py3-cstruct/APKBUILD
@@ -5,7 +5,7 @@ pkgrel=0
 pkgdesc="C-style structs for Python"
 url="https://github.com/andreax79/python-cstruct"
 license="MIT"
-arch="noarch"
+arch="noarch !s390x" # test_union_unpack test fails on s390x
 makedepends="py3-gpep517 py3-setuptools py3-wheel"
 checkdepends="py3-pytest"
 subpackages="$pkgname-pyc"
-- 
GitLab