Skip to content

Commit

Permalink
recipes/devtools: replace distutils3*.bbclass with setuptools3*.bbclass
Browse files Browse the repository at this point in the history
distutils3 is deprecated and its use produces warnings during build:

WARNING: distutils-common-base.bbclass is deprecated, please use setuptools3-base.bbclass instead
WARNING: distutils3-base.bbclass is deprecated, please use setuptools3-base.bbclass instead
WARNING: distutils3.bbclass is deprecated, please use setuptools3.bbclass instead

setuptools3 should be a drop-in replacement.

Signed-off-by: Stefan Gloor <[email protected]>
  • Loading branch information
stgloorious committed Dec 10, 2024
1 parent 80c3f3e commit dbf43ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes-devtools/python/pya20_0.2.12.bb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ SRC_URI = "https://pypi.python.org/packages/source/p/pyA20/pyA20-${PV}.tar.gz \
"
S = "${WORKDIR}/pyA20-${PV}"

inherit distutils3
inherit setuptools3

do_compile:prepend() {
cp ${UNPACKDIR}/mapping.h ${S}/pyA20/gpio/mapping.h
Expand Down

0 comments on commit dbf43ca

Please sign in to comment.