mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-12-25 04:28:22 +01:00
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>
This commit is contained in:
parent
80c3f3ee74
commit
dbf43ca34a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user