aboutsummaryrefslogtreecommitdiff
path: root/utils/scancpan
Commit message (Collapse)AuthorAgeFilesLines
* utils/scancpan: add a check of XS dependencies in generated testGravatar Francois Perrad2019-03-311-0/+8
| | | | | | | | The XS modules have a high propability to fail (compared to Pure Perl modules), so it is valuable to check XS dependencies before the check of the main module. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/scancpan: allow the generation of more testsGravatar Francois Perrad2018-12-061-1/+1
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/scancpan: mark XS modules in docstring of testGravatar Francois Perrad2018-12-061-4/+6
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/scancpan: add generation of testGravatar Francois Perrad2018-12-031-0/+67
| | | | | | | | | This commit extends the scancpan script to automatically generate a test for the Perl module, either if the Perl module uses native library, or if it has more than one dependency. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/perl: bump to version 5.28.1Gravatar Francois Perrad2018-12-031-6/+6
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/scancpan: print package/Config.in only when usefulGravatar Francois Perrad2018-11-011-16/+22
| | | | | | | | | | | | Currently, utils/scancpan always outputs what should be placed in package/Config.in to include all Perl packages Config.in files. However, in practice, this is only useful when a new package is added. This commit adjusts this behavior so that what should be place in package/Config for Perl packages is only displayed when scancpan has produced a new Buildroot package for a Perl module. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/scancpan: add a full stop to the help text when missingGravatar Francois Perrad2018-11-011-0/+1
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* scancpan: also use README.md as default license fileGravatar Francois Perrad2018-10-281-0/+3
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* scancpan: add PERL_FOO_DISTNAME in perl-foo.mkGravatar Francois Perrad2018-10-241-0/+1
| | | | | | | This variable is needed for upgrading packages with scancpan. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* scancpan: remove optional dependencyGravatar Francois Perrad2018-10-201-12/+1
| | | | | | | there are also runtime dependency Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* scancpan: generate a conventional commentGravatar Francois Perrad2018-10-101-1/+1
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* scancpan: remove run-time dependenciesGravatar Francois Perrad2018-10-101-2/+1
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* scancpan: split multiple dependencies on multiple linesGravatar Francois Perrad2018-10-101-4/+8
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* scancpan: sort license in hash fileGravatar Francois Perrad2018-10-101-2/+4
| | | | | | | now, the output is reproductible Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* scancpan: sort license filesGravatar Francois Perrad2018-10-101-1/+1
| | | | | | | so, the output is reproductible Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* scancpan: trim the abstractGravatar Francois Perrad2018-10-101-0/+1
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* scancpan: wrap abstract if too longGravatar Francois Perrad2018-10-101-1/+3
| | | | | | | | [note: code style fixed] Signed-off-by: Christopher McCrory <chrismcc@gmail.com> Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* perl-file-sharedir-install: new packageGravatar Francois Perrad2018-10-081-0/+1
| | | | | | | | Only the host variant is added, needed as a build time dependency of the target perl-file-sharedir package. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* perl-extutils-installpaths: new packageGravatar Francois Perrad2018-10-081-0/+1
| | | | | | | | | Only the host variant is added, which is needed as a dependency of perl-module-build-tiny (host), itself needed for perl-apache-logformat-compiler (target). Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* perl-extutils-helpers: new packageGravatar Francois Perrad2018-10-081-0/+1
| | | | | | | | | Only the host variant is added, which is needed as a dependency of perl-module-build-tiny (host), itself needed for perl-apache-logformat-compiler (target). Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* perl-extutils-config: new packageGravatar Francois Perrad2018-10-081-0/+1
| | | | | | | | | Only the host variant is added, which is needed as a dependency of perl-module-build-tiny (host), itself needed for perl-apache-logformat-compiler (target). Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/scancpan: refactor license name adjustmentGravatar Francois Perrad2018-09-251-16/+21
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* scancpan: skip Dist::ZillaGravatar Christopher McCrory2018-09-211-0/+1
| | | | | Signed-off-by: Christopher McCrory <chrismcc@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/scancpan: support more licensesGravatar Christopher McCrory2018-09-211-0/+7
| | | | | | Signed-off-by: Christopher McCrory <chrismcc@gmail.com> Reviewed-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* scancpan: warn on undefined LICENSEGravatar Francois Perrad2018-08-141-1/+5
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* scancpan: warn on suspicious host dependenciesGravatar Francois Perrad2018-08-141-0/+10
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/scancpan: generates hashes of license filesGravatar Francois Perrad2018-05-131-10/+20
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* perl: bump to version 5.26.1Gravatar Francois Perrad2017-09-281-9/+9
| | | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* scancpan: catch exception when MANIFEST is missingGravatar Francois Perrad2017-08-211-5/+11
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* scancpan: update old reference to support/scriptsGravatar Arnout Vandecappelle2017-07-011-1/+1
| | | | | | | | | | scancpan's help text refers to its location, so update it after the move to utils/. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Cc: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* tools: rename to 'utils'Gravatar Thomas Petazzoni2017-07-011-0/+858
After some discussion, we found out that "tools" has the four first letters identical to the "toolchain" subfolder, which makes it a bit unpractical with tab-completion. So, this commit renames "tools" to "utils", which is more tab-completion-friendly. This has been discussed with Arnout and Yann. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>