|
1 | | -# Copyright 2020-2023 Gentoo Authors |
| 1 | +# Copyright 2020-2026 Gentoo Authors |
2 | 2 | # Distributed under the terms of the GNU General Public License v2 |
3 | 3 |
|
4 | 4 | EAPI=8 |
@@ -27,23 +27,31 @@ RDEPEND=" |
27 | 27 | >=dev-python/lxml-4.9.0[${PYTHON_USEDEP}] |
28 | 28 | >=dev-python/xmlsec-1.3.9[${PYTHON_USEDEP}] |
29 | 29 | " |
30 | | -BDEPEND=" |
31 | | - test? ( |
32 | | - dev-python/freezegun[${PYTHON_USEDEP}] |
33 | | - dev-python/pytest[${PYTHON_USEDEP}] |
34 | | - ) |
35 | | -" |
36 | | - |
37 | | -distutils_enable_tests pytest |
38 | | - |
39 | | -python_test() { |
40 | | - local EPYTEST_DESELECT=( |
41 | | - # Internet |
42 | | - tests/src/OneLogin/saml2_tests/idp_metadata_parser_test.py::OneLogin_Saml2_IdPMetadataParser_Test::testGetMetadataWithHeaders |
43 | | - tests/src/OneLogin/saml2_tests/idp_metadata_parser_test.py::OneLogin_Saml2_IdPMetadataParser_Test::testParseRemoteWithHeaders |
44 | | - ) |
45 | | - |
46 | | - # The tests are horribly fragile to paths. |
47 | | - local -x PYTHONPATH=src |
48 | | - epytest -o 'python_files=*_test.py' |
49 | | -} |
| 30 | +# next release >1.16.0 should be able to drop freezegun: |
| 31 | +# https://github.com/SAML-Toolkits/python3-saml/commit/6c1fbd84ed498841b252ba7eb3a7d81a9ea77d15 |
| 32 | + |
| 33 | +# Stuck on Python 3.12, broken tests, no reverse dependencies. |
| 34 | +# Removal on 2026-10-05. Bug #952388 |
| 35 | + |
| 36 | +RESTRICT="test" |
| 37 | + |
| 38 | +#BDEPEND=" |
| 39 | +# test? ( |
| 40 | +# dev-python/freezegun[${PYTHON_USEDEP}] |
| 41 | +# dev-python/pytest[${PYTHON_USEDEP}] |
| 42 | +# ) |
| 43 | +#" |
| 44 | +# |
| 45 | +#distutils_enable_tests pytest |
| 46 | +# |
| 47 | +#python_test() { |
| 48 | +# local EPYTEST_DESELECT=( |
| 49 | +# # Internet |
| 50 | +# tests/src/OneLogin/saml2_tests/idp_metadata_parser_test.py::OneLogin_Saml2_IdPMetadataParser_Test::testGetMetadataWithHeaders |
| 51 | +# tests/src/OneLogin/saml2_tests/idp_metadata_parser_test.py::OneLogin_Saml2_IdPMetadataParser_Test::testParseRemoteWithHeaders |
| 52 | +# ) |
| 53 | +# |
| 54 | +# # The tests are horribly fragile to paths. |
| 55 | +# local -x PYTHONPATH=src |
| 56 | +# epytest -o 'python_files=*_test.py' |
| 57 | +#} |
0 commit comments