From a8dbbbeda1f6ae65e6a2239c3d2c504ca1c37bc7 Mon Sep 17 00:00:00 2001 From: zangrc Date: Tue, 14 Jan 2020 10:16:15 +0800 Subject: python-thrift: Add python3 version Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- meta-openstack/recipes-devtools/python/python-thrift.inc | 10 ++++++++++ .../recipes-devtools/python/python-thrift_0.9.2.bb | 12 ++---------- .../recipes-devtools/python/python3-thrift_0.9.2.bb | 2 ++ 3 files changed, 14 insertions(+), 10 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-thrift.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-thrift_0.9.2.bb diff --git a/meta-openstack/recipes-devtools/python/python-thrift.inc b/meta-openstack/recipes-devtools/python/python-thrift.inc new file mode 100644 index 0000000..019d7c8 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-thrift.inc @@ -0,0 +1,10 @@ +DESCRIPTION = "Python bindings for the Apache Thrift RPC system" +HOMEPAGE = "https://pypi.python.org/pypi/amqp/" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=df17a59cc9e1327ec49c2285e13ac477" + +SRC_URI[md5sum] = "91f1c224c46a257bb428431943387dfd" +SRC_URI[sha256sum] = "08f665e4b033c9d2d0b6174d869273104362c80e77ee4c01054a74141e378afa" + +inherit pypi diff --git a/meta-openstack/recipes-devtools/python/python-thrift_0.9.2.bb b/meta-openstack/recipes-devtools/python/python-thrift_0.9.2.bb index e8fea35..4d01cb5 100644 --- a/meta-openstack/recipes-devtools/python/python-thrift_0.9.2.bb +++ b/meta-openstack/recipes-devtools/python/python-thrift_0.9.2.bb @@ -1,10 +1,2 @@ -DESCRIPTION = "Python bindings for the Apache Thrift RPC system" -HOMEPAGE = "https://pypi.python.org/pypi/amqp/" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=df17a59cc9e1327ec49c2285e13ac477" - -SRC_URI[md5sum] = "91f1c224c46a257bb428431943387dfd" -SRC_URI[sha256sum] = "08f665e4b033c9d2d0b6174d869273104362c80e77ee4c01054a74141e378afa" - -inherit setuptools pypi +require python-thrift.inc +inherit setuptools diff --git a/meta-openstack/recipes-devtools/python/python3-thrift_0.9.2.bb b/meta-openstack/recipes-devtools/python/python3-thrift_0.9.2.bb new file mode 100644 index 0000000..095dcba --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-thrift_0.9.2.bb @@ -0,0 +1,2 @@ +require python-thrift.inc +inherit setuptools3 -- cgit v1.2.3-54-g00ecf