aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
AgeCommit message (Collapse)Author
2023-06-04contrib: oe-stylize: Use Python3 explicitlyNiko Mauno
For instance on Debian based host OS 'python' is not provided by default, which results is following error when trying to execute oe-stylize.py script: /usr/bin/env: ‘python’: No such file or directory Update the shebang to explicitly reference 'python3' instead of 'python', which should make the script better out-of-the-box compatible with larger variety of host OSes on which Yocto based development work takes place. Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-04contrib: oe-stylize: Fix ambiguous variable namesNiko Mauno
Fix pycodestyle warnings: oe-stylize.py:439:9: E741 ambiguous variable name 'l' oe-stylize.py:449:17: E741 ambiguous variable name 'l' by switching iterator variables to non-ambiguous characters. Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-28pw-am.sh: update to new patcwork systemArmin Kuster
Point to patchwork.yoctoproject.org Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-21contrib: fix python warnings for oe-stylizeJeremy Kerr
I get a couple of python SyntaxWarnings when running oe-stylize: [jk@pecola meta-openembedded]$ python3 contrib/oe-stylize.py contrib/oe-stylize.py:372: SyntaxWarning: "is not" with a literal. Did you mean "!="? if line is not '': contrib/oe-stylize.py:389: SyntaxWarning: "is" with a literal. Did you mean "=="? if line.isspace() or line is '': The 'is' operator is for object reference comparison, which is not what we want here. Change to '==' / '!=' instead. Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-21contrib: allow override-style syntax for vars & routinesJeremy Kerr
Currently, the variable and routine regexes don't support the override-style syntax. This means we may break routine blocks, as we don't recognise overridden routines with an :append/:prepend/etc. This change adds the ":" char to the var & routine regexes. Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-15PEP8 double aggressive W291 ~ W293 and W391persianpros
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-15PEP8 double aggressive E301 ~ E306persianpros
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-15PEP8 double aggressive E22, E224, E241, E242 and E27persianpros
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-15PEP8 double aggressive E20 and E211persianpros
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-15PEP8 double aggressive E701, E70 and E502persianpros
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-10-21tesseract: upgrade to 3.04Juhee Cho
* use do_split_packages instead of many separate recipes * fetch from github Signed-off-by: Juhee Cho <juhee.cho@lge.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-07-29contrib: add MIPS_INSTRUCTION_SETAndré Draszik
which is similar to ARM_INSTRUCTION_SET, hence we place it nearby. Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04contrib: print oldline within single quotesJose Alarcon
Signed-off-by: Jose Alarcon <jose.alarcon@ge.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04contrib: add missing common OE variablesJose Alarcon
Signed-off-by: Jose Alarcon <jose.alarcon@ge.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04contrib: ensure that oe-stylize.py works with python versions < 3.0Jose Alarcon
Signed-off-by: Jose Alarcon <jose.alarcon@ge.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-10contrib/tesseract-langs.sh: add script to generate recipes for tesseract ↵Mario Domenech Goulart
languages This script writes language recipes for tesseract. It downloads the listing of available languages and language tarballs from the official site and writes language recipes tesseract-lang-<lang>_<version>.bb for each language. Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-18update oe-stylize to be Python3 comaptibleCliff Brake
Signed-off-by: Cliff Brake <cbrake@bec-systems.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-04-24oe-stylize.py: Add SUMMARY variableAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-14contrib: import pw-am.sh and oe-stylize from OE classicKoen Kooi
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>