From 7f8515a99c42f3fbe1b17a9452815df0f4822302 Mon Sep 17 00:00:00 2001 From: zangrc Date: Mon, 6 Jan 2020 14:40:33 +0800 Subject: python-uritemplate: Add python3 version Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- meta-openstack/recipes-devtools/python/python-uritemplate.inc | 9 +++++++++ .../recipes-devtools/python/python-uritemplate_3.0.0.bb | 11 ++--------- .../recipes-devtools/python/python3-uritemplate_3.0.0.bb | 2 ++ 3 files changed, 13 insertions(+), 9 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-uritemplate.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-uritemplate_3.0.0.bb diff --git a/meta-openstack/recipes-devtools/python/python-uritemplate.inc b/meta-openstack/recipes-devtools/python/python-uritemplate.inc new file mode 100644 index 0000000..e0c53e7 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-uritemplate.inc @@ -0,0 +1,9 @@ +SUMMARY = "Simple python library to deal with URI Templates." +AUTHOR = "Ian Cordasco" +LICENSE = "Apache-2.0 & BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=f2e14cc8f5f696fd9d47092e992265c1" + +inherit pypi + +SRC_URI[md5sum] = "1ec31e0d8a2eec72357b2cef4bce5945" +SRC_URI[sha256sum] = "c02643cebe23fc8adb5e6becffe201185bf06c40bda5c0b4028a93f1527d011d" diff --git a/meta-openstack/recipes-devtools/python/python-uritemplate_3.0.0.bb b/meta-openstack/recipes-devtools/python/python-uritemplate_3.0.0.bb index d32c1a8..1e19ab9 100644 --- a/meta-openstack/recipes-devtools/python/python-uritemplate_3.0.0.bb +++ b/meta-openstack/recipes-devtools/python/python-uritemplate_3.0.0.bb @@ -1,9 +1,2 @@ -SUMMARY = "Simple python library to deal with URI Templates." -AUTHOR = "Ian Cordasco" -LICENSE = "Apache-2.0 & BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=f2e14cc8f5f696fd9d47092e992265c1" - -inherit setuptools pypi - -SRC_URI[md5sum] = "1ec31e0d8a2eec72357b2cef4bce5945" -SRC_URI[sha256sum] = "c02643cebe23fc8adb5e6becffe201185bf06c40bda5c0b4028a93f1527d011d" +require python-uritemplate.inc +inherit setuptools diff --git a/meta-openstack/recipes-devtools/python/python3-uritemplate_3.0.0.bb b/meta-openstack/recipes-devtools/python/python3-uritemplate_3.0.0.bb new file mode 100644 index 0000000..eac83dc --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-uritemplate_3.0.0.bb @@ -0,0 +1,2 @@ +require python-uritemplate.inc +inherit setuptools3 -- cgit v1.2.3-54-g00ecf