commit:     c0b16a1ad4702072e9fefa283669ff18f8d079db
Author:     Thibaud CANALE <thican <AT> thican <DOT> net>
AuthorDate: Sat May 17 11:43:25 2025 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Sat May 17 13:12:09 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0b16a1a

app-crypt/certbot: ignore test for unsupported 64-bit time_t systems

Closes: https://bugs.gentoo.org/955713
Signed-off-by: Thibaud CANALE <thican <AT> thican.net>
Part-of: https://github.com/gentoo/gentoo/pull/42130
Closes: https://github.com/gentoo/gentoo/pull/42130
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 app-crypt/certbot/certbot-4.0.0-r2.ebuild | 7 ++++++-
 app-crypt/certbot/certbot-9999.ebuild     | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/app-crypt/certbot/certbot-4.0.0-r2.ebuild 
b/app-crypt/certbot/certbot-4.0.0-r2.ebuild
index 525841a56c94..4630be7298c9 100644
--- a/app-crypt/certbot/certbot-4.0.0-r2.ebuild
+++ b/app-crypt/certbot/certbot-4.0.0-r2.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{10..13} )
 
-inherit distutils-r1
+inherit distutils-r1 toolchain-funcs
 
 if [[ "${PV}" == *9999 ]]; then
        inherit git-r3
@@ -220,6 +220,11 @@ python_compile_all() {
 
 python_test() {
        local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+
+       tc-has-64bit-time_t || EPYTEST_DESELECT+=(
+               
'certbot/_internal/tests/storage_test.py::RenewableCertTests::test_time_interval_judgments'
+       )
+
        # Change for pytest rootdir is required.
        cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
        epytest

diff --git a/app-crypt/certbot/certbot-9999.ebuild 
b/app-crypt/certbot/certbot-9999.ebuild
index ec56e3cf949b..06a59d8718f1 100644
--- a/app-crypt/certbot/certbot-9999.ebuild
+++ b/app-crypt/certbot/certbot-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{10..13} )
 
-inherit distutils-r1
+inherit distutils-r1 toolchain-funcs
 
 if [[ "${PV}" == *9999 ]]; then
        inherit git-r3
@@ -220,6 +220,11 @@ python_compile_all() {
 
 python_test() {
        local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+
+       tc-has-64bit-time_t || EPYTEST_DESELECT+=(
+               
'certbot/_internal/tests/storage_test.py::RenewableCertTests::test_time_interval_judgments'
+       )
+
        # Change for pytest rootdir is required.
        cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
        epytest

Reply via email to