summaryrefslogtreecommitdiff
path: root/security/py-certbot
diff options
context:
space:
mode:
Diffstat (limited to 'security/py-certbot')
-rw-r--r--security/py-certbot/Makefile5
-rw-r--r--security/py-certbot/distinfo6
-rw-r--r--security/py-certbot/files/patch-src-certbot-compat-misc.py (renamed from security/py-certbot/files/patch-certbot-compat-misc.py)4
-rw-r--r--security/py-certbot/files/patch-src-certbot-internal_tests-cli__test.py (renamed from security/py-certbot/files/patch-certbot___internal_tests_cli__test.py)4
4 files changed, 9 insertions, 10 deletions
diff --git a/security/py-certbot/Makefile b/security/py-certbot/Makefile
index 5e66ba0a7c54..8649e57a9a21 100644
--- a/security/py-certbot/Makefile
+++ b/security/py-certbot/Makefile
@@ -24,7 +24,6 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}acme>=${ACME_VERSION},1:security/py-acme@${P
${PYTHON_PKGNAMEPREFIX}josepy>=2.0.0:security/py-josepy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}parsedatetime>=2.4:devel/py-parsedatetime@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyrfc3339>=0:devel/py-pyrfc3339@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytz>=2019.3,1:devel/py-pytz@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools>=41.6.0:devel/py-setuptools@${PY_FLAVOR}
USES= python
@@ -48,11 +47,11 @@ MANPAGES_PLIST_FILES= share/man/man1/certbot.1.gz \
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 31000
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.6:devel/py-importlib-metadata@${PY_FLAVOR}
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=8.6.1:devel/py-importlib-metadata@${PY_FLAVOR}
.endif
post-patch:
- @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/certbot/compat/misc.py ${WRKSRC}/certbot/_internal/tests/cli_test.py
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/src/certbot/compat/misc.py ${WRKSRC}/src/certbot/_internal/tests/cli_test.py
post-build-MANPAGES-on:
# Avoid gmake / ${DO_MAKE_BUILD} -C ${WRKSRC}/docs man
diff --git a/security/py-certbot/distinfo b/security/py-certbot/distinfo
index 05ecc6071f5a..ec199b581dfb 100644
--- a/security/py-certbot/distinfo
+++ b/security/py-certbot/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1745167596
-SHA256 (certbot-4.0.0.tar.gz) = a867bfbb5126516c12d4c8a93909ef1e4d5309fc4e9f5b97b2d987b0ffd4bbe3
-SIZE (certbot-4.0.0.tar.gz) = 439556
+TIMESTAMP = 1754427671
+SHA256 (certbot-4.2.0.tar.gz) = fb1e56ca8a072bec49ac0c7b5390a29cbf68c2c05f712259a9b3491de041c27b
+SIZE (certbot-4.2.0.tar.gz) = 442984
diff --git a/security/py-certbot/files/patch-certbot-compat-misc.py b/security/py-certbot/files/patch-src-certbot-compat-misc.py
index 56031716086a..1ffb2afd1010 100644
--- a/security/py-certbot/files/patch-certbot-compat-misc.py
+++ b/security/py-certbot/files/patch-src-certbot-compat-misc.py
@@ -4,8 +4,8 @@
# https://github.com/certbot/certbot/pull/7056
# TODO: Upstream
---- certbot/compat/misc.py.orig 2023-04-04 15:06:41 UTC
-+++ certbot/compat/misc.py
+--- src/certbot/compat/misc.py.orig 2023-04-04 15:06:41 UTC
++++ src/certbot/compat/misc.py
@@ -100,6 +100,11 @@ LINUX_DEFAULT_FOLDERS = {
'work': '/var/lib/letsencrypt',
'logs': '/var/log/letsencrypt',
diff --git a/security/py-certbot/files/patch-certbot___internal_tests_cli__test.py b/security/py-certbot/files/patch-src-certbot-internal_tests-cli__test.py
index c5c1cd41e898..d89ec8254b9e 100644
--- a/security/py-certbot/files/patch-certbot___internal_tests_cli__test.py
+++ b/security/py-certbot/files/patch-src-certbot-internal_tests-cli__test.py
@@ -1,5 +1,5 @@
---- certbot/_internal/tests/cli_test.py.orig 2023-04-04 15:06:41 UTC
-+++ certbot/_internal/tests/cli_test.py
+--- src/certbot/_internal/tests/cli_test.py.orig 2023-04-04 15:06:41 UTC
++++ src/certbot/_internal/tests/cli_test.py
@@ -1,6 +1,7 @@
"""Tests for certbot._internal.cli."""
import argparse