From b64abf48a1cc20e579be1ccce05c2839545a450a Mon Sep 17 00:00:00 2001 From: zangrc Date: Thu, 28 Nov 2019 14:30:11 +0800 Subject: python-anyjson: Add python3 version Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- meta-openstack/recipes-devtools/python/python-anyjson.inc | 12 ++++++++++++ .../recipes-devtools/python/python-anyjson_0.3.3.bb | 14 ++------------ .../recipes-devtools/python/python3-anyjson_0.3.3.bb | 2 ++ 3 files changed, 16 insertions(+), 12 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-anyjson.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-anyjson_0.3.3.bb (limited to 'meta-openstack/recipes-devtools') 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 @@ +DESCRIPTION = "Loads the best available JSON implementation available in a common interface" +HOMEPAGE = "https://bitbucket.org/runeh/anyjson" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=989aa97e73c912a83a3c873fa11deb08" + +inherit pypi + +SRC_URI[md5sum] = "2ea28d6ec311aeeebaf993cb3008b27c" +SRC_URI[sha256sum] = "37812d863c9ad3e35c0734c42e0bf0320ce8c3bed82cd20ad54cb34d158157ba" + +RDEPENDS_${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 @@ -DESCRIPTION = "Loads the best available JSON implementation available in a common interface" -HOMEPAGE = "https://bitbucket.org/runeh/anyjson" -SECTION = "devel/python" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=989aa97e73c912a83a3c873fa11deb08" - -inherit setuptools pypi - -SRC_URI[md5sum] = "2ea28d6ec311aeeebaf993cb3008b27c" -SRC_URI[sha256sum] = "37812d863c9ad3e35c0734c42e0bf0320ce8c3bed82cd20ad54cb34d158157ba" - -RDEPENDS_${PN} = "python-simplejson" +require python-anyjson.inc +inherit setuptools 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 @@ +require python-anyjson.inc +inherit setuptools3 -- cgit v1.2.3-54-g00ecf