On Sat, 15 Apr 2023, Stefan Hagen wrote:

> Hi,
> 
> Radicale2 doesn't start anymore because:
> 
> # doas -u _radicale /usr/local/bin/radicale -d
> Traceback (most recent call last):
>   File "/usr/local/bin/radicale", line 5, in <module>
>     from radicale.__main__ import run
>   File "/usr/local/lib/python3.10/site-packages/radicale/__init__.py", line 
> 36, in <module>
>     import pkg_resources
> ModuleNotFoundError: No module named 'pkg_resources'
> 
> It works fine after installing py3-setuptools.
> This is also relevant for 7.3 release.
> 
> OK?

This is most likely the same problem we had with www/epehmetoot a couple
of months go:
https://marc.info/?l=openbsd-ports&m=167325446116128&w=2

I'll try to send a patch upstream later, as pkg_resources is now
deprecated.
In any case, ok paco@ so we can fix it for now.

> 
> Best regards,
> Stefan
> 
> 
> Index: productivity/radicale2/Makefile
> ===================================================================
> RCS file: /cvs/ports/productivity/radicale2/Makefile,v
> retrieving revision 1.13
> diff -u -p -u -p -r1.13 Makefile
> --- productivity/radicale2/Makefile   13 Nov 2022 20:31:00 -0000      1.13
> +++ productivity/radicale2/Makefile   15 Apr 2023 06:20:43 -0000
> @@ -4,7 +4,7 @@ MODPY_EGG_VERSION = 2.1.12
>  DISTNAME =   Radicale-${MODPY_EGG_VERSION}
>  PKGNAME =    ${DISTNAME:L}
>  CATEGORIES = productivity net
> -REVISION =   4
> +REVISION =   5
>  
>  HOMEPAGE =   https://radicale.org/
>  
> @@ -16,6 +16,7 @@ MODPY_PI =  Yes
>  MODPY_PYBUILD =      setuptools
>  
>  RUN_DEPENDS =        devel/py-dateutil${MODPY_FLAVOR}>=2.7.3 \
> +             devel/py-setuptools${MODPY_FLAVOR} \
>               security/py-passlib${MODPY_FLAVOR} \
>               textproc/py-vobject${MODPY_FLAVOR}
>  
> 

-- 
Paco Esteban.
0x5818130B8A6DBC03

Reply via email to