From d773ef9af813463e86e429f904892b2811932cc8 Mon Sep 17 00:00:00 2001 From: zangrc Date: Tue, 14 Jan 2020 10:43:03 +0800 Subject: python-weakrefmethod: Add python3 version Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- .../recipes-devtools/python/python-weakrefmethod.inc | 10 ++++++++++ .../recipes-devtools/python/python-weakrefmethod_1.0.3.bb | 12 ++---------- .../recipes-devtools/python/python3-weakrefmethod_1.0.3.bb | 2 ++ 3 files changed, 14 insertions(+), 10 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-weakrefmethod.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-weakrefmethod_1.0.3.bb diff --git a/meta-openstack/recipes-devtools/python/python-weakrefmethod.inc b/meta-openstack/recipes-devtools/python/python-weakrefmethod.inc new file mode 100644 index 0000000..28aee86 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-weakrefmethod.inc @@ -0,0 +1,10 @@ +DESCRIPTION = "A WeakMethod class for storing bound methods using weak references." +HOMEPAGE = "https://github.com/twang817/weakrefmethod" +SECTION = "devel/python" +LICENSE = "PSF" +LIC_FILES_CHKSUM = "file://LICENSE;md5=dd98d01d471fac8d8dbdd975229dba03" + +SRC_URI[md5sum] = "39e7450191dea0b17a646b929784ac6f" +SRC_URI[sha256sum] = "37bc1fbb5575acf82172d4eb7b6fc4412d77d5a1d70dff2c1f8a4574301cda66" + +inherit pypi diff --git a/meta-openstack/recipes-devtools/python/python-weakrefmethod_1.0.3.bb b/meta-openstack/recipes-devtools/python/python-weakrefmethod_1.0.3.bb index f14d3e1..be5d594 100644 --- a/meta-openstack/recipes-devtools/python/python-weakrefmethod_1.0.3.bb +++ b/meta-openstack/recipes-devtools/python/python-weakrefmethod_1.0.3.bb @@ -1,10 +1,2 @@ -DESCRIPTION = "A WeakMethod class for storing bound methods using weak references." -HOMEPAGE = "https://github.com/twang817/weakrefmethod" -SECTION = "devel/python" -LICENSE = "PSF" -LIC_FILES_CHKSUM = "file://LICENSE;md5=dd98d01d471fac8d8dbdd975229dba03" - -SRC_URI[md5sum] = "39e7450191dea0b17a646b929784ac6f" -SRC_URI[sha256sum] = "37bc1fbb5575acf82172d4eb7b6fc4412d77d5a1d70dff2c1f8a4574301cda66" - -inherit setuptools pypi +require python-weakrefmethod.inc +inherit setuptools diff --git a/meta-openstack/recipes-devtools/python/python3-weakrefmethod_1.0.3.bb b/meta-openstack/recipes-devtools/python/python3-weakrefmethod_1.0.3.bb new file mode 100644 index 0000000..23dbb54 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-weakrefmethod_1.0.3.bb @@ -0,0 +1,2 @@ +require python-weakrefmethod.inc +inherit setuptools3 -- cgit v1.2.3-54-g00ecf