python-simplejson: change to setuptools

Change from distutils to setuptools.

simplejson's setup.py is written to import setup, Extension, Command
from setuptools and fallback to distutils if the import fails. Prior to
this change files were being installed to a host polluted path
/usr/lib/python2.7/site-packages/simplejson-3.8.2-py2.7-linux-x86_64.egg
(even on ARM targets). python was unable to import simplejson. Switching
to setuptools corrects the problem.

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
George McCollister 2016-05-27 15:56:35 -05:00 committed by Martin Jansa
parent 350bd0bee4
commit c2c895ec54

View File

@ -14,7 +14,7 @@ SRC_URI[sha256sum] = "d58439c548433adcda98e695be53e526ba940a4b9c44fb9a05d92cd495
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
inherit setuptools
RDEPENDS_${PN} = "\
python-core \