mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-15 02:30:50 +00:00
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>
28 lines
690 B
BlitzBasic
28 lines
690 B
BlitzBasic
SUMMARY = "Simple, fast, extensible JSON encoder/decoder for Python"
|
|
HOMEPAGE = "http://cheeseshop.python.org/pypi/simplejson"
|
|
SECTION = "devel/python"
|
|
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c6338d7abd321c0b50a2a547e441c52e"
|
|
PR = "r1"
|
|
|
|
SRCNAME = "simplejson"
|
|
|
|
SRC_URI = "http://cheeseshop.python.org/packages/source/s/simplejson/${SRCNAME}-${PV}.tar.gz"
|
|
SRC_URI[md5sum] = "53b1371bbf883b129a12d594a97e9a18"
|
|
SRC_URI[sha256sum] = "d58439c548433adcda98e695be53e526ba940a4b9c44fb9a05d92cd495cdd47f"
|
|
|
|
S = "${WORKDIR}/${SRCNAME}-${PV}"
|
|
|
|
inherit setuptools
|
|
|
|
RDEPENDS_${PN} = "\
|
|
python-core \
|
|
python-re \
|
|
python-io \
|
|
python-netserver \
|
|
python-numbers \
|
|
"
|
|
|
|
|