On 6/5/23 03:11, Giovanni Bechis wrote:
> On Wed, May 31, 2023 at 05:13:40PM -0400, A Tammy wrote:
>> On 5/31/23 16:06, Adriano Barbosa wrote:
>>> Hi.
>>> I'm getting the error below while trying to run certbot from ports on
>>> 7.3. It runs after installing py3-setuptools. Should it be added in
>>> RUN_DEPENDS?
>> From https://setuptools.pypa.io/en/latest/pkg_resources.html
>>
>>> Use of |pkg_resources| is deprecated in favor of |importlib.resources|
>> <https://docs.python.org/3/library/importlib.resources.html#module-importlib.resources>,
>> |importlib.metadata|
>> <https://docs.python.org/3/library/importlib.metadata.html#module-importlib.metadata>
>> and their backports (importlib_resources
>> <https://pypi.org/project/importlib_resources>, importlib_metadata
>> <https://pypi.org/project/importlib_metadata>). Users should refrain
>> from new usage of |pkg_resources| and should work to port to
>> importlib-based solutions.
>>
>> Someone with enough enthusiasm should tell upstream.
>>
>> OK aisha@ to add RUN_DEPENDS.
>>
> ok for this diff for 7.3 ?
> Cheers
> Giovanni
>
> 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
>
> MODULES?= lang/python
>
> 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}
nit, I know its not always followed but could you sort them alphabetically?
in any case, OK aisha@
> MODPY_PYTEST= Yes
>
> do-configure:
No comments:
Post a Comment