python3-attrs: unify RDEPENDS

The nativesdk and target RDEPENDS are the same and there's nothing that
prohibits this package from build built for the native sysroot either.
Use the global RDEPENDS instead of per-class assignments.

While at it: order the dependencies alphabetically.

(From OE-Core rev: aaaeffe8fca578abcbc19bbb306ff4a8b21bb59e)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Bartosz Golaszewski
2023-05-17 10:06:21 +02:00
committed by Richard Purdie
parent d25d6fcd0c
commit cdd2b728d0

View File

@@ -12,13 +12,9 @@ DEPENDS += " \
${PYTHON_PN}-hatch-fancy-pypi-readme-native \
"
RDEPENDS:${PN}:class-target += " \
${PYTHON_PN}-crypt \
RDEPENDS:${PN}+= " \
${PYTHON_PN}-ctypes \
"
RDEPENDS:${PN}:class-nativesdk += " \
${PYTHON_PN}-crypt \
${PYTHON_PN}-ctypes \
"
BBCLASSEXTEND = "native nativesdk"