python3-pydantic: don't use PYTHON_PN and improve coding style

We no longer support python2. Drop PYTHON_PN and use python3 explicitly.
While at it: order dependencies alphabetically.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Bartosz Golaszewski
2023-05-31 10:23:02 +02:00
committed by Khem Raj
parent ff3a9922f9
commit 4465806d9a

View File

@@ -8,13 +8,13 @@ inherit pypi setuptools3
SRC_URI[sha256sum] = "cfc83c0678b6ba51b0532bea66860617c4cd4251ecf76e9846fa5a9f3454e97e"
RDEPENDS:${PN} += "\
${PYTHON_PN}-typing-extensions \
${PYTHON_PN}-core \
${PYTHON_PN}-numbers \
${PYTHON_PN}-json \
${PYTHON_PN}-datetime \
${PYTHON_PN}-io \
${PYTHON_PN}-netclient \
${PYTHON_PN}-image \
${PYTHON_PN}-logging \
python3-core \
python3-datetime \
python3-image \
python3-io \
python3-json \
python3-logging \
python3-netclient \
python3-numbers \
python3-typing-extensions \
"