mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
python-simplejson: relocate to meta-python and add a python3 version
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
8173c31a01
commit
32b0092f6f
|
|
@ -1,26 +1,17 @@
|
|||
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"
|
||||
|
||||
SRCNAME = "simplejson"
|
||||
|
||||
SRC_URI = "https://files.pythonhosted.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
|
||||
SRC_URI[md5sum] = "426a9631d22851a7a970b1a677368b15"
|
||||
SRC_URI[sha256sum] = "953be622e88323c6f43fad61ffd05bebe73b9fd9863a46d68b052d2aa7d71ce2"
|
||||
|
||||
S = "${WORKDIR}/${SRCNAME}-${PV}"
|
||||
inherit pypi
|
||||
|
||||
inherit setuptools
|
||||
|
||||
RDEPENDS_${PN} = "\
|
||||
python-core \
|
||||
python-re \
|
||||
python-io \
|
||||
python-netserver \
|
||||
python-numbers \
|
||||
RDEPENDS_${PN} += "\
|
||||
${PYTHON_PN}-re \
|
||||
${PYTHON_PN}-io \
|
||||
${PYTHON_PN}-netserver \
|
||||
${PYTHON_PN}-numbers \
|
||||
"
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
inherit setuptools
|
||||
require python-simplejson.inc
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
inherit setuptools3
|
||||
require python-simplejson.inc
|
||||
|
||||
# Requires _pydecimal which is in misc
|
||||
RDEPENDS_${PN} += " \
|
||||
${PYTHON_PN}-misc \
|
||||
"
|
||||
Loading…
Reference in New Issue
Block a user