Compare commits

...

2 Commits

Author SHA1 Message Date
Marek Belisko
c877916982
Merge pull request #426 from stgloorious/stgloor/setuptools-pr
recipes/devtools: replace distutils3*.bbclass with setuptools3*.bbclass
2024-12-10 08:35:02 +01:00
Stefan Gloor
dbf43ca34a recipes/devtools: replace distutils3*.bbclass with setuptools3*.bbclass
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 <code@stefan-gloor.ch>
2024-12-10 01:02:21 +00:00

View File

@ -13,7 +13,7 @@ SRC_URI = "https://pypi.python.org/packages/source/p/pyA20/pyA20-${PV}.tar.gz \
" "
S = "${WORKDIR}/pyA20-${PV}" S = "${WORKDIR}/pyA20-${PV}"
inherit distutils3 inherit setuptools3
do_compile:prepend() { do_compile:prepend() {
cp ${UNPACKDIR}/mapping.h ${S}/pyA20/gpio/mapping.h cp ${UNPACKDIR}/mapping.h ${S}/pyA20/gpio/mapping.h