meta-openembedded/meta-python/recipes-devtools/python/python-simplejson.inc
Derek Straka 72ba5a3664 python-simplejson: add the tests into their own package
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-11 07:58:57 -08:00

25 lines
710 B
PHP

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] = "048548acae58984b3e939b3bcf182c8e"
SRC_URI[sha256sum] = "df5e38f5e0a24abe0e02276aa5c3f8504150047a51c0b6b848b8153e6e6d395e"
inherit pypi
RDEPENDS_${PN} += "\
${PYTHON_PN}-re \
${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* \
"