From acc6c4e41f042a1dac42b1d698bf45ca325d0f3f Mon Sep 17 00:00:00 2001 From: zangrc Date: Wed, 4 Dec 2019 14:15:00 +0800 Subject: python-ovs: Add python3 version Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- meta-openstack/recipes-devtools/python/python-ovs.inc | 10 ++++++++++ meta-openstack/recipes-devtools/python/python-ovs_2.7.2.bb | 12 ++---------- meta-openstack/recipes-devtools/python/python3-ovs_2.7.2.bb | 2 ++ 3 files changed, 14 insertions(+), 10 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-ovs.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-ovs_2.7.2.bb diff --git a/meta-openstack/recipes-devtools/python/python-ovs.inc b/meta-openstack/recipes-devtools/python/python-ovs.inc new file mode 100644 index 0000000..d9303f2 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-ovs.inc @@ -0,0 +1,10 @@ +DESCRIPTION = "Open vSwitch library" +HOMEPAGE = "https://pypi.python.org/pypi/ovs" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" + +SRC_URI[md5sum] = "8551ed58f4e5878db9a599e2d7792d98" +SRC_URI[sha256sum] = "24cc9e324b03ba8d5799f07edf6c8eef013d6cbf741707f42200b1674fd60928" + +inherit pypi diff --git a/meta-openstack/recipes-devtools/python/python-ovs_2.7.2.bb b/meta-openstack/recipes-devtools/python/python-ovs_2.7.2.bb index 2ec9a6e..cd3685d 100644 --- a/meta-openstack/recipes-devtools/python/python-ovs_2.7.2.bb +++ b/meta-openstack/recipes-devtools/python/python-ovs_2.7.2.bb @@ -1,10 +1,2 @@ -DESCRIPTION = "Open vSwitch library" -HOMEPAGE = "https://pypi.python.org/pypi/ovs" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" - -SRC_URI[md5sum] = "8551ed58f4e5878db9a599e2d7792d98" -SRC_URI[sha256sum] = "24cc9e324b03ba8d5799f07edf6c8eef013d6cbf741707f42200b1674fd60928" - -inherit setuptools pypi +require python-ovs.inc +inherit setuptools diff --git a/meta-openstack/recipes-devtools/python/python3-ovs_2.7.2.bb b/meta-openstack/recipes-devtools/python/python3-ovs_2.7.2.bb new file mode 100644 index 0000000..9c9b82b --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-ovs_2.7.2.bb @@ -0,0 +1,2 @@ +require python-ovs.inc +inherit setuptools3 -- cgit v1.2.3-54-g00ecf