[oe-commits] [meta-openembedded] 02/08: python3-ujson: support Python 3
git at git.openembedded.org
git at git.openembedded.org
Sun Oct 15 17:30:32 UTC 2017
This is an automated email from the git hooks/post-receive script.
martin_jansa pushed a commit to branch master
in repository meta-openembedded.
commit 36f873f8d59bd8b2afa962fce51b546f281c866f
Author: Pascal Bach <pascal.bach at nextrem.ch>
AuthorDate: Wed Oct 4 14:03:49 2017 +0200
python3-ujson: support Python 3
Signed-off-by: Pascal Bach <pascal.bach at nextrem.ch>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
.../python/{python-ujson_1.35.bb => python-ujson.inc} | 2 +-
.../recipes-devtools/python/python-ujson_1.35.bb | 17 ++---------------
.../recipes-devtools/python/python3-ujson_1.35.bb | 2 ++
3 files changed, 5 insertions(+), 16 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python-ujson_1.35.bb b/meta-python/recipes-devtools/python/python-ujson.inc
similarity index 95%
copy from meta-python/recipes-devtools/python/python-ujson_1.35.bb
copy to meta-python/recipes-devtools/python/python-ujson.inc
index 238dc92..9654d5a 100644
--- a/meta-python/recipes-devtools/python/python-ujson_1.35.bb
+++ b/meta-python/recipes-devtools/python/python-ujson.inc
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;startline=8;endline=9;md5=4f369b3c3c290b4aed
SRC_URI[md5sum] = "42f77b0cce686dfa4da2e68480b1dd24"
SRC_URI[sha256sum] = "f66073e5506e91d204ab0c614a148d5aa938bdbf104751be66f8ad7a222f5f86"
-inherit pypi setuptools
+inherit pypi
RDEPENDS_${PN} += "\
${PYTHON_PN}-datetime \
diff --git a/meta-python/recipes-devtools/python/python-ujson_1.35.bb b/meta-python/recipes-devtools/python/python-ujson_1.35.bb
index 238dc92..b3c6ae6 100644
--- a/meta-python/recipes-devtools/python/python-ujson_1.35.bb
+++ b/meta-python/recipes-devtools/python/python-ujson_1.35.bb
@@ -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
diff --git a/meta-python/recipes-devtools/python/python3-ujson_1.35.bb b/meta-python/recipes-devtools/python/python3-ujson_1.35.bb
new file mode 100644
index 0000000..ae4cc0a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-ujson_1.35.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-ujson.inc
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list