python3-ujson: support Python 3
PATCH 1/1 python3-ujson: support Python 3
From: Pascal Bach <[email protected]>
Signed-off-by Pascal Bach <[email protected]>
--- meta-python/recipes-devtools/python/python-ujson.inc | 15 +++++++++++++++ .../recipes-devtools/python/python-ujson_1.35.bb | 17 ++--------------- .../recipes-devtools/python/python3-ujson_1.35.bb | 2 ++ 3 files changed, 19 insertions(+), 15 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-ujson.inc create mode 100644 meta-python/recipes-devtools/python/python3-ujson_1.35.bb
meta-python/recipes-devtools/python/python-ujson.inc new file +15 -0
@@ -0,0 +1,15 @@ +SUMMARY = "Ultra fast JSON encoder and decoder for Python" +DESCRIPTION = "UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 2.5+ and 3." + +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://PKG-INFO;startline=8;endline=9;md5=4f369b3c3c290b4aede8796a4065e5ab" + +SRC_URI[md5sum] = "42f77b0cce686dfa4da2e68480b1dd24" +SRC_URI[sha256sum] = "f66073e5506e91d204ab0c614a148d5aa938bdbf104751be66f8ad7a222f5f86" + +inherit pypi + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-numbers \ + "
meta-python/recipes-devtools/python/python-ujson_1.35.bb +2 -15
@@ -1,15 +1,2 @@ -SUMMARY = "Ultra fast JSON encoder and decoder for Python" -DESCRIPTION = "UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 2.5+ and 3." - -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://PKG-INFO;startline=8;endline=9;md5=4f369b3c3c290b4aede8796a4065e5ab" - -SRC_URI[md5sum] = "42f77b0cce686dfa4da2e68480b1dd24" -SRC_URI[sha256sum] = "f66073e5506e91d204ab0c614a148d5aa938bdbf104751be66f8ad7a222f5f86" - -inherit pypi setuptools - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-numbers \ - " +inherit setuptools +require python-ujson.inc
meta-python/recipes-devtools/python/python3-ujson_1.35.bb new file +2 -0
@@ -0,0 +1,2 @@ +inherit setuptools3 +require python-ujson.inc
Signature · 1 line
2.1.4