summaryrefslogtreecommitdiffstats
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
* contrib: oe-stylize: Use Python3 explicitlyNiko Mauno2023-06-041-1/+1
| | | | | | | | | | | | | | | | 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>
* contrib: oe-stylize: Fix ambiguous variable namesNiko Mauno2023-06-041-4/+4
| | | | | | | | | | | | 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>
* pw-am.sh: update to new patcwork systemArmin Kuster2022-02-281-1/+1
| | | | | | | Point to patchwork.yoctoproject.org Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* contrib: fix python warnings for oe-stylizeJeremy Kerr2021-12-211-2/+2
| | | | | | | | | | | | | | | | 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>
* contrib: allow override-style syntax for vars & routinesJeremy Kerr2021-12-211-2/+2
| | | | | | | | | | | 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>
* PEP8 double aggressive W291 ~ W293 and W391persianpros2021-04-151-22/+21
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* PEP8 double aggressive E301 ~ E306persianpros2021-04-151-0/+35
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* PEP8 double aggressive E22, E224, E241, E242 and E27persianpros2021-04-151-9/+9
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* PEP8 double aggressive E20 and E211persianpros2021-04-151-3/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* PEP8 double aggressive E701, E70 and E502persianpros2021-04-151-7/+14
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tesseract: upgrade to 3.04Juhee Cho2016-10-211-92/+0
| | | | | | | | * 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>
* contrib: add MIPS_INSTRUCTION_SETAndré Draszik2016-07-291-0/+1
| | | | | | | | 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>
* contrib: print oldline within single quotesJose Alarcon2016-01-041-2/+2
| | | | | Signed-off-by: Jose Alarcon <jose.alarcon@ge.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* contrib: add missing common OE variablesJose Alarcon2016-01-041-0/+4
| | | | | Signed-off-by: Jose Alarcon <jose.alarcon@ge.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* contrib: ensure that oe-stylize.py works with python versions < 3.0Jose Alarcon2016-01-041-0/+1
| | | | | Signed-off-by: Jose Alarcon <jose.alarcon@ge.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* contrib/tesseract-langs.sh: add script to generate recipes for tesseract ↵Mario Domenech Goulart2014-06-101-0/+92
| | | | | | | | | | | | 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>
* update oe-stylize to be Python3 comaptibleCliff Brake2012-12-181-5/+5
| | | | | Signed-off-by: Cliff Brake <cbrake@bec-systems.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* oe-stylize.py: Add SUMMARY variableAndreas Oberritter2012-04-241-0/+1
| | | | | Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* contrib: import pw-am.sh and oe-stylize from OE classicKoen Kooi2011-10-142-0/+420
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>