From f53d17a1a91409cf8aa7e986e70e945e44453ded Mon Sep 17 00:00:00 2001 From: Moritz Fischer Date: Thu, 1 Jun 2017 09:42:48 -0700 Subject: python-greenlet: Add support for python3 Extend recipe to support python3 as well Signed-off-by: Moritz Fischer Signed-off-by: Martin Jansa --- meta-python/recipes-devtools/python/python-greenlet.inc | 9 +++++++++ .../recipes-devtools/python/python-greenlet_0.4.12.bb | 12 ++---------- .../recipes-devtools/python/python3-greenlet_0.4.12.bb | 2 ++ 3 files changed, 13 insertions(+), 10 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-greenlet.inc create mode 100644 meta-python/recipes-devtools/python/python3-greenlet_0.4.12.bb (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python-greenlet.inc b/meta-python/recipes-devtools/python/python-greenlet.inc new file mode 100644 index 0000000000..35820db2f2 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-greenlet.inc @@ -0,0 +1,9 @@ +SUMMARY = "Python lightweight in-process concurrent programming" +LICENSE = "MIT & PSF" +LIC_FILES_CHKSUM = "file://LICENSE;md5=03143d7a1a9f5d8a0fee825f24ca9c36 \ + file://LICENSE.PSF;md5=c106931d9429eda0492617f037b8f69a" + +SRC_URI[md5sum] = "e8637647d58a26c4a1f51ca393e53c00" +SRC_URI[sha256sum] = "e4c99c6010a5d153d481fdaf63b8a0782825c0721506d880403a3b9b82ae347e" + +inherit pypi diff --git a/meta-python/recipes-devtools/python/python-greenlet_0.4.12.bb b/meta-python/recipes-devtools/python/python-greenlet_0.4.12.bb index 4fc2c1d272..c14976ed32 100644 --- a/meta-python/recipes-devtools/python/python-greenlet_0.4.12.bb +++ b/meta-python/recipes-devtools/python/python-greenlet_0.4.12.bb @@ -1,10 +1,2 @@ -SUMMARY = "Python lightweight in-process concurrent programming" -LICENSE = "MIT & PSF" -LIC_FILES_CHKSUM = "file://LICENSE;md5=03143d7a1a9f5d8a0fee825f24ca9c36 \ - file://LICENSE.PSF;md5=c106931d9429eda0492617f037b8f69a" - -SRC_URI[md5sum] = "e8637647d58a26c4a1f51ca393e53c00" -SRC_URI[sha256sum] = "e4c99c6010a5d153d481fdaf63b8a0782825c0721506d880403a3b9b82ae347e" - -inherit pypi distutils - +inherit distutils +require python-greenlet.inc diff --git a/meta-python/recipes-devtools/python/python3-greenlet_0.4.12.bb b/meta-python/recipes-devtools/python/python3-greenlet_0.4.12.bb new file mode 100644 index 0000000000..1aedf7fa8d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-greenlet_0.4.12.bb @@ -0,0 +1,2 @@ +inherit distutils3 +require python-greenlet.inc -- cgit 1.2.3-korg