From c277a849ae93ee28d3b5db3efbc5c006e2690c33 Mon Sep 17 00:00:00 2001 From: zangrc Date: Fri, 29 Nov 2019 10:49:06 +0800 Subject: python-deprecation: Add python3 version Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- .../recipes-devtools/python/python-deprecation.inc | 10 ++++++++++ .../recipes-devtools/python/python-deprecation_1.0.1.bb | 12 ++---------- .../recipes-devtools/python/python3-deprecation_1.0.1.bb | 2 ++ 3 files changed, 14 insertions(+), 10 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-deprecation.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-deprecation_1.0.1.bb (limited to 'meta-openstack/recipes-devtools/python') diff --git a/meta-openstack/recipes-devtools/python/python-deprecation.inc b/meta-openstack/recipes-devtools/python/python-deprecation.inc new file mode 100644 index 0000000..eec4dd1 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-deprecation.inc @@ -0,0 +1,10 @@ +DESCRIPTION = "A library to handle automated deprecations" +HOMEPAGE = "http://deprecation.readthedocs.io/en/latest/" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" + +SRC_URI[md5sum] = "d8a318c66d442dc4b900e070267ed9aa" +SRC_URI[sha256sum] = "b9bff5cc91f601ef2a8a0200bc6cde3f18a48c2ed3d1ecbfc16076b14b3ad935" + +inherit pypi diff --git a/meta-openstack/recipes-devtools/python/python-deprecation_1.0.1.bb b/meta-openstack/recipes-devtools/python/python-deprecation_1.0.1.bb index 53e3665..9f155a2 100644 --- a/meta-openstack/recipes-devtools/python/python-deprecation_1.0.1.bb +++ b/meta-openstack/recipes-devtools/python/python-deprecation_1.0.1.bb @@ -1,10 +1,2 @@ -DESCRIPTION = "A library to handle automated deprecations" -HOMEPAGE = "http://deprecation.readthedocs.io/en/latest/" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" - -SRC_URI[md5sum] = "d8a318c66d442dc4b900e070267ed9aa" -SRC_URI[sha256sum] = "b9bff5cc91f601ef2a8a0200bc6cde3f18a48c2ed3d1ecbfc16076b14b3ad935" - -inherit setuptools pypi +require python-deprecation.inc +inherit setuptools diff --git a/meta-openstack/recipes-devtools/python/python3-deprecation_1.0.1.bb b/meta-openstack/recipes-devtools/python/python3-deprecation_1.0.1.bb new file mode 100644 index 0000000..d2e0f1c --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-deprecation_1.0.1.bb @@ -0,0 +1,2 @@ +require python-deprecation.inc +inherit setuptools3 -- cgit v1.2.3-54-g00ecf