diff options
Diffstat (limited to 'dev-python/pypdf/pypdf-4.0.1.ebuild')
-rw-r--r-- | dev-python/pypdf/pypdf-4.0.1.ebuild | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/dev-python/pypdf/pypdf-4.0.1.ebuild b/dev-python/pypdf/pypdf-4.0.1.ebuild index 3035c819ee29..766a25f1da60 100644 --- a/dev-python/pypdf/pypdf-4.0.1.ebuild +++ b/dev-python/pypdf/pypdf-4.0.1.ebuild @@ -37,13 +37,9 @@ BDEPEND=" distutils_enable_tests pytest -EPYTEST_DESELECT=( - tests/test_reader.py::test_decode_permissions - tests/test_workflows.py::test_text_extraction_layout_mode - # rely on -Werror - tests/test_utils.py::test_deprecate_no_replacement - tests/test_workflows.py::test_orientations - tests/test_writer.py::test_remove_image_per_type +PATCHES=( + # https://github.com/py-pdf/pypdf/pull/2429 + "${FILESDIR}/${P}-pytest-8.patch" ) src_unpack() { @@ -54,6 +50,15 @@ src_unpack() { } python_test() { + local EPYTEST_DESELECT=( + tests/test_reader.py::test_decode_permissions + tests/test_workflows.py::test_text_extraction_layout_mode + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + tests/test_writer.py::test_remove_image_per_type + ) + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest -o addopts= -m "not enable_socket" } |