summaryrefslogtreecommitdiff
path: root/dev-python/xmlsec
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/xmlsec')
-rw-r--r--dev-python/xmlsec/xmlsec-1.3.17-r1.ebuild19
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-python/xmlsec/xmlsec-1.3.17-r1.ebuild b/dev-python/xmlsec/xmlsec-1.3.17-r1.ebuild
index db70398b265b..3e8ede6909bb 100644
--- a/dev-python/xmlsec/xmlsec-1.3.17-r1.ebuild
+++ b/dev-python/xmlsec/xmlsec-1.3.17-r1.ebuild
@@ -62,3 +62,22 @@ src_configure() {
export CPPFLAGS="${CPPFLAGS} -DPYXMLSEC_ENABLE_DEBUG=1"
fi
}
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # black version?
+ tests/test_type_stubs.py::test_xmlsec_constants_stub
+ )
+
+ case ${EPYTHON} in
+ python3.15*)
+ EPYTEST_DESELECT+=(
+ # some GC nonsense
+ tests/test_main.py::TestCallbacks::test_sign_data_from_callbacks
+ tests/test_main.py::TestCallbacks::test_sign_data_not_first_callback
+ )
+ ;;
+ esac
+
+ epytest
+}