Monday, June 05, 2023

Re: certbot missing module pkg_resources

On 2023/06/05 09:11, Giovanni Bechis wrote:
> Index: Makefile.inc
> ===================================================================
> RCS file: /cvs/ports/security/letsencrypt/Makefile.inc,v
> retrieving revision 1.77
> diff -u -p -r1.77 Makefile.inc
> --- Makefile.inc 9 Mar 2023 06:40:47 -0000 1.77
> +++ Makefile.inc 5 Jun 2023 07:09:11 -0000
> @@ -4,6 +4,7 @@ MODPY_PI?= Yes
> MODPY_PYBUILD?= setuptools
>
> MODPY_EGG_VERSION?= 2.4.0
> +REVISION?= 0

wrong file, this should be in client/Makefile

> Index: client/Makefile
> ===================================================================
> RCS file: /cvs/ports/security/letsencrypt/client/Makefile,v
> retrieving revision 1.37
> diff -u -p -r1.37 Makefile
> --- client/Makefile 25 Nov 2022 22:11:48 -0000 1.37
> +++ client/Makefile 5 Jun 2023 07:09:11 -0000
> @@ -13,7 +13,8 @@ RUN_DEPENDS= security/letsencrypt/py-acm
> devel/py-parsedatetime${MODPY_FLAVOR} \
> textproc/py-pyRFC3339${MODPY_FLAVOR} \
> devel/py-zopecomponent${MODPY_FLAVOR} \
> - devel/py-zopeinterface${MODPY_FLAVOR}
> + devel/py-zopeinterface${MODPY_FLAVOR} \
> + devel/py-setuptools${MODPY_FLAVOR}
> MODPY_PYTEST= Yes

please keep it the same as in -current (I have separated it out as
a reminder to me to check if they've fixed this at update time)

i.e.

Index: Makefile
===================================================================
RCS file: /cvs/ports/security/letsencrypt/client/Makefile,v
retrieving revision 1.37
diff -u -p -r1.37 Makefile
--- Makefile 25 Nov 2022 22:11:48 -0000 1.37
+++ Makefile 5 Jun 2023 11:39:28 -0000
@@ -3,6 +3,7 @@ COMMENT= client for certificate authorit
HOMEPAGE= https://certbot.eff.org/

DISTNAME= certbot-${MODPY_EGG_VERSION}
+REVISION= 0

RUN_DEPENDS= security/letsencrypt/py-acme${MODPY_FLAVOR}=${MODPY_EGG_VERSION} \
devel/py-configargparse${MODPY_FLAVOR} \
@@ -14,6 +15,7 @@ RUN_DEPENDS= security/letsencrypt/py-acm
textproc/py-pyRFC3339${MODPY_FLAVOR} \
devel/py-zopecomponent${MODPY_FLAVOR} \
devel/py-zopeinterface${MODPY_FLAVOR}
+RUN_DEPENDS+= devel/py-setuptools${MODPY_FLAVOR}
MODPY_PYTEST= Yes

do-configure:

No comments:

Post a Comment