* [meta-python][PATCH 0/4] fixed needed for python3-croniter rdep issue
@ 2020-07-10 4:01 akuster
2020-07-10 4:01 ` [meta-python][PATCH 1/4] python3-fastnumbers: Add new package akuster
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: akuster @ 2020-07-10 4:01 UTC (permalink / raw)
To: openembedded-devel
This fixes an rdeps on natsort required in the last update of python3-croniter.
Armin Kuster (4):
python3-fastnumbers: Add new package
python3-icu: add new package
python3-natsort: add new package
python3-croniter: Fix missing rdep
.../python/python3-croniter_0.3.34.bb | 2 +-
.../python/python3-fastnumbers_3.0.0.bb | 9 ++++++
.../python/python3-icu/fix_host_include.patch | 30 +++++++++++++++++++
.../python/python3-icu_2.5.bb | 13 ++++++++
.../python/python3-natsort_7.0.1.bb | 11 +++++++
5 files changed, 64 insertions(+), 1 deletion(-)
create mode 100644 meta-python/recipes-devtools/python/python3-fastnumbers_3.0.0.bb
create mode 100644 meta-python/recipes-devtools/python/python3-icu/fix_host_include.patch
create mode 100644 meta-python/recipes-devtools/python/python3-icu_2.5.bb
create mode 100644 meta-python/recipes-devtools/python/python3-natsort_7.0.1.bb
--
2.17.1
^ permalink raw reply [flat|nested] 9+ messages in thread* [meta-python][PATCH 1/4] python3-fastnumbers: Add new package 2020-07-10 4:01 [meta-python][PATCH 0/4] fixed needed for python3-croniter rdep issue akuster @ 2020-07-10 4:01 ` akuster 2020-07-11 17:18 ` [oe] " Trevor Gamblin 2020-07-10 4:01 ` [meta-python][PATCH 2/4] python3-icu: add " akuster ` (2 subsequent siblings) 3 siblings, 1 reply; 9+ messages in thread From: akuster @ 2020-07-10 4:01 UTC (permalink / raw) To: openembedded-devel rdep for natsort which is an rdep of croniter Signed-off-by: Armin Kuster <akuster808@gmail.com> --- .../recipes-devtools/python/python3-fastnumbers_3.0.0.bb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-fastnumbers_3.0.0.bb diff --git a/meta-python/recipes-devtools/python/python3-fastnumbers_3.0.0.bb b/meta-python/recipes-devtools/python/python3-fastnumbers_3.0.0.bb new file mode 100644 index 0000000000..b0ecb9d560 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-fastnumbers_3.0.0.bb @@ -0,0 +1,9 @@ +SUMMARY = "Super-fast and clean conversions to numbers." +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=f797665cf3d3e0fdc0d488f5200c6f55" + +PYPI_PACKAGE = "fastnumbers" +SRC_URI[sha256sum] = "93ce2f9516fbf2bbf46c85e4abef783cc569e5fbbc665352efb9cdddbae517ec" + +inherit pypi setuptools3 -- 2.17.1 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [oe] [meta-python][PATCH 1/4] python3-fastnumbers: Add new package 2020-07-10 4:01 ` [meta-python][PATCH 1/4] python3-fastnumbers: Add new package akuster @ 2020-07-11 17:18 ` Trevor Gamblin 0 siblings, 0 replies; 9+ messages in thread From: Trevor Gamblin @ 2020-07-11 17:18 UTC (permalink / raw) To: akuster, openembedded-devel [-- Attachment #1: Type: text/plain, Size: 1086 bytes --] On 7/10/20 12:01 AM, akuster wrote: > rdep for natsort which is an rdep of croniter > > Signed-off-by: Armin Kuster <akuster808@gmail.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> > --- > .../recipes-devtools/python/python3-fastnumbers_3.0.0.bb | 9 +++++++++ > 1 file changed, 9 insertions(+) > create mode 100644 meta-python/recipes-devtools/python/python3-fastnumbers_3.0.0.bb > > diff --git a/meta-python/recipes-devtools/python/python3-fastnumbers_3.0.0.bb b/meta-python/recipes-devtools/python/python3-fastnumbers_3.0.0.bb > new file mode 100644 > index 0000000000..b0ecb9d560 > --- /dev/null > +++ b/meta-python/recipes-devtools/python/python3-fastnumbers_3.0.0.bb > @@ -0,0 +1,9 @@ > +SUMMARY = "Super-fast and clean conversions to numbers." > +SECTION = "devel/python" > +LICENSE = "MIT" > +LIC_FILES_CHKSUM = "file://LICENSE;md5=f797665cf3d3e0fdc0d488f5200c6f55" > + > +PYPI_PACKAGE = "fastnumbers" > +SRC_URI[sha256sum] = "93ce2f9516fbf2bbf46c85e4abef783cc569e5fbbc665352efb9cdddbae517ec" > + > +inherit pypi setuptools3 > > [-- Attachment #2: Type: text/html, Size: 2073 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* [meta-python][PATCH 2/4] python3-icu: add new package 2020-07-10 4:01 [meta-python][PATCH 0/4] fixed needed for python3-croniter rdep issue akuster 2020-07-10 4:01 ` [meta-python][PATCH 1/4] python3-fastnumbers: Add new package akuster @ 2020-07-10 4:01 ` akuster 2020-07-11 17:18 ` [oe] " Trevor Gamblin 2020-07-10 4:01 ` [meta-python][PATCH 3/4] python3-natsort: " akuster 2020-07-10 4:01 ` [meta-python][PATCH 4/4] python3-croniter: Fix missing rdep akuster 3 siblings, 1 reply; 9+ messages in thread From: akuster @ 2020-07-10 4:01 UTC (permalink / raw) To: openembedded-devel needed by python3-natsort Signed-off-by: Armin Kuster <akuster808@gmail.com> --- .../python/python3-icu/fix_host_include.patch | 30 +++++++++++++++++++ .../python/python3-icu_2.5.bb | 13 ++++++++ 2 files changed, 43 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-icu/fix_host_include.patch create mode 100644 meta-python/recipes-devtools/python/python3-icu_2.5.bb diff --git a/meta-python/recipes-devtools/python/python3-icu/fix_host_include.patch b/meta-python/recipes-devtools/python/python3-icu/fix_host_include.patch new file mode 100644 index 0000000000..1b6e890436 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-icu/fix_host_include.patch @@ -0,0 +1,30 @@ +Fixed host contamination of include files + +python3-icu-2.5-r0 do_package_qa: QA Issue: python3-icu: The compile log indicates that host include and/or library paths were used. + +Also, don't use icu-config + +Upstream-Status: [inappropriate] OE specific +Signed-off-by: Armin Kuster <akuster808@gmail.com> + +Index: PyICU-2.5/setup.py +=================================================================== +--- PyICU-2.5.orig/setup.py ++++ PyICU-2.5/setup.py +@@ -81,7 +81,7 @@ Building PyICU %s for ICU %s (max ICU ma + + CONFIGURE_WITH_ICU_CONFIG = { + 'darwin': True, +- 'linux': True, ++ 'linux': False, + 'freebsd': False, # not tested + 'win32': False, # no icu-config + 'sunos5': False, # not tested +@@ -274,7 +274,6 @@ setup(name="PyICU", + ext_modules=[Extension('_icu', + [filename for filename in sorted(os.listdir(os.curdir)) + if filename.endswith('.cpp')], +- include_dirs=_includes, + extra_compile_args=_cflags, + extra_link_args=_lflags, + libraries=_libraries)], diff --git a/meta-python/recipes-devtools/python/python3-icu_2.5.bb b/meta-python/recipes-devtools/python/python3-icu_2.5.bb new file mode 100644 index 0000000000..5e8c8a3a02 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-icu_2.5.bb @@ -0,0 +1,13 @@ +SUMMARY = "Python extension wrapping the ICU C++ API" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c7c4bfd81a21e3b6368bdcced992bf59" + +DEPENDS += "pkgconfig icu" + +PYPI_PACKAGE = "PyICU" +SRC_URI[sha256sum] = "a120b68c53f769f37bfb70b7e84ca12c3f4ab1e4df43e87a02dff05ae472cdbc" + +SRC_URI += "file://fix_host_include.patch" + +inherit pypi setuptools3 -- 2.17.1 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [oe] [meta-python][PATCH 2/4] python3-icu: add new package 2020-07-10 4:01 ` [meta-python][PATCH 2/4] python3-icu: add " akuster @ 2020-07-11 17:18 ` Trevor Gamblin 0 siblings, 0 replies; 9+ messages in thread From: Trevor Gamblin @ 2020-07-11 17:18 UTC (permalink / raw) To: akuster, openembedded-devel [-- Attachment #1: Type: text/plain, Size: 2879 bytes --] On 7/10/20 12:01 AM, akuster wrote: > needed by python3-natsort > > Signed-off-by: Armin Kuster <akuster808@gmail.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> > --- > .../python/python3-icu/fix_host_include.patch | 30 +++++++++++++++++++ > .../python/python3-icu_2.5.bb | 13 ++++++++ > 2 files changed, 43 insertions(+) > create mode 100644 meta-python/recipes-devtools/python/python3-icu/fix_host_include.patch > create mode 100644 meta-python/recipes-devtools/python/python3-icu_2.5.bb > > diff --git a/meta-python/recipes-devtools/python/python3-icu/fix_host_include.patch b/meta-python/recipes-devtools/python/python3-icu/fix_host_include.patch > new file mode 100644 > index 0000000000..1b6e890436 > --- /dev/null > +++ b/meta-python/recipes-devtools/python/python3-icu/fix_host_include.patch > @@ -0,0 +1,30 @@ > +Fixed host contamination of include files > + > +python3-icu-2.5-r0 do_package_qa: QA Issue: python3-icu: The compile log indicates that host include and/or library paths were used. > + > +Also, don't use icu-config > + > +Upstream-Status: [inappropriate] OE specific > +Signed-off-by: Armin Kuster <akuster808@gmail.com> > + > +Index: PyICU-2.5/setup.py > +=================================================================== > +--- PyICU-2.5.orig/setup.py > ++++ PyICU-2.5/setup.py > +@@ -81,7 +81,7 @@ Building PyICU %s for ICU %s (max ICU ma > + > + CONFIGURE_WITH_ICU_CONFIG = { > + 'darwin': True, > +- 'linux': True, > ++ 'linux': False, > + 'freebsd': False, # not tested > + 'win32': False, # no icu-config > + 'sunos5': False, # not tested > +@@ -274,7 +274,6 @@ setup(name="PyICU", > + ext_modules=[Extension('_icu', > + [filename for filename in sorted(os.listdir(os.curdir)) > + if filename.endswith('.cpp')], > +- include_dirs=_includes, > + extra_compile_args=_cflags, > + extra_link_args=_lflags, > + libraries=_libraries)], > diff --git a/meta-python/recipes-devtools/python/python3-icu_2.5.bb b/meta-python/recipes-devtools/python/python3-icu_2.5.bb > new file mode 100644 > index 0000000000..5e8c8a3a02 > --- /dev/null > +++ b/meta-python/recipes-devtools/python/python3-icu_2.5.bb > @@ -0,0 +1,13 @@ > +SUMMARY = "Python extension wrapping the ICU C++ API" > +SECTION = "devel/python" > +LICENSE = "MIT" > +LIC_FILES_CHKSUM = "file://LICENSE;md5=c7c4bfd81a21e3b6368bdcced992bf59" > + > +DEPENDS += "pkgconfig icu" > + > +PYPI_PACKAGE = "PyICU" > +SRC_URI[sha256sum] = "a120b68c53f769f37bfb70b7e84ca12c3f4ab1e4df43e87a02dff05ae472cdbc" > + > +SRC_URI += "file://fix_host_include.patch" > + > +inherit pypi setuptools3 > > [-- Attachment #2: Type: text/html, Size: 4223 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* [meta-python][PATCH 3/4] python3-natsort: add new package 2020-07-10 4:01 [meta-python][PATCH 0/4] fixed needed for python3-croniter rdep issue akuster 2020-07-10 4:01 ` [meta-python][PATCH 1/4] python3-fastnumbers: Add new package akuster 2020-07-10 4:01 ` [meta-python][PATCH 2/4] python3-icu: add " akuster @ 2020-07-10 4:01 ` akuster 2020-07-11 17:18 ` [oe] " Trevor Gamblin 2020-07-10 4:01 ` [meta-python][PATCH 4/4] python3-croniter: Fix missing rdep akuster 3 siblings, 1 reply; 9+ messages in thread From: akuster @ 2020-07-10 4:01 UTC (permalink / raw) To: openembedded-devel Signed-off-by: Armin Kuster <akuster808@gmail.com> --- .../recipes-devtools/python/python3-natsort_7.0.1.bb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-natsort_7.0.1.bb diff --git a/meta-python/recipes-devtools/python/python3-natsort_7.0.1.bb b/meta-python/recipes-devtools/python/python3-natsort_7.0.1.bb new file mode 100644 index 0000000000..e20cdf0fa3 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-natsort_7.0.1.bb @@ -0,0 +1,11 @@ +SUMMARY = "Simple yet flexible natural sorting in Python." +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=6a96e5ad780a0eea866ecccec4463517" + +PYPI_PACKAGE = "natsort" +SRC_URI[sha256sum] = "a633464dc3a22b305df0f27abcb3e83515898aa1fd0ed2f9726c3571a27258cf" + +inherit pypi setuptools3 + +RDEPENDS_${PN} = "python3-fastnumbers python3-icu" -- 2.17.1 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [oe] [meta-python][PATCH 3/4] python3-natsort: add new package 2020-07-10 4:01 ` [meta-python][PATCH 3/4] python3-natsort: " akuster @ 2020-07-11 17:18 ` Trevor Gamblin 0 siblings, 0 replies; 9+ messages in thread From: Trevor Gamblin @ 2020-07-11 17:18 UTC (permalink / raw) To: akuster, openembedded-devel [-- Attachment #1: Type: text/plain, Size: 1078 bytes --] On 7/10/20 12:01 AM, akuster wrote: > Signed-off-by: Armin Kuster <akuster808@gmail.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> > --- > .../recipes-devtools/python/python3-natsort_7.0.1.bb | 11 +++++++++++ > 1 file changed, 11 insertions(+) > create mode 100644 meta-python/recipes-devtools/python/python3-natsort_7.0.1.bb > > diff --git a/meta-python/recipes-devtools/python/python3-natsort_7.0.1.bb b/meta-python/recipes-devtools/python/python3-natsort_7.0.1.bb > new file mode 100644 > index 0000000000..e20cdf0fa3 > --- /dev/null > +++ b/meta-python/recipes-devtools/python/python3-natsort_7.0.1.bb > @@ -0,0 +1,11 @@ > +SUMMARY = "Simple yet flexible natural sorting in Python." > +SECTION = "devel/python" > +LICENSE = "MIT" > +LIC_FILES_CHKSUM = "file://LICENSE;md5=6a96e5ad780a0eea866ecccec4463517" > + > +PYPI_PACKAGE = "natsort" > +SRC_URI[sha256sum] = "a633464dc3a22b305df0f27abcb3e83515898aa1fd0ed2f9726c3571a27258cf" > + > +inherit pypi setuptools3 > + > +RDEPENDS_${PN} = "python3-fastnumbers python3-icu" > > [-- Attachment #2: Type: text/html, Size: 2086 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* [meta-python][PATCH 4/4] python3-croniter: Fix missing rdep 2020-07-10 4:01 [meta-python][PATCH 0/4] fixed needed for python3-croniter rdep issue akuster ` (2 preceding siblings ...) 2020-07-10 4:01 ` [meta-python][PATCH 3/4] python3-natsort: " akuster @ 2020-07-10 4:01 ` akuster 2020-07-11 17:19 ` [oe] " Trevor Gamblin 3 siblings, 1 reply; 9+ messages in thread From: akuster @ 2020-07-10 4:01 UTC (permalink / raw) To: openembedded-devel The last update introduced the need for natsort. Fixes this error: File "/usr/lib/python3.8/site-packages/croniter/croniter.py", line 13, in <module> import natsort ModuleNotFoundError: No module named 'natsort' Signed-off-by: Armin Kuster <akuster808@gmail.com> --- meta-python/recipes-devtools/python/python3-croniter_0.3.34.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-croniter_0.3.34.bb b/meta-python/recipes-devtools/python/python3-croniter_0.3.34.bb index 0c28948f63..123d176137 100644 --- a/meta-python/recipes-devtools/python/python3-croniter_0.3.34.bb +++ b/meta-python/recipes-devtools/python/python3-croniter_0.3.34.bb @@ -9,4 +9,4 @@ SRC_URI[sha256sum] = "7186b9b464f45cf3d3c83a18bc2344cc101d7b9fd35a05f2878437b149 inherit pypi setuptools3 -RDEPENDS_${PN} += " python3-dateutil" +RDEPENDS_${PN} += " python3-dateutil python3-natsort" -- 2.17.1 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [oe] [meta-python][PATCH 4/4] python3-croniter: Fix missing rdep 2020-07-10 4:01 ` [meta-python][PATCH 4/4] python3-croniter: Fix missing rdep akuster @ 2020-07-11 17:19 ` Trevor Gamblin 0 siblings, 0 replies; 9+ messages in thread From: Trevor Gamblin @ 2020-07-11 17:19 UTC (permalink / raw) To: akuster, openembedded-devel [-- Attachment #1: Type: text/plain, Size: 1097 bytes --] On 7/10/20 12:01 AM, akuster wrote: > The last update introduced the need for natsort. Fixes this error: > File "/usr/lib/python3.8/site-packages/croniter/croniter.py", line 13, in <module> > import natsort > ModuleNotFoundError: No module named 'natsort' > > Signed-off-by: Armin Kuster <akuster808@gmail.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> > --- > meta-python/recipes-devtools/python/python3-croniter_0.3.34.bb | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta-python/recipes-devtools/python/python3-croniter_0.3.34.bb b/meta-python/recipes-devtools/python/python3-croniter_0.3.34.bb > index 0c28948f63..123d176137 100644 > --- a/meta-python/recipes-devtools/python/python3-croniter_0.3.34.bb > +++ b/meta-python/recipes-devtools/python/python3-croniter_0.3.34.bb > @@ -9,4 +9,4 @@ SRC_URI[sha256sum] = "7186b9b464f45cf3d3c83a18bc2344cc101d7b9fd35a05f2878437b149 > > inherit pypi setuptools3 > > -RDEPENDS_${PN} += " python3-dateutil" > +RDEPENDS_${PN} += " python3-dateutil python3-natsort" > > [-- Attachment #2: Type: text/html, Size: 1911 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2020-07-11 17:19 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-07-10 4:01 [meta-python][PATCH 0/4] fixed needed for python3-croniter rdep issue akuster 2020-07-10 4:01 ` [meta-python][PATCH 1/4] python3-fastnumbers: Add new package akuster 2020-07-11 17:18 ` [oe] " Trevor Gamblin 2020-07-10 4:01 ` [meta-python][PATCH 2/4] python3-icu: add " akuster 2020-07-11 17:18 ` [oe] " Trevor Gamblin 2020-07-10 4:01 ` [meta-python][PATCH 3/4] python3-natsort: " akuster 2020-07-11 17:18 ` [oe] " Trevor Gamblin 2020-07-10 4:01 ` [meta-python][PATCH 4/4] python3-croniter: Fix missing rdep akuster 2020-07-11 17:19 ` [oe] " Trevor Gamblin
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.