commit:     5180e4596a18e5f17b23364643c9d50b52e33f21
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  9 10:31:26 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct  9 10:31:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5180e459

app-crypt/certbot: fix deprecation warning name

Closes: https://bugs.gentoo.org/937889
Fixes: 6af2e1684b64a9e0d621903d02de17e3b8540a67
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../certbot/{certbot-2.11.0-r1.ebuild => certbot-2.11.0-r2.ebuild}      | 0
 .../certbot-2.11.0-workaround-cryptography-deprecation-warnings.patch   | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-crypt/certbot/certbot-2.11.0-r1.ebuild 
b/app-crypt/certbot/certbot-2.11.0-r2.ebuild
similarity index 100%
rename from app-crypt/certbot/certbot-2.11.0-r1.ebuild
rename to app-crypt/certbot/certbot-2.11.0-r2.ebuild

diff --git 
a/app-crypt/certbot/files/certbot-2.11.0-workaround-cryptography-deprecation-warnings.patch
 
b/app-crypt/certbot/files/certbot-2.11.0-workaround-cryptography-deprecation-warnings.patch
index b0d59594d03f..ecaf4830eb24 100644
--- 
a/app-crypt/certbot/files/certbot-2.11.0-workaround-cryptography-deprecation-warnings.patch
+++ 
b/app-crypt/certbot/files/certbot-2.11.0-workaround-cryptography-deprecation-warnings.patch
@@ -23,7 +23,7 @@ https://bugs.gentoo.org/937889
 +    with warnings.catch_warnings():
 +        # Workaround for deprecation warnings w/ newer cryptography
 +        # https://github.com/certbot/certbot/issues/9967 (bug #937889)
-+        warnings.filterwarnings("ignore",category=DeprecationWarning)
++        warnings.filterwarnings("ignore", 
category=CryptographyDeprecationWarning)
 +
 +        if not response_ocsp.this_update:
 +            raise AssertionError('param thisUpdate is not set.')

Reply via email to