mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 23:05:34 +01:00
python-simplejson: consolidate inc and bb files into a single bb file
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
2aa63fd4e4
commit
1dbb1c6653
|
|
@ -1,25 +0,0 @@
|
|||
SUMMARY = "Simple, fast, extensible JSON encoder/decoder for Python"
|
||||
HOMEPAGE = "http://cheeseshop.python.org/pypi/simplejson"
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c6338d7abd321c0b50a2a547e441c52e"
|
||||
|
||||
SRC_URI[md5sum] = "8a5ed75c367b90fedc3d685742e2a1c7"
|
||||
SRC_URI[sha256sum] = "2b4b2b738b3b99819a17feaf118265d0753d5536049ea570b3c43b51c4701e81"
|
||||
|
||||
inherit pypi
|
||||
|
||||
RDEPENDS_${PN} += "\
|
||||
${PYTHON_PN}-io \
|
||||
${PYTHON_PN}-netserver \
|
||||
${PYTHON_PN}-numbers \
|
||||
"
|
||||
|
||||
PACKAGES =+ "${PN}-tests"
|
||||
RDEPENDS_${PN}-tests = "${PN} ${PYTHON_PN}-unittest"
|
||||
FILES_${PN}-tests+= " \
|
||||
${PYTHON_SITEPACKAGES_DIR}/simplejson/tests \
|
||||
${PYTHON_SITEPACKAGES_DIR}/simplejson/tool.py* \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
|
@ -1,2 +1,25 @@
|
|||
inherit setuptools3
|
||||
require python-simplejson.inc
|
||||
SUMMARY = "Simple, fast, extensible JSON encoder/decoder for Python"
|
||||
HOMEPAGE = "http://cheeseshop.python.org/pypi/simplejson"
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c6338d7abd321c0b50a2a547e441c52e"
|
||||
|
||||
SRC_URI[md5sum] = "8a5ed75c367b90fedc3d685742e2a1c7"
|
||||
SRC_URI[sha256sum] = "2b4b2b738b3b99819a17feaf118265d0753d5536049ea570b3c43b51c4701e81"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
RDEPENDS_${PN} += "\
|
||||
${PYTHON_PN}-io \
|
||||
${PYTHON_PN}-netserver \
|
||||
${PYTHON_PN}-numbers \
|
||||
"
|
||||
|
||||
PACKAGES =+ "${PN}-tests"
|
||||
RDEPENDS_${PN}-tests = "${PN} ${PYTHON_PN}-unittest"
|
||||
FILES_${PN}-tests+= " \
|
||||
${PYTHON_SITEPACKAGES_DIR}/simplejson/tests \
|
||||
${PYTHON_SITEPACKAGES_DIR}/simplejson/tool.py* \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user