diff options
| -rw-r--r-- | app-arch/patool/patool-4.0.1.ebuild | 17 | ||||
| -rw-r--r-- | app-arch/patool/patool-4.0.2.ebuild | 17 |
2 files changed, 18 insertions, 16 deletions
diff --git a/app-arch/patool/patool-4.0.1.ebuild b/app-arch/patool/patool-4.0.1.ebuild index 31c44a0e176d..02f641fd5094 100644 --- a/app-arch/patool/patool-4.0.1.ebuild +++ b/app-arch/patool/patool-4.0.1.ebuild @@ -103,6 +103,15 @@ python_prepare_all() { sed -e 's/setuptools-reproducible/setuptools/' \ -e 's/setuptools_reproducible/setuptools.build_meta/' \ -i pyproject.toml || die + + # Workaround setuptools-reproducible setting file stamps to invalid dates. + # bug #958470 + # + # Test fails because the timestamp of the zip archive is before 1980. + # This is due to the timestamps getting reset to the unix epoch in + # the unpacked tar archive. + # ValueError: ZIP does not support timestamps before 1980 + find tests/data/ -exec touch {} + || die } python_install_all() { @@ -122,14 +131,6 @@ python_test() { # Error: 1002 (invalid input file) "tests/archives/test_mac.py" ) - local EPYTEST_DESELECT=( - # Something changed in the upstream sdist creation between 4.0.0 and 4.0.1 - # Test fails because the timestamp of the zip arhive is before 1980. - # This is due to the timestamps getting reset to the unix epoch in - # the unpacked tar archive. - # ValueError: ZIP does not support timestamps before 1980 - "tests/archives/test_pyzipfile.py::TestPyzipfile::test_py_zipfile" - ) if use elibc_musl; then EPYTEST_IGNORE+=( diff --git a/app-arch/patool/patool-4.0.2.ebuild b/app-arch/patool/patool-4.0.2.ebuild index 5d7e8a588e0b..9e8562a59801 100644 --- a/app-arch/patool/patool-4.0.2.ebuild +++ b/app-arch/patool/patool-4.0.2.ebuild @@ -103,6 +103,15 @@ python_prepare_all() { sed -e 's/setuptools-reproducible/setuptools/' \ -e 's/setuptools_reproducible/setuptools.build_meta/' \ -i pyproject.toml || die + + # Workaround setuptools-reproducible setting file stamps to invalid dates. + # bug #958470 + # + # Test fails because the timestamp of the zip archive is before 1980. + # This is due to the timestamps getting reset to the unix epoch in + # the unpacked tar archive. + # ValueError: ZIP does not support timestamps before 1980 + find tests/data/ -exec touch {} + || die } python_install_all() { @@ -122,14 +131,6 @@ python_test() { # Error: 1002 (invalid input file) "tests/archives/test_mac.py" ) - local EPYTEST_DESELECT=( - # Something changed in the upstream sdist creation between 4.0.0 and 4.0.1 - # Test fails because the timestamp of the zip arhive is before 1980. - # This is due to the timestamps getting reset to the unix epoch in - # the unpacked tar archive. - # ValueError: ZIP does not support timestamps before 1980 - "tests/archives/test_pyzipfile.py::TestPyzipfile::test_py_zipfile" - ) if use elibc_musl; then EPYTEST_IGNORE+=( |
