Re: [oe] [meta-python][PATCH 07/12] python-flask-wtf: move core of recipe to a .inc file
On Tue, Dec 5, 2017 at 8:03 PM, Tim Orlingwrote: > >> On Dec 5, 2017, at 7:57 PM, akuster808 wrote: >> >> >> >> On 11/29/2017 09:47 PM, Bill Randle wrote: >>> Signed-off-by: Bill Randle >>> --- >>> .../recipes-devtools/python/python-flask-wtf.inc| 15 +++ >>> .../recipes-devtools/python/python-flask-wtf_0.12.bb| 17 >>> + >>> 2 files changed, 16 insertions(+), 16 deletions(-) >>> create mode 100644 meta-python/recipes-devtools/python/python-flask-wtf.inc >> >> I am getting this error: >> >> WARNING: >> /home/akuster/OE/master/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb: >> Unable to get checksum for python3-flask-xstatic SRC_URI entry >> remove-pip-requires.patch: file could not be found >> WARNING: >> /home/akuster/OE/master/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-wtf_0.12.bb: >> Unable to get checksum for python3-flask-wtf SRC_URI entry >> import-simplejson-as-json.patch: file could not be found > > If you are trying to use a common patch file in, for instance, > python-flask-wtf directory, you will need to add FILESEXTRAPATHS_prepend to > the .inc so that the patch will be picked up by python3 version. One of the > few cases where we want FILESEXTRAPATHS in an actual recipe, or at least the > .inc (rather than a bbappend). > > —Tim Thanks, Tim! I just figured out I needed something like that. Thanks for the tip!! -Bill [cut] -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-python][PATCH 07/12] python-flask-wtf: move core of recipe to a .inc file
> On Dec 5, 2017, at 7:57 PM, akuster808wrote: > > > > On 11/29/2017 09:47 PM, Bill Randle wrote: >> Signed-off-by: Bill Randle >> --- >> .../recipes-devtools/python/python-flask-wtf.inc| 15 +++ >> .../recipes-devtools/python/python-flask-wtf_0.12.bb| 17 >> + >> 2 files changed, 16 insertions(+), 16 deletions(-) >> create mode 100644 meta-python/recipes-devtools/python/python-flask-wtf.inc > > I am getting this error: > > WARNING: > /home/akuster/OE/master/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb: > Unable to get checksum for python3-flask-xstatic SRC_URI entry > remove-pip-requires.patch: file could not be found > WARNING: > /home/akuster/OE/master/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-wtf_0.12.bb: > Unable to get checksum for python3-flask-wtf SRC_URI entry > import-simplejson-as-json.patch: file could not be found If you are trying to use a common patch file in, for instance, python-flask-wtf directory, you will need to add FILESEXTRAPATHS_prepend to the .inc so that the patch will be picked up by python3 version. One of the few cases where we want FILESEXTRAPATHS in an actual recipe, or at least the .inc (rather than a bbappend). —Tim > ERROR: ParseError in python-flask-migrate: not a BitBake file > > - armin >> >> diff --git a/meta-python/recipes-devtools/python/python-flask-wtf.inc >> b/meta-python/recipes-devtools/python/python-flask-wtf.inc >> new file mode 100644 >> index 000..e42f7c1 >> --- /dev/null >> +++ b/meta-python/recipes-devtools/python/python-flask-wtf.inc >> @@ -0,0 +1,15 @@ >> +DESCRIPTION = "Simple integration of Flask and WTForms." >> +LICENSE = "BSD" >> +LIC_FILES_CHKSUM = "file://LICENSE;md5=507e8635f25a06dc4f041a3a1b3359b3" >> + >> +SRC_URI[md5sum] = "c53a74e8ba481bf53405fd5efdf0339e" >> +SRC_URI[sha256sum] = >> "bd99316c97ed1d1cb90b8f0c242c86420a891a6a2058f20717e424bf5b0bb80e" >> + >> +SRC_URI += " file://import-simplejson-as-json.patch" >> + >> +PYPI_PACKAGE = "Flask-WTF" >> + >> +RDEPENDS_${PN} = "\ >> +${PYTHON_PN}-wtforms \ >> +${PYTHON_PN}-simplejson \ >> +" >> diff --git a/meta-python/recipes-devtools/python/python-flask-wtf_0.12.bb >> b/meta-python/recipes-devtools/python/python-flask-wtf_0.12.bb >> index 79afaf6..dbf091b 100644 >> --- a/meta-python/recipes-devtools/python/python-flask-wtf_0.12.bb >> +++ b/meta-python/recipes-devtools/python/python-flask-wtf_0.12.bb >> @@ -1,17 +1,2 @@ >> -DESCRIPTION = "Simple integration of Flask and WTForms." >> -LICENSE = "BSD" >> -LIC_FILES_CHKSUM = "file://LICENSE;md5=507e8635f25a06dc4f041a3a1b3359b3" >> - >> -SRC_URI[md5sum] = "c53a74e8ba481bf53405fd5efdf0339e" >> -SRC_URI[sha256sum] = >> "bd99316c97ed1d1cb90b8f0c242c86420a891a6a2058f20717e424bf5b0bb80e" >> - >> -SRC_URI += " file://import-simplejson-as-json.patch" >> - >> -PYPI_PACKAGE = "Flask-WTF" >> - >> inherit pypi setuptools >> - >> -RDEPENDS_${PN} = "\ >> -python-wtforms \ >> -python-simplejson \ >> -" >> +require python-flask-wtf.inc > > -- > ___ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH] [meta-networking][PATCH] packagegroup-samba: new add
Hi Andreas! I have some questions here: 1. Why don't you just create a samba-client meta package inside the samba recipe instead? Well, I don't know how to create a samba-client meta package, and could you help me? 2. All samba libraries already depend on samba-common, so samba depends on it indirectly. Therefore this "package group" doesn't seem to be necessary. Yes, I found it, thank you. > + > +SUMMARY_${PN}-ctdb-tests = " samba ctdb-tests" > +RDEPENDS_${PN}-ctdb-tests = "samba-ctdb-tests" > + > +SUMMARY_${PN}-pidl = "samba-pidl" > +RDEPENDS_${PN}-pidl = "samba-pidl" 3. These two seem to be unnecessary, too. Testsuite for samba is unnecessary for the packagegroup, why? And can you give me a advice about how to deal with samba-pidl?Put it into client? -- Zheng Ruoqin Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) ADDR.: No.6 Wenzhu Road, Software Avenue, Nanjing, 210012, China MAIL : zhengrq.f...@cn.fujistu.com -Original Message- From: openembedded-devel-boun...@lists.openembedded.org [mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of Andreas Oberritter Sent: Tuesday, December 05, 2017 9:29 PM To: openembedded-devel@lists.openembedded.org Subject: Re: [oe] [PATCH] [meta-networking][PATCH] packagegroup-samba: new add Hi Zheng, On Tue, 5 Dec 2017 17:33:07 +0800 zhengrqwrote: > Add packagegroup for samba, for there are too many rpms in samba and it's > hard to manage. > > Signed-off-by: Zheng Ruoqin > --- > .../packagegroups/packagegroup-samba.bb| 28 > ++ > 1 file changed, 28 insertions(+) > create mode 100644 > meta-networking/recipes-connectivity/packagegroups/packagegroup-samba. > bb > > diff --git > a/meta-networking/recipes-connectivity/packagegroups/packagegroup-samb > a.bb > b/meta-networking/recipes-connectivity/packagegroups/packagegroup-samb > a.bb > new file mode 100644 > index 000..6177691 > --- /dev/null > +++ b/meta-networking/recipes-connectivity/packagegroups/packagegroup- > +++ samba.bb > @@ -0,0 +1,28 @@ > +SUMMARY = "samba package groups" > +PV = "1.0" > +PR = "r2" > + > +inherit packagegroup > + > +PROVIDES = "${PACKAGES}" > +PACKAGES = "${PN}-server ${PN}-client ${PN}-ctdb-tests ${PN}-pidl" > + > +SUMMARY_${PN}-client = " samba client" > +RDEPENDS_${PN}-client = "\ > +smbclient \ > +samba-common \ > +winbind \ > +registry-tools \ > +" Why don't you just create a samba-client meta package inside the samba recipe instead? > + > +SUMMARY_${PN}-server = " samba server" > +RDEPENDS_${PN}-server = "\ > +samba \ > +samba-common \ > +" All samba libraries already depend on samba-common, so samba depends on it indirectly. Therefore this "package group" doesn't seem to be necessary. > + > +SUMMARY_${PN}-ctdb-tests = " samba ctdb-tests" > +RDEPENDS_${PN}-ctdb-tests = "samba-ctdb-tests" > + > +SUMMARY_${PN}-pidl = "samba-pidl" > +RDEPENDS_${PN}-pidl = "samba-pidl" These two seem to be unnecessary, too. Regards, Andreas -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-python][PATCH 00/12] Create Python3 recipies for several existing Python2 recipes
On Tue, Dec 5, 2017 at 6:48 PM, akuster808wrote: > Bill, > > > On 11/29/2017 09:46 PM, Bill Randle wrote: >> This set of patches creates the Python3 variant of several existing Python2 >> packages. >> It first moves the core of the existing recipe(s) into a .inc file, then >> creates >> python-*-.bb and python3-*.bb files that reference the new .inc file. >> >> Bill Randle (12): >> python-dominate: move core of recipe to a .inc file >> python3-dominate: new recipe >> python-flask-bootstrap: move core of recipe to a .inc file >> python3-flask-bootstrap: new recipe >> python-flask-sqlalchemy: move core of recipe to a .inc file >> python3-flask-sqlalchemy: new recipe >> python-flask-wtf: move core of recipe to a .inc file >> python3-flask-wtf: new recipe >> python-visitor: move core of recipe to a .inc file >> python3-visitor: new recipe >> python-wtforms: move core of recipe to a .inc file >> python3-wtforms: new recipe > > I am seeing these additional issues: > > NOTE: Resolving any missing task queue dependencies > ERROR: Nothing RPROVIDES 'python3-wtforms' (but > /home/akuster/OE/master/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-wtf_0.12.bb > RDEPENDS on or otherwise requires it) > NOTE: Runtime target 'python3-wtforms' is unbuildable, removing... > Missing or unbuildable dependency chain was: ['python3-wtforms'] > NOTE: Runtime target 'python3-flask-wtf' is unbuildable, removing... > Missing or unbuildable dependency chain was: ['python3-flask-wtf', > 'python3-wtforms'] > ERROR: Nothing RPROVIDES 'python3-flask-wtf-dev' (but > /home/akuster/OE/master/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-wtf_0.12.bb > RDEPENDS on or otherwise requires it) > No eligible RPROVIDERs exist for 'python3-flask-wtf-dev' > NOTE: Runtime target 'python3-flask-wtf-dev' is unbuildable, removing... > Missing or unbuildable dependency chain was: ['python3-flask-wtf-dev'] > ERROR: Nothing RPROVIDES 'python3-visitor' (but > /home/akuster/OE/master/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb > RDEPENDS on or otherwise requires it) > NOTE: Runtime target 'python3-visitor' is unbuildable, removing... > Missing or unbuildable dependency chain was: ['python3-visitor'] > NOTE: Runtime target 'python3-flask-bootstrap-dev' is unbuildable, > removing... > Missing or unbuildable dependency chain was: > ['python3-flask-bootstrap-dev', 'python3-visitor'] > NOTE: Runtime target 'python3-flask-bootstrap' is unbuildable, removing... > Missing or unbuildable dependency chain was: ['python3-flask-bootstrap', > 'python3-visitor'] > > > please check. still running local world build so not sure what else will > pop up. > > - armin >> >> .../recipes-devtools/python/python-dominate.inc| 11 +++ >> .../recipes-devtools/python/python-dominate_2.3.1.bb | 13 + >> .../recipes-devtools/python/python-flask-bootstrap.inc | 14 ++ >> .../python/python-flask-bootstrap_3.3.7.1.bb | 16 +--- >> .../python/python-flask-sqlalchemy.inc | 10 ++ >> .../python/python-flask-sqlalchemy_2.3.2.bb| 12 +--- >> .../recipes-devtools/python/python-flask-wtf.inc | 15 +++ >> .../recipes-devtools/python/python-flask-wtf_0.12.bb | 17 >> + >> meta-python/recipes-devtools/python/python-visitor.inc | 6 ++ >> .../recipes-devtools/python/python-visitor_0.1.3.bb| 8 +--- >> meta-python/recipes-devtools/python/python-wtforms.inc | 16 >> .../recipes-devtools/python/python-wtforms_2.1.bb | 18 >> +- >> .../recipes-devtools/python/python3-dominate_2.3.1.bb | 2 ++ >> .../python/python3-flask-bootstrap_3.3.7.1.bb | 2 ++ >> .../python/python3-flask-sqlalchemy_2.3.2.bb | 2 ++ >> .../recipes-devtools/python/python3-flask-wtf_0.12.bb | 2 ++ >> .../recipes-devtools/python/python3-visitor_0.1.3.bb | 2 ++ >> .../recipes-devtools/python/python3-wtforms_2.1.bb | 2 ++ >> 18 files changed, 90 insertions(+), 78 deletions(-) >> create mode 100644 meta-python/recipes-devtools/python/python-dominate.inc >> create mode 100644 >> meta-python/recipes-devtools/python/python-flask-bootstrap.inc >> create mode 100644 >> meta-python/recipes-devtools/python/python-flask-sqlalchemy.inc >> create mode 100644 meta-python/recipes-devtools/python/python-flask-wtf.inc >> create mode 100644 meta-python/recipes-devtools/python/python-visitor.inc >> create mode 100644 meta-python/recipes-devtools/python/python-wtforms.inc >> create mode 100644 >> meta-python/recipes-devtools/python/python3-dominate_2.3.1.bb >> create mode 100644 >> meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb >> create mode 100644 >> meta-python/recipes-devtools/python/python3-flask-sqlalchemy_2.3.2.bb >> create mode 100644 >>
Re: [oe] [meta-python][PATCH 00/12] Create Python3 recipies for several existing Python2 recipes
Bill, On 11/29/2017 09:46 PM, Bill Randle wrote: > This set of patches creates the Python3 variant of several existing Python2 > packages. > It first moves the core of the existing recipe(s) into a .inc file, then > creates > python-*-.bb and python3-*.bb files that reference the new .inc file. > > Bill Randle (12): > python-dominate: move core of recipe to a .inc file > python3-dominate: new recipe > python-flask-bootstrap: move core of recipe to a .inc file > python3-flask-bootstrap: new recipe > python-flask-sqlalchemy: move core of recipe to a .inc file > python3-flask-sqlalchemy: new recipe > python-flask-wtf: move core of recipe to a .inc file > python3-flask-wtf: new recipe > python-visitor: move core of recipe to a .inc file > python3-visitor: new recipe > python-wtforms: move core of recipe to a .inc file > python3-wtforms: new recipe I am seeing these additional issues: NOTE: Resolving any missing task queue dependencies ERROR: Nothing RPROVIDES 'python3-wtforms' (but /home/akuster/OE/master/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-wtf_0.12.bb RDEPENDS on or otherwise requires it) NOTE: Runtime target 'python3-wtforms' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-wtforms'] NOTE: Runtime target 'python3-flask-wtf' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-flask-wtf', 'python3-wtforms'] ERROR: Nothing RPROVIDES 'python3-flask-wtf-dev' (but /home/akuster/OE/master/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-wtf_0.12.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'python3-flask-wtf-dev' NOTE: Runtime target 'python3-flask-wtf-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-flask-wtf-dev'] ERROR: Nothing RPROVIDES 'python3-visitor' (but /home/akuster/OE/master/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb RDEPENDS on or otherwise requires it) NOTE: Runtime target 'python3-visitor' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-visitor'] NOTE: Runtime target 'python3-flask-bootstrap-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-flask-bootstrap-dev', 'python3-visitor'] NOTE: Runtime target 'python3-flask-bootstrap' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-flask-bootstrap', 'python3-visitor'] please check. still running local world build so not sure what else will pop up. - armin > > .../recipes-devtools/python/python-dominate.inc| 11 +++ > .../recipes-devtools/python/python-dominate_2.3.1.bb | 13 + > .../recipes-devtools/python/python-flask-bootstrap.inc | 14 ++ > .../python/python-flask-bootstrap_3.3.7.1.bb | 16 +--- > .../python/python-flask-sqlalchemy.inc | 10 ++ > .../python/python-flask-sqlalchemy_2.3.2.bb| 12 +--- > .../recipes-devtools/python/python-flask-wtf.inc | 15 +++ > .../recipes-devtools/python/python-flask-wtf_0.12.bb | 17 + > meta-python/recipes-devtools/python/python-visitor.inc | 6 ++ > .../recipes-devtools/python/python-visitor_0.1.3.bb| 8 +--- > meta-python/recipes-devtools/python/python-wtforms.inc | 16 > .../recipes-devtools/python/python-wtforms_2.1.bb | 18 > +- > .../recipes-devtools/python/python3-dominate_2.3.1.bb | 2 ++ > .../python/python3-flask-bootstrap_3.3.7.1.bb | 2 ++ > .../python/python3-flask-sqlalchemy_2.3.2.bb | 2 ++ > .../recipes-devtools/python/python3-flask-wtf_0.12.bb | 2 ++ > .../recipes-devtools/python/python3-visitor_0.1.3.bb | 2 ++ > .../recipes-devtools/python/python3-wtforms_2.1.bb | 2 ++ > 18 files changed, 90 insertions(+), 78 deletions(-) > create mode 100644 meta-python/recipes-devtools/python/python-dominate.inc > create mode 100644 > meta-python/recipes-devtools/python/python-flask-bootstrap.inc > create mode 100644 > meta-python/recipes-devtools/python/python-flask-sqlalchemy.inc > create mode 100644 meta-python/recipes-devtools/python/python-flask-wtf.inc > create mode 100644 meta-python/recipes-devtools/python/python-visitor.inc > create mode 100644 meta-python/recipes-devtools/python/python-wtforms.inc > create mode 100644 > meta-python/recipes-devtools/python/python3-dominate_2.3.1.bb > create mode 100644 > meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb > create mode 100644 > meta-python/recipes-devtools/python/python3-flask-sqlalchemy_2.3.2.bb > create mode 100644 > meta-python/recipes-devtools/python/python3-flask-wtf_0.12.bb > create mode 100644 > meta-python/recipes-devtools/python/python3-visitor_0.1.3.bb > create mode 100644
Re: [oe] [meta-python][PATCH 03/13] python[3]-fask-migrate: new recipes
Ouch! Good find. I'll issue a revised patch. -Bill On Tue, Dec 5, 2017 at 6:13 PM, akuster808wrote: > > > On 12/01/2017 09:12 PM, Bill Randle wrote: >> Signed-off-by: Bill Randle >> --- >> .../recipes-devtools/python/python-flask-migrate.inc | 14 >> ++ >> .../recipes-devtools/python/python-flask-migrate_2.1.1.bb | 2 ++ >> .../recipes-devtools/python/python3-flask-migrate_2.1.1.bb | 2 ++ >> 3 files changed, 18 insertions(+) >> create mode 100644 >> meta-python/recipes-devtools/python/python-flask-migrate.inc >> create mode 100644 >> meta-python/recipes-devtools/python/python-flask-migrate_2.1.1.bb >> create mode 100644 >> meta-python/recipes-devtools/python/python3-flask-migrate_2.1.1.bb >> >> diff --git a/meta-python/recipes-devtools/python/python-flask-migrate.inc >> b/meta-python/recipes-devtools/python/python-flask-migrate.inc >> new file mode 100644 >> index 000..7af4fe1 >> --- /dev/null >> +++ b/meta-python/recipes-devtools/python/python-flask-migrate.inc >> @@ -0,0 +1,14 @@ >> +DESCRIPTION = "SQLAlchemy database migrations for Flask applications using >> Alembic" >> +LICENSE = "MIT" >> +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b69377f79f3f48c661701236d5a6a85" >> + >> +SRC_URI[md5sum] = "def4106c80897b7fad2afb3bc05360e4" >> +SRC_URI[sha256sum] = >> "b709ca8642559c3c5a81a33ab10839fa052177accd5ba821047a99db635255ed" >> + >> +PYPI_PACKAGE = "Flask-Migrate" >> + >> +RDEPENDS_${PN} += "\ >> +${PYTHON_PN}-flask-sqlalchemy \ >> +${PYTHON_PN}-alembic \ >> +${PYTHON_PN}-flask \ >> +" >> diff --git >> a/meta-python/recipes-devtools/python/python-flask-migrate_2.1.1.bb >> b/meta-python/recipes-devtools/python/python-flask-migrate_2.1.1.bb >> new file mode 100644 >> index 000..af79997 >> --- /dev/null >> +++ b/meta-python/recipes-devtools/python/python-flask-migrate_2.1.1.bb >> @@ -0,0 +1,2 @@ >> +inherit pypi setuptools >> +require python-flask-migrate >> diff --git >> a/meta-python/recipes-devtools/python/python3-flask-migrate_2.1.1.bb >> b/meta-python/recipes-devtools/python/python3-flask-migrate_2.1.1.bb >> new file mode 100644 >> index 000..94abbf3 >> --- /dev/null >> +++ b/meta-python/recipes-devtools/python/python3-flask-migrate_2.1.1.bb >> @@ -0,0 +1,2 @@ >> +inherit pypi setuptools3 > Found issue >> +require python-flask-migrate <<<-- missing .inc > > - armin > -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-python][PATCH 03/13] python[3]-fask-migrate: new recipes
On 12/01/2017 09:12 PM, Bill Randle wrote: > Signed-off-by: Bill Randle> --- > .../recipes-devtools/python/python-flask-migrate.inc | 14 > ++ > .../recipes-devtools/python/python-flask-migrate_2.1.1.bb | 2 ++ > .../recipes-devtools/python/python3-flask-migrate_2.1.1.bb | 2 ++ > 3 files changed, 18 insertions(+) > create mode 100644 > meta-python/recipes-devtools/python/python-flask-migrate.inc > create mode 100644 > meta-python/recipes-devtools/python/python-flask-migrate_2.1.1.bb > create mode 100644 > meta-python/recipes-devtools/python/python3-flask-migrate_2.1.1.bb > > diff --git a/meta-python/recipes-devtools/python/python-flask-migrate.inc > b/meta-python/recipes-devtools/python/python-flask-migrate.inc > new file mode 100644 > index 000..7af4fe1 > --- /dev/null > +++ b/meta-python/recipes-devtools/python/python-flask-migrate.inc > @@ -0,0 +1,14 @@ > +DESCRIPTION = "SQLAlchemy database migrations for Flask applications using > Alembic" > +LICENSE = "MIT" > +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b69377f79f3f48c661701236d5a6a85" > + > +SRC_URI[md5sum] = "def4106c80897b7fad2afb3bc05360e4" > +SRC_URI[sha256sum] = > "b709ca8642559c3c5a81a33ab10839fa052177accd5ba821047a99db635255ed" > + > +PYPI_PACKAGE = "Flask-Migrate" > + > +RDEPENDS_${PN} += "\ > +${PYTHON_PN}-flask-sqlalchemy \ > +${PYTHON_PN}-alembic \ > +${PYTHON_PN}-flask \ > +" > diff --git > a/meta-python/recipes-devtools/python/python-flask-migrate_2.1.1.bb > b/meta-python/recipes-devtools/python/python-flask-migrate_2.1.1.bb > new file mode 100644 > index 000..af79997 > --- /dev/null > +++ b/meta-python/recipes-devtools/python/python-flask-migrate_2.1.1.bb > @@ -0,0 +1,2 @@ > +inherit pypi setuptools > +require python-flask-migrate > diff --git > a/meta-python/recipes-devtools/python/python3-flask-migrate_2.1.1.bb > b/meta-python/recipes-devtools/python/python3-flask-migrate_2.1.1.bb > new file mode 100644 > index 000..94abbf3 > --- /dev/null > +++ b/meta-python/recipes-devtools/python/python3-flask-migrate_2.1.1.bb > @@ -0,0 +1,2 @@ > +inherit pypi setuptools3 Found issue > +require python-flask-migrate <<<-- missing .inc - armin -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-python][PATCH 07/12] python-flask-wtf: move core of recipe to a .inc file
On 11/29/2017 09:47 PM, Bill Randle wrote: > Signed-off-by: Bill Randle> --- > .../recipes-devtools/python/python-flask-wtf.inc| 15 +++ > .../recipes-devtools/python/python-flask-wtf_0.12.bb| 17 > + > 2 files changed, 16 insertions(+), 16 deletions(-) > create mode 100644 meta-python/recipes-devtools/python/python-flask-wtf.inc I am getting this error: WARNING: /home/akuster/OE/master/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb: Unable to get checksum for python3-flask-xstatic SRC_URI entry remove-pip-requires.patch: file could not be found WARNING: /home/akuster/OE/master/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-wtf_0.12.bb: Unable to get checksum for python3-flask-wtf SRC_URI entry import-simplejson-as-json.patch: file could not be found ERROR: ParseError in python-flask-migrate: not a BitBake file - armin > > diff --git a/meta-python/recipes-devtools/python/python-flask-wtf.inc > b/meta-python/recipes-devtools/python/python-flask-wtf.inc > new file mode 100644 > index 000..e42f7c1 > --- /dev/null > +++ b/meta-python/recipes-devtools/python/python-flask-wtf.inc > @@ -0,0 +1,15 @@ > +DESCRIPTION = "Simple integration of Flask and WTForms." > +LICENSE = "BSD" > +LIC_FILES_CHKSUM = "file://LICENSE;md5=507e8635f25a06dc4f041a3a1b3359b3" > + > +SRC_URI[md5sum] = "c53a74e8ba481bf53405fd5efdf0339e" > +SRC_URI[sha256sum] = > "bd99316c97ed1d1cb90b8f0c242c86420a891a6a2058f20717e424bf5b0bb80e" > + > +SRC_URI += " file://import-simplejson-as-json.patch" > + > +PYPI_PACKAGE = "Flask-WTF" > + > +RDEPENDS_${PN} = "\ > +${PYTHON_PN}-wtforms \ > +${PYTHON_PN}-simplejson \ > +" > diff --git a/meta-python/recipes-devtools/python/python-flask-wtf_0.12.bb > b/meta-python/recipes-devtools/python/python-flask-wtf_0.12.bb > index 79afaf6..dbf091b 100644 > --- a/meta-python/recipes-devtools/python/python-flask-wtf_0.12.bb > +++ b/meta-python/recipes-devtools/python/python-flask-wtf_0.12.bb > @@ -1,17 +1,2 @@ > -DESCRIPTION = "Simple integration of Flask and WTForms." > -LICENSE = "BSD" > -LIC_FILES_CHKSUM = "file://LICENSE;md5=507e8635f25a06dc4f041a3a1b3359b3" > - > -SRC_URI[md5sum] = "c53a74e8ba481bf53405fd5efdf0339e" > -SRC_URI[sha256sum] = > "bd99316c97ed1d1cb90b8f0c242c86420a891a6a2058f20717e424bf5b0bb80e" > - > -SRC_URI += " file://import-simplejson-as-json.patch" > - > -PYPI_PACKAGE = "Flask-WTF" > - > inherit pypi setuptools > - > -RDEPENDS_${PN} = "\ > -python-wtforms \ > -python-simplejson \ > -" > +require python-flask-wtf.inc -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH] [meta-networking][PATCH] packagegroup-samba: new add
Hi Zheng, On Tue, 5 Dec 2017 17:33:07 +0800 zhengrqwrote: > Add packagegroup for samba, for there are too many rpms in samba and it's > hard to manage. > > Signed-off-by: Zheng Ruoqin > --- > .../packagegroups/packagegroup-samba.bb| 28 > ++ > 1 file changed, 28 insertions(+) > create mode 100644 > meta-networking/recipes-connectivity/packagegroups/packagegroup-samba.bb > > diff --git > a/meta-networking/recipes-connectivity/packagegroups/packagegroup-samba.bb > b/meta-networking/recipes-connectivity/packagegroups/packagegroup-samba.bb > new file mode 100644 > index 000..6177691 > --- /dev/null > +++ b/meta-networking/recipes-connectivity/packagegroups/packagegroup-samba.bb > @@ -0,0 +1,28 @@ > +SUMMARY = "samba package groups" > +PV = "1.0" > +PR = "r2" > + > +inherit packagegroup > + > +PROVIDES = "${PACKAGES}" > +PACKAGES = "${PN}-server ${PN}-client ${PN}-ctdb-tests ${PN}-pidl" > + > +SUMMARY_${PN}-client = " samba client" > +RDEPENDS_${PN}-client = "\ > +smbclient \ > +samba-common \ > +winbind \ > +registry-tools \ > +" Why don't you just create a samba-client meta package inside the samba recipe instead? > + > +SUMMARY_${PN}-server = " samba server" > +RDEPENDS_${PN}-server = "\ > +samba \ > +samba-common \ > +" All samba libraries already depend on samba-common, so samba depends on it indirectly. Therefore this "package group" doesn't seem to be necessary. > + > +SUMMARY_${PN}-ctdb-tests = " samba ctdb-tests" > +RDEPENDS_${PN}-ctdb-tests = "samba-ctdb-tests" > + > +SUMMARY_${PN}-pidl = "samba-pidl" > +RDEPENDS_${PN}-pidl = "samba-pidl" These two seem to be unnecessary, too. Regards, Andreas -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] dfu-utils-native: fix do_deploy sstate handling
Hi Khem, On 01.12.2017 16:13, Stefan Müller-Klieser wrote: > On 01.12.2017 15:46, Khem Raj wrote: >> On Fri, Dec 1, 2017 at 2:48 AM, Stefan Müller-Klieser >>wrote: >>> We need to install to the sstate input dir and not the output dir, so >>> sstate handling will work correctly. >>> >> >> how can we validate this fix ? do you have steps > > I guess the easiest test would be to run a -c clean. If all files are > removed, sstate is working, if not, you moved some files out of sstate > control. Ok. I already found a bug in this patch. When two machines want to build the dfu recipe, sstate clashes with the providers conflicting. So apparently the original code was a workaround for the fact that you cannot handle those conflicts at the recipe level. This patch cannot go in until some handling in deploy.bbclass is implemented. Any tips may help. I will try to find a solution. Regards, Stefan > >> >>> Signed-off-by: Stefan Müller-Klieser >>> --- >>> meta-oe/recipes-support/dfu-util/dfu-util-native_0.9.bb | 7 +++ >>> 1 file changed, 3 insertions(+), 4 deletions(-) >>> >>> diff --git a/meta-oe/recipes-support/dfu-util/dfu-util-native_0.9.bb >>> b/meta-oe/recipes-support/dfu-util/dfu-util-native_0.9.bb >>> index 7a7a662..aeca23b 100644 >>> --- a/meta-oe/recipes-support/dfu-util/dfu-util-native_0.9.bb >>> +++ b/meta-oe/recipes-support/dfu-util/dfu-util-native_0.9.bb >>> @@ -8,9 +8,8 @@ SRC_URI += >>> "file://0001-Revert-Makefile.am-Drop-static-dfu-util.patch" >>> >>> do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_TOOLS}" >>> do_deploy() { >>> -install -d ${DEPLOY_DIR_TOOLS} >>> -install -m 0755 src/dfu-util_static ${DEPLOY_DIR_TOOLS}/dfu-util-${PV} >>> -rm -f ${DEPLOY_DIR_TOOLS}/dfu-util >>> -ln -sf ./dfu-util-${PV} ${DEPLOY_DIR_TOOLS}/dfu-util >>> +install -m 0755 src/dfu-util_static ${DEPLOYDIR}/dfu-util-${PV} >>> +rm -f ${DEPLOYDIR}/dfu-util >>> +ln -sf ./dfu-util-${PV} ${DEPLOYDIR}/dfu-util >>> } >>> addtask deploy before do_package after do_install >>> -- >>> 2.7.4 >>> >>> -- >>> ___ >>> Openembedded-devel mailing list >>> Openembedded-devel@lists.openembedded.org >>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH] [meta-networking][PATCH] packagegroup-samba: new add
Add packagegroup for samba, for there are too many rpms in samba and it's hard to manage. Signed-off-by: Zheng Ruoqin--- .../packagegroups/packagegroup-samba.bb| 28 ++ 1 file changed, 28 insertions(+) create mode 100644 meta-networking/recipes-connectivity/packagegroups/packagegroup-samba.bb diff --git a/meta-networking/recipes-connectivity/packagegroups/packagegroup-samba.bb b/meta-networking/recipes-connectivity/packagegroups/packagegroup-samba.bb new file mode 100644 index 000..6177691 --- /dev/null +++ b/meta-networking/recipes-connectivity/packagegroups/packagegroup-samba.bb @@ -0,0 +1,28 @@ +SUMMARY = "samba package groups" +PV = "1.0" +PR = "r2" + +inherit packagegroup + +PROVIDES = "${PACKAGES}" +PACKAGES = "${PN}-server ${PN}-client ${PN}-ctdb-tests ${PN}-pidl" + +SUMMARY_${PN}-client = " samba client" +RDEPENDS_${PN}-client = "\ +smbclient \ +samba-common \ +winbind \ +registry-tools \ +" + +SUMMARY_${PN}-server = " samba server" +RDEPENDS_${PN}-server = "\ +samba \ +samba-common \ +" + +SUMMARY_${PN}-ctdb-tests = " samba ctdb-tests" +RDEPENDS_${PN}-ctdb-tests = "samba-ctdb-tests" + +SUMMARY_${PN}-pidl = "samba-pidl" +RDEPENDS_${PN}-pidl = "samba-pidl" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel