summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzangrc <zangrc.fnst@cn.fujitsu.com>2019-11-28 14:30:11 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2019-12-01 23:17:09 -0500
commitb64abf48a1cc20e579be1ccce05c2839545a450a (patch)
tree582dd9648b5273742d83650c87df1f52c6df2591
parent9ec506ce0442f3a6dbcd2aec843d2368555118a3 (diff)
downloadmeta-cloud-services-b64abf48a1cc20e579be1ccce05c2839545a450a.tar.gz
python-anyjson: Add python3 version
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--meta-openstack/recipes-devtools/python/python-anyjson.inc12
-rw-r--r--meta-openstack/recipes-devtools/python/python-anyjson_0.3.3.bb14
-rw-r--r--meta-openstack/recipes-devtools/python/python3-anyjson_0.3.3.bb2
3 files changed, 16 insertions, 12 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-anyjson.inc b/meta-openstack/recipes-devtools/python/python-anyjson.inc
new file mode 100644
index 0000000..19e03e9
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-anyjson.inc
@@ -0,0 +1,12 @@
1DESCRIPTION = "Loads the best available JSON implementation available in a common interface"
2HOMEPAGE = "https://bitbucket.org/runeh/anyjson"
3SECTION = "devel/python"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=989aa97e73c912a83a3c873fa11deb08"
6
7inherit pypi
8
9SRC_URI[md5sum] = "2ea28d6ec311aeeebaf993cb3008b27c"
10SRC_URI[sha256sum] = "37812d863c9ad3e35c0734c42e0bf0320ce8c3bed82cd20ad54cb34d158157ba"
11
12RDEPENDS_${PN} = "${PYTHON_PN}-simplejson"
diff --git a/meta-openstack/recipes-devtools/python/python-anyjson_0.3.3.bb b/meta-openstack/recipes-devtools/python/python-anyjson_0.3.3.bb
index cffff66..2b90a2a 100644
--- a/meta-openstack/recipes-devtools/python/python-anyjson_0.3.3.bb
+++ b/meta-openstack/recipes-devtools/python/python-anyjson_0.3.3.bb
@@ -1,12 +1,2 @@
1DESCRIPTION = "Loads the best available JSON implementation available in a common interface" 1require python-anyjson.inc
2HOMEPAGE = "https://bitbucket.org/runeh/anyjson" 2inherit setuptools
3SECTION = "devel/python"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=989aa97e73c912a83a3c873fa11deb08"
6
7inherit setuptools pypi
8
9SRC_URI[md5sum] = "2ea28d6ec311aeeebaf993cb3008b27c"
10SRC_URI[sha256sum] = "37812d863c9ad3e35c0734c42e0bf0320ce8c3bed82cd20ad54cb34d158157ba"
11
12RDEPENDS_${PN} = "python-simplejson"
diff --git a/meta-openstack/recipes-devtools/python/python3-anyjson_0.3.3.bb b/meta-openstack/recipes-devtools/python/python3-anyjson_0.3.3.bb
new file mode 100644
index 0000000..d4d13ac
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-anyjson_0.3.3.bb
@@ -0,0 +1,2 @@
1require python-anyjson.inc
2inherit setuptools3