python-more-itertools.inc: fix python2 package not incorrectly generated
PATCH 1/3 python-more-itertools.inc: fix python2 package not incorrectly generated
From: Hongxu Jia <[email protected]>
The package of python2 is incorrected generated to python3
...
tmp-glibc/work/core2-64-wrs-linux/python-more-itertools/7.2.0-r0$ find image/
image/
image/usr
image/usr/lib64
image/usr/lib64/python3.7
image/usr/lib64/python3.7/site-packages image/usr/lib64/python3.7/site-packages/more_itertools image/usr/lib64/python3.7/site-packages/more_itertools/__init__.py image/usr/lib64/python3.7/site-packages/more_itertools/more.py image/usr/lib64/python3.7/site-packages/more_itertools/recipes.py image/usr/lib64/python3.7/site-packages/more_itertools/tests image/usr/lib64/python3.7/site-packages/more_itertools/tests/__init__.py image/usr/lib64/python3.7/site-packages/more_itertools/tests/test_more.py image/usr/lib64/python3.7/site-packages/more_itertools/tests/test_recipes.py image/usr/lib64/python3.7/site-packages/more_itertools/tests/__pycache__ image/usr/lib64/python3.7/site-packages/more_itertools/tests/__pycache__/__init__.cpython-37.pyc image/usr/lib64/python3.7/site-packages/more_itertools/tests/__pycache__/test_more.cpython-37.pyc image/usr/lib64/python3.7/site-packages/more_itertools/tests/__pycache__/test_recipes.cpython-37.pyc image/usr/lib64/python3.7/site-packages/more_itertools/__pycache__ image/usr/lib64/python3.7/site-packages/more_itertools/__pycache__/__init__.cpython-37.pyc image/usr/lib64/python3.7/site-packages/more_itertools/__pycache__/more.cpython-37.pyc image/usr/lib64/python3.7/site-packages/more_itertools/__pycache__/recipes.cpython-37.pyc image/usr/lib64/python3.7/site-packages/more_itertools-7.2.0-py3.7.egg-info image/usr/lib64/python3.7/site-packages/more_itertools-7.2.0-py3.7.egg-info/PKG-INFO image/usr/lib64/python3.7/site-packages/more_itertools-7.2.0-py3.7.egg-info/SOURCES.txt image/usr/lib64/python3.7/site-packages/more_itertools-7.2.0-py3.7.egg-info/dependency_links.txt image/usr/lib64/python3.7/site-packages/more_itertools-7.2.0-py3.7.egg-info/top_level.txt
...
--- meta-python/recipes-devtools/python/python-more-itertools.inc | 2 -- 1 file changed, 2 deletions(-)
meta-python/recipes-devtools/python/python-more-itertools.inc +0 -2
@@ -5,5 +5,3 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5" SRC_URI[md5sum] = "f647bfd27243a7bebe53b5ddb6a3b1c4" SRC_URI[sha256sum] = "409cd48d4db7052af495b09dec721011634af3753ae1ef92d2b32f73a745f832" - -inherit pypi setuptools3
Signature · 1 line
2.17.1
PATCH 2/3 python-more-itertools: downgrade 7.2.0 -> 5.0.0
From: Hongxu Jia <[email protected]>
Python 2.7 is no longer supported. The 5.0.0 release will be the last version targeting Python 2.7. [1]
[1] https://github.com/erikrose/more-itertools/commit/560b045b430e8292c18cf5283de4fdc3e13e56f7
--- .../recipes-devtools/python/python-more-itertools.inc | 3 --- .../recipes-devtools/python/python-more-itertools_5.0.0.bb | 5 +++++ .../recipes-devtools/python/python-more-itertools_7.2.0.bb | 2 -- .../recipes-devtools/python/python3-more-itertools_7.2.0.bb | 3 +++ 4 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-more-itertools_5.0.0.bb delete mode 100644 meta-python/recipes-devtools/python/python-more-itertools_7.2.0.bb
meta-python/recipes-devtools/python/python-more-itertools.inc +0 -3
@@ -2,6 +2,3 @@ DESCRIPTION = "More routines for operating on iterables, beyond itertools" HOMEPAGE = "https://github.com/erikrose/more-itertools" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5" - -SRC_URI[md5sum] = "f647bfd27243a7bebe53b5ddb6a3b1c4" -SRC_URI[sha256sum] = "409cd48d4db7052af495b09dec721011634af3753ae1ef92d2b32f73a745f832"
meta-python/recipes-devtools/python/python-more-itertools_5.0.0.bb new file +5 -0
@@ -0,0 +1,5 @@ +inherit pypi setuptools +require python-more-itertools.inc + +SRC_URI[md5sum] = "f2ea58aa336ce6c13b7b225b3bbe305d" +SRC_URI[sha256sum] = "38a936c0a6d98a38bcc2d03fdaaedaba9f412879461dd2ceff8d37564d6522e4"
meta-python/recipes-devtools/python/python-more-itertools_7.2.0.bb deleted +0 -2
@@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-more-itertools.inc
meta-python/recipes-devtools/python/python3-more-itertools_7.2.0.bb +3 -0
@@ -1,2 +1,5 @@ inherit pypi setuptools3 require python-more-itertools.inc + +SRC_URI[md5sum] = "f647bfd27243a7bebe53b5ddb6a3b1c4" +SRC_URI[sha256sum] = "409cd48d4db7052af495b09dec721011634af3753ae1ef92d2b32f73a745f832"
Signature · 1 line
2.17.1
PATCH 3/3 python-more-itertools: Add PE
In reply to Adrian BunkThe recipe was downgraded to the last version supporting Python 2.
--- .../recipes-devtools/python/python-more-itertools_5.0.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python-more-itertools_5.0.0.bb +2 -0
@@ -3,3 +3,5 @@ require python-more-itertools.inc SRC_URI[md5sum] = "f2ea58aa336ce6c13b7b225b3bbe305d" SRC_URI[sha256sum] = "38a936c0a6d98a38bcc2d03fdaaedaba9f412879461dd2ceff8d37564d6522e4" + +PE = "1"
Signature · 1 line
2.17.1
Re: [meta-oe][zeus][PATCH 2/3] python-more-itertools: downgrade 7.2.0 -> 5.0.0
In reply to Adrian BunkQuoted 4 lines · Adrian Bunk
From: Hongxu Jia <[email protected]>
Python 2.7 is no longer supported. The 5.0.0 release will be the last version targeting Python 2.7. [1]
why is this a zeus issue? Zeus core is still supporting 2.7. Please clarify.
- armin
Quoted 54 lines
[1] https://github.com/erikrose/more-itertools/commit/560b045b430e8292c18cf5283de4fdc3e13e56f7
Signed-off-by Hongxu Jia <[email protected]>Signed-off-by Khem Raj <[email protected]>Signed-off-by Adrian Bunk <[email protected]>--- .../recipes-devtools/python/python-more-itertools.inc | 3 --- .../recipes-devtools/python/python-more-itertools_5.0.0.bb | 5 +++++ .../recipes-devtools/python/python-more-itertools_7.2.0.bb | 2 -- .../recipes-devtools/python/python3-more-itertools_7.2.0.bb | 3 +++ 4 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-more-itertools_5.0.0.bb delete mode 100644 meta-python/recipes-devtools/python/python-more-itertools_7.2.0.bbmeta-python/recipes-devtools/python/python-more-itertools.inc +0
-3@@ -2,6 +2,3 @@ DESCRIPTION = "More routines for operating on iterables, beyond itertools" HOMEPAGE = "https://github.com/erikrose/more-itertools" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5" - -SRC_URI[md5sum] = "f647bfd27243a7bebe53b5ddb6a3b1c4" -SRC_URI[sha256sum] = "409cd48d4db7052af495b09dec721011634af3753ae1ef92d2b32f73a745f832"meta-python/recipes-devtools/python/python-more-itertools_5.0.0.bb new file +5
-0@@ -0,0 +1,5 @@ +inherit pypi setuptools +require python-more-itertools.inc + +SRC_URI[md5sum] = "f2ea58aa336ce6c13b7b225b3bbe305d" +SRC_URI[sha256sum] = "38a936c0a6d98a38bcc2d03fdaaedaba9f412879461dd2ceff8d37564d6522e4"meta-python/recipes-devtools/python/python-more-itertools_7.2.0.bb deleted +0
-2@@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-more-itertools.incmeta-python/recipes-devtools/python/python3-more-itertools_7.2.0.bb +3
-0@@ -1,2 +1,5 @@ inherit pypi setuptools3 require python-more-itertools.inc + +SRC_URI[md5sum] = "f647bfd27243a7bebe53b5ddb6a3b1c4" +SRC_URI[sha256sum] = "409cd48d4db7052af495b09dec721011634af3753ae1ef92d2b32f73a745f832"
Re: [meta-oe][zeus][PATCH 2/3] python-more-itertools: downgrade 7.2.0 -> 5.0.0
Quoted 8 lines · On Sun, Nov 24, 2019 at 11:46:10AM -0800, akuster808 wrote:
Quoted 4 lines · Adrian Bunk
From: Hongxu Jia <[email protected]>
Python 2.7 is no longer supported. The 5.0.0 release will be the last version targeting Python 2.7. [1]
why is this a zeus issue? Zeus core is still supporting 2.7. Please clarify.
python-more-itertools > 5.0.0 does not support Python 2.7.
Quoted 2 lines
- armin
...
cu
Adrian