From 05f7d891c80c7d3d69260b9ca3b487b675dff7bf Mon Sep 17 00:00:00 2001 From: zangrc Date: Wed, 4 Dec 2019 16:21:11 +0800 Subject: python-retrying: Add python3 version Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- .../recipes-devtools/python/python-retrying.inc | 20 ++++++++++++++++++++ .../python/python-retrying_1.3.3.bb | 22 ++-------------------- .../python/python3-retrying_1.3.3.bb | 2 ++ 3 files changed, 24 insertions(+), 20 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-retrying.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-retrying_1.3.3.bb (limited to 'meta-openstack/recipes-devtools/python') diff --git a/meta-openstack/recipes-devtools/python/python-retrying.inc b/meta-openstack/recipes-devtools/python/python-retrying.inc new file mode 100644 index 0000000..b33dc90 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-retrying.inc @@ -0,0 +1,20 @@ +DESCRIPTION = "Retrying" +HOMEPAGE = "https://github.com/rholder/retrying" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=175792518e4ac015ab6696d16c4f607e" + +SRC_URI[md5sum] = "2a126aeef8b21324ecdeac15ff46ef17" +SRC_URI[sha256sum] = "08c039560a6da2fe4f2c426d0766e284d3b736e355f8dd24b37367b0bb41973b" + +inherit pypi + +# DEPENDS_default: python-pip + +DEPENDS += " \ + ${PYTHON_PN}-pip \ + " + +# RDEPENDS_default: +RDEPENDS_${PN} += " \ + " diff --git a/meta-openstack/recipes-devtools/python/python-retrying_1.3.3.bb b/meta-openstack/recipes-devtools/python/python-retrying_1.3.3.bb index 55c94d9..19bf62c 100644 --- a/meta-openstack/recipes-devtools/python/python-retrying_1.3.3.bb +++ b/meta-openstack/recipes-devtools/python/python-retrying_1.3.3.bb @@ -1,20 +1,2 @@ -DESCRIPTION = "Retrying" -HOMEPAGE = "https://github.com/rholder/retrying" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=175792518e4ac015ab6696d16c4f607e" - -SRC_URI[md5sum] = "2a126aeef8b21324ecdeac15ff46ef17" -SRC_URI[sha256sum] = "08c039560a6da2fe4f2c426d0766e284d3b736e355f8dd24b37367b0bb41973b" - -inherit setuptools pypi - -# DEPENDS_default: python-pip - -DEPENDS += " \ - python-pip \ - " - -# RDEPENDS_default: -RDEPENDS_${PN} += " \ - " +require python-retrying.inc +inherit setuptools diff --git a/meta-openstack/recipes-devtools/python/python3-retrying_1.3.3.bb b/meta-openstack/recipes-devtools/python/python3-retrying_1.3.3.bb new file mode 100644 index 0000000..9f001fe --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-retrying_1.3.3.bb @@ -0,0 +1,2 @@ +require python-retrying.inc +inherit setuptools3 -- cgit v1.2.3-54-g00ecf