pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Importing chat/py-sydent from wip



On Tue, Aug 22, 2023 at 06:14:40AM +0000, Emmanuel Dreyfus wrote:
> 1) It requies py-confiparser. I build for python 3.9, and this package
> is for pythoin 2.7 only. I had to upgrade py-confiparser. to 6.0.0 to
> address this, but the new version now does not support python 2.7. 
> I assume someone would be annoyed to see py-confiparser for python 2.7
> vanish, how are we supposed to cope with that?

configparser is built-in in 3.x, you don't need to depend on this package.

> 3) The program should be run as ${PYTHONBIN} -m sydent.sydent. I struggle
> to maje a rc.d script that works with that. rc.D framework colokains of
> any other python binary running. Any example in pkgsrc to start from?

py-supervisor has an rc.d script, but this package installs a minimal
'supervisord-3.11' script.
 Thomas


Home | Main Index | Thread Index | Old Index