Re: [OE-core] [PATCH] packagegroup-python3: add packagegroup
On 18 August 2017 at 18:09, Jose Lamegowrote: > Please disregard this patch. The python3 recipe provides python-modules, > which includes all of the listed packages, making a new packagegroup > unnecessary. Its even better than that now: RPROVIDES_${PN}-modules = "${PN}" Adding just "python3" to an image will pull in python3-modules, which pulls in the lot. Ross -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] packagegroup-python3: add packagegroup
Please disregard this patch. The python3 recipe provides python-modules, which includes all of the listed packages, making a new packagegroup unnecessary. On 08/15/2017 04:05 PM, Jose Lamego wrote: > Many of the most usual python3 modules are missing when > trying to import them to python3 in images built with > python3-core installed. > > This change creates the python3 packagegroup, containing > the most usual python3 packages to be installed for images > featuring complete python functionality by using the > FEATURES_PACKAGES variable to define python3 as a new feature > and then adding it to the image to build. > > [YOCTO #10667] > > Signed-off-by: Jose Lamego> --- > .../packagegroups/packagegroup-python3.bb | 85 > ++ > 1 file changed, 85 insertions(+) > create mode 100644 > meta/recipes-devtools/packagegroups/packagegroup-python3.bb > > diff --git a/meta/recipes-devtools/packagegroups/packagegroup-python3.bb > b/meta/recipes-devtools/packagegroups/packagegroup-python3.bb > new file mode 100644 > index 000..ab83460 > --- /dev/null > +++ b/meta/recipes-devtools/packagegroups/packagegroup-python3.bb > @@ -0,0 +1,85 @@ > +SUMMARY = "Provides a basic set of python3 packages" > + > +DEPENDS = "python3-native" > + > +PR = "1" > + > +inherit packagegroup > + > +RPROVIDES_${PN} = "python3" > + > +RDEPENDS_${PN} = "\ > +libpython3 \ > +libpython3-staticdev \ > +python3-pyvenv \ > +python3-dbg \ > +python3-2to3 \ > +python3-argparse \ > +python3-asyncio \ > +python3-audio \ > +python3-codecs \ > +python3-compile \ > +python3-compression \ > +python3-core \ > +python3-crypt \ > +python3-ctypes \ > +python3-curses \ > +python3-datetime \ > +python3-db \ > +python3-debugger \ > +python3-dev \ > +python3-difflib \ > +python3-distutils \ > +python3-doctest \ > +python3-email \ > +python3-enum \ > +python3-fcntl \ > +python3-gdbm \ > +python3-html \ > +python3-idle \ > +python3-image \ > +python3-importlib \ > +python3-io \ > +python3-json \ > +python3-lang \ > +python3-logging \ > +python3-mailbox \ > +python3-math \ > +python3-mime \ > +python3-mmap \ > +python3-multiprocessing \ > +python3-netclient \ > +python3-netserver \ > +python3-numbers \ > +python3-pickle \ > +python3-pkgutil \ > +python3-pprint \ > +python3-profile \ > +python3-pydoc \ > +python3-re \ > +python3-readline \ > +python3-reprlib \ > +python3-resource \ > +python3-selectors \ > +python3-shell \ > +python3-signal \ > +python3-smtpd \ > +python3-sqlite3 \ > +python3-sqlite3-tests \ > +python3-stringold \ > +python3-subprocess \ > +python3-syslog \ > +python3-terminal \ > +python3-tests \ > +python3-textutils \ > +python3-threading \ > +python3-tkinter \ > +python3-typing \ > +python3-unittest \ > +python3-unixadmin \ > +python3-xml \ > +python3-xmlrpc \ > +python3-modules \ > +python3-misc \ > +python3-man \ > +" -- Jose Lamego | OTC Embedded Platform & Tools | GDC -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] packagegroup-python3: add packagegroup
Hey guys, On 08/15/2017 05:06 PM, Jose Lamego wrote: On 08/15/2017 04:56 PM, Christopher Larson wrote: On Tue, Aug 15, 2017 at 2:05 PM, Jose Lamegowrote: Many of the most usual python3 modules are missing when trying to import them to python3 in images built with python3-core installed. This change creates the python3 packagegroup, containing the most usual python3 packages to be installed for images featuring complete python functionality by using the FEATURES_PACKAGES variable to define python3 as a new feature and then adding it to the image to build. [YOCTO #10667] Signed-off-by: Jose Lamego Out of curiosity, why not just install ‘python3-modules’? I completely agree with this, installing python3-modules would provide the behavior that is requested. I had the same thought when reviewing the request for this change (at [1]); adding python3 to EXTRA_IMAGE_INSTALL do also provide most of the usual python modules. However, I created the packagegroup as a way to have a more or less complete python installation available as an image feature, and I expect to gather enough feedback from the community before rejecting/accepting it (so, comments are welcomed :) ) [1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=10667 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] packagegroup-python3: add packagegroup
On 08/15/2017 04:56 PM, Christopher Larson wrote: > On Tue, Aug 15, 2017 at 2:05 PM, Jose Lamego> wrote: > >> Many of the most usual python3 modules are missing when >> trying to import them to python3 in images built with >> python3-core installed. >> >> This change creates the python3 packagegroup, containing >> the most usual python3 packages to be installed for images >> featuring complete python functionality by using the >> FEATURES_PACKAGES variable to define python3 as a new feature >> and then adding it to the image to build. >> >> [YOCTO #10667] >> >> Signed-off-by: Jose Lamego > > Out of curiosity, why not just install ‘python3-modules’? I had the same thought when reviewing the request for this change (at [1]); adding python3 to EXTRA_IMAGE_INSTALL do also provide most of the usual python modules. However, I created the packagegroup as a way to have a more or less complete python installation available as an image feature, and I expect to gather enough feedback from the community before rejecting/accepting it (so, comments are welcomed :) ) [1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=10667 -- Jose Lamego | OTC Embedded Platform & Tools | GDC -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] packagegroup-python3: add packagegroup
On Tue, Aug 15, 2017 at 2:05 PM, Jose Lamegowrote: > Many of the most usual python3 modules are missing when > trying to import them to python3 in images built with > python3-core installed. > > This change creates the python3 packagegroup, containing > the most usual python3 packages to be installed for images > featuring complete python functionality by using the > FEATURES_PACKAGES variable to define python3 as a new feature > and then adding it to the image to build. > > [YOCTO #10667] > > Signed-off-by: Jose Lamego Out of curiosity, why not just install ‘python3-modules’? -- Christopher Larson kergoth at gmail dot com Founder - BitBake, OpenEmbedded, OpenZaurus Senior Software Engineer, Mentor Graphics -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] packagegroup-python3: add packagegroup
Many of the most usual python3 modules are missing when trying to import them to python3 in images built with python3-core installed. This change creates the python3 packagegroup, containing the most usual python3 packages to be installed for images featuring complete python functionality by using the FEATURES_PACKAGES variable to define python3 as a new feature and then adding it to the image to build. [YOCTO #10667] Signed-off-by: Jose Lamego--- .../packagegroups/packagegroup-python3.bb | 85 ++ 1 file changed, 85 insertions(+) create mode 100644 meta/recipes-devtools/packagegroups/packagegroup-python3.bb diff --git a/meta/recipes-devtools/packagegroups/packagegroup-python3.bb b/meta/recipes-devtools/packagegroups/packagegroup-python3.bb new file mode 100644 index 000..ab83460 --- /dev/null +++ b/meta/recipes-devtools/packagegroups/packagegroup-python3.bb @@ -0,0 +1,85 @@ +SUMMARY = "Provides a basic set of python3 packages" + +DEPENDS = "python3-native" + +PR = "1" + +inherit packagegroup + +RPROVIDES_${PN} = "python3" + +RDEPENDS_${PN} = "\ +libpython3 \ +libpython3-staticdev \ +python3-pyvenv \ +python3-dbg \ +python3-2to3 \ +python3-argparse \ +python3-asyncio \ +python3-audio \ +python3-codecs \ +python3-compile \ +python3-compression \ +python3-core \ +python3-crypt \ +python3-ctypes \ +python3-curses \ +python3-datetime \ +python3-db \ +python3-debugger \ +python3-dev \ +python3-difflib \ +python3-distutils \ +python3-doctest \ +python3-email \ +python3-enum \ +python3-fcntl \ +python3-gdbm \ +python3-html \ +python3-idle \ +python3-image \ +python3-importlib \ +python3-io \ +python3-json \ +python3-lang \ +python3-logging \ +python3-mailbox \ +python3-math \ +python3-mime \ +python3-mmap \ +python3-multiprocessing \ +python3-netclient \ +python3-netserver \ +python3-numbers \ +python3-pickle \ +python3-pkgutil \ +python3-pprint \ +python3-profile \ +python3-pydoc \ +python3-re \ +python3-readline \ +python3-reprlib \ +python3-resource \ +python3-selectors \ +python3-shell \ +python3-signal \ +python3-smtpd \ +python3-sqlite3 \ +python3-sqlite3-tests \ +python3-stringold \ +python3-subprocess \ +python3-syslog \ +python3-terminal \ +python3-tests \ +python3-textutils \ +python3-threading \ +python3-tkinter \ +python3-typing \ +python3-unittest \ +python3-unixadmin \ +python3-xml \ +python3-xmlrpc \ +python3-modules \ +python3-misc \ +python3-man \ +" -- 2.7.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core