Re: [meta-python][PATCH] Add runtime dependencies for python3-supervisor


Tim Orling
 



On Sun, Jul 24, 2022 at 7:01 PM Khem Raj <raj.khem@...> wrote:
On Sun, Jul 24, 2022 at 3:31 PM Jan Vermaete <jan.vermaete@...> wrote:
>
> Hi,
>
> Could it be it should be '${PYTHON_PN}-setuptools-native' iso  '${PYTHON_PN}-setuptools' ?

rdep on a native package wont be a good thing.
>
> Br
>
> On Fri, Jul 22, 2022 at 9:39 PM Martin Großhauser <mgrosshauser@...> wrote:
>>
>> Running supervisord without these fails with import errors. smtpd might look strange, but provides required asynchat.py.
>> ---
>>   .../recipes-devtools/python/python3-supervisor_4.2.4.bb      | 5 +++++
>>   1 file changed, 5 insertions(+)
>>
>> diff --git a/meta-python/recipes-devtools/python/python3-supervisor_4.2.4.bb b/meta-python/recipes-devtools/python/python3-supervisor_4.2.4.bb
>> index fdd8a76cf..7da29e39b 100644
>> --- a/meta-python/recipes-devtools/python/python3-supervisor_4.2.4.bb
>> +++ b/meta-python/recipes-devtools/python/python3-supervisor_4.2.4.bb
>> @@ -13,6 +13,11 @@ PYPI_PACKAGE = "supervisor"
>>   inherit pypi systemd setuptools3
>>   RDEPENDS:${PN} = "\
>>       ${PYTHON_PN}-meld3 \
>> +    ${PYTHON_PN}-io \
>> +    ${PYTHON_PN}-xmlrpc \
>> +    ${PYTHON_PN}-resource \
>> +    ${PYTHON_PN}-setuptools \
>> +    ${PYTHON_PN}-smtpd \
>>   "

FWIW, we don’t need to carry the ${PYTHON_PN} if the version no longer supports python 2.

>>
>>   SRC_URI += "file://supervisord.conf \
>> --
>> 2.25.1
>>
>>
>>
>>
>
>
> --
> Jan Vermaete
> “Success is a self-correcting phenomenom.” -- Gary Hamel
>
>
>



Join openembedded-devel@lists.openembedded.org to automatically receive all group messages.