summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* perl-module.eclass: extend DIST_TEST="do" to cover make-based testsMatoro Mahri2023-10-161-1/+6
| | | | | | | | | | | For packages using make to run tests rather than Test::Harness, DIST_TEST="do" is ineffective at disabling parallelization. This forces -j1 on these packages when set. Bug: https://bugs.gentoo.org/909051 Signed-off-by: Matoro Mahri <matoro@users.noreply.github.com> Closes: https://github.com/gentoo/gentoo/pull/33354 Signed-off-by: Sam James <sam@gentoo.org>
* perl-module.eclass: fix typo in commentSam James2023-09-271-1/+1
| | | | | Fixes: ffa678b96f88ec7be12cd57237ead3849ac9c453 Signed-off-by: Sam James <sam@gentoo.org>
* perl-module.eclass: disable Canary::StabilitySam James2023-09-191-0/+2
| | | | | | | | | Canary::Stability emits very vocal warnings about "unsupported" Perl versions even if they're fine in reality. It's not worth scaring our users over. See https://metacpan.org/pod/Canary::Stability#ENVIRONMENT-VARIABLES. Signed-off-by: Sam James <sam@gentoo.org>
* perl-module.eclass: set NONINTERACTIVE_TESTING=1Sam James2023-09-191-0/+7
| | | | | | | | | | | | | | | See https://www.perlmonks.org/?node_id=1225311 I did consider the others, but: * AUTOMATES_TESTING appears inappropriate for us, as it affects exit codes and might mask failures if configuration is wrong. * EXTENDED_TESTING is something we could consider if we had some way to opt-in to expensive tests. so just set NONINTERACTIVE_TESTING=1 for now, not the others mentioned in the link. Signed-off-by: Sam James <sam@gentoo.org>
* perl-module.eclass: fix Unquoted VariableArthur Zamarin2023-09-141-1/+1
| | | | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/32703 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* perl-module.eclass: Depend on perl-Test-Simple with a versionAndreas K. Hüttel2023-06-181-1/+1
| | | | | | This is in preparation of a QA check Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* perl-module.eclass: Fix linking with ld.lldAlfred Persson Forsberg2023-03-111-3/+7
| | | | | | | | | | | | If LD is not specified then CCLD will be used as the linker. Setting CCLD to CC makes it correctly use LDFLAGS. Bug: https://bugs.gentoo.org/261375 Closes: https://bugs.gentoo.org/882373 Closes: https://bugs.gentoo.org/894608 Signed-off-by: Alfred Persson Forsberg <cat@catcream.org> Closes: https://github.com/gentoo/gentoo/pull/30009 Signed-off-by: Sam James <sam@gentoo.org>
* perl-module.eclass: fix src_test docsSam James2022-10-011-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* perl-module.eclass: canonical `debug-print-function` callsDavid Seifert2022-07-181-7/+11
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* perl-module.eclass: remove EAPI 6David Seifert2022-07-181-77/+28
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* perl-module.eclass: remove EAPI 5David Seifert2022-07-021-156/+56
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* *.eclass: @ECLASS-VARIABLE renamed to @ECLASS_VARIABLEUlrich Müller2022-03-241-12/+12
| | | | | Bug: https://bugs.gentoo.org/835396 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* perl-module.eclass: Set @PROVIDESMichał Górny2021-09-021-0/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* perl-module.eclass: Simplify code and reapply EAPI=8 RESTRICTAndreas K. Hüttel2021-06-201-10/+5
| | | | | Bug: https://bugs.gentoo.org/796959 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* perl-module.eclass: add further test-related functionalityAndreas K. Hüttel2021-06-201-2/+39
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* perl-module.eclass: Add EAPI=8 supportAndreas K. Hüttel2021-06-191-13/+76
| | | | | | | | | | New features: DIST_WIKI and DIST_MAKE File permissions are fixed on installation Bug: https://bugs.gentoo.org/733020 Bug: https://bugs.gentoo.org/554346 Bug: https://bugs.gentoo.org/261375 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* perl-module.eclass: Fix M::B and M::B::T QA check for EAPI=7Andreas K. Hüttel2021-04-101-13/+32
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* perl-module.eclass: mark DIST_TEST_OVERRIDE as @USER_VARIABLESam James2021-03-311-0/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* perl-module.eclass: mark DIST_EXAMPLES as @PRE_INHERITSam James2021-03-311-1/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* perl-module.eclass: fix eclassdoc warnings, bug 637838Andreas K. Hüttel2019-10-171-5/+10
| | | | | Closes: https://bugs.gentoo.org/637838 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* perl-module.eclass: Also populate BDEPEND in EAPI=7Andreas K. Hüttel2019-08-151-2/+29
| | | | | | In addition, no slot op in DEPEND. Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* perl-module.class: Enable EAPI=7 supportAndreas K. Hüttel2019-08-121-15/+15
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* eclass: perl-module.eclass enable https for EAPI >5Mikle Kolyada2018-12-221-1/+1
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* perl-module.eclass: replace search.cpan.orgAzamat H. Hackimov2018-09-281-2/+2
| | | | | | | | | | Replace search.cpan.org with metacpan.org since it is retired[1][2]. [1] https://www.perl.com/article/saying-goodbye-to-search-cpan-org/ [2] https://log.perl.org/2018/05/goodbye-search-dot-cpan-dot-org.html Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/9968
* perl-module.eclass: add @SUPPORTED_EAPISMichał Górny2018-08-151-0/+1
|
* perl-module.eclass: Add DEFAULT_UNSET where applicableKent Fredric2017-04-221-0/+5
|
* perl-module.eclass: fix documentation re: USAGEKent Fredric2017-04-221-8/+0
|
* perl-module.eclass: Fix GENTOO_DEPEND_ON_SUBSLOT handling/errorKent Fredric2017-04-221-2/+2
| | | | | | | | Currently errors even when set to "yes" ( which is the mechanics that is implied if the option is missing ) This prematurely tells people about non-issues, and encourages them to set the wrong value.
* Drop trailing whitespacesJustin Lecher2017-03-191-4/+4
| | | | Signed-off-by: Justin Lecher <jlec@gentoo.org>
* Drop $Id$ per council decision in bug #611234.Robin H. Johnson2017-02-281-1/+0
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* perl-module.eclass: Improve description a bitAndreas K. Hüttel2016-11-051-1/+2
|
* eclass/perl-module.eclass: Added documentation for DIST_SECTIONWilliam L. Thomson Jr2016-11-051-0/+5
| | | | | | Closes: https://github.com/gentoo/gentoo/pull/2741 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* perl-module.eclass: Fix bash array handling of DIST_EXAMPLESAndreas K. Hüttel2016-04-181-1/+1
|
* perl-module.eclass: Add new control variable DIST_EXAMPLESAndreas K. Hüttel2016-04-111-0/+16
|
* perl-module.eclass and perl-functions.eclass: Add infrastructure to build ↵Andreas K. Hüttel2015-12-191-2/+7
| | | | .packlist files and keep/fix them in EAPI=6
* perl-module.eclass: styleAndreas K. Hüttel2015-12-191-7/+7
|
* perl-module.eclass: Make some former warnings fatal to get rid of ↵Andreas K. Hüttel2015-12-191-20/+9
| | | | PERLQAFATAL, eqawarn, and (in EAPI=6) eutils.eclass
* perl-module.eclass: Minor docu improvementsAndreas K. Huettel (dilfridge)2015-12-191-4/+7
|
* perl-module.eclass: Rename SRC_TEST to DIST_TEST in EAPI=6, default to "do ↵Andreas K. Huettel (dilfridge)2015-12-191-27/+67
| | | | | | | | | | | | | | | | parallel", add features * The variable SRC_TEST used to allow some control over the testing phase (run it, run tests parallelized, skip it). Named DIST_TEST in EAPI=6 now for consistency. * Add functionality for ebuild authors: even if the ebuild specifies that e.g. tests should not be run or run single-threaded, allow in EAPI=6 to override that from make.conf or package.env. * Rewrite of the test phase for EAPI=6. Adds options to control test verbosity and switch network tests (something that might or might not work depending on upstream cooperativity).
* perl-module.eclass: Introduce new DIST_ control variables for EAPI=6 and ↵Andreas K. Hüttel2015-12-191-10/+58
| | | | | | | | | | | | | | | | | avoid MY_ magic This eclass is full of magic of the type of "Set MY_xxx before inheriting, and I'll automatically use it somehow instead of xxx". I think this is majorly silly since 1) MY_xxx is no proper API, and 2) it was never documented anyway. So, in EAPI=6 ignore MY_PN, MY_P, and MY_S and use DIST_PN and DIST_P instead. In addition also replace MODULE_ control variables with their DIST_ analogue. The DIST_ prefix is more consistent with upstream terminology since what we're downloading from CPAN are not actually "modules" (like CGI.pm) but "module distributions" (like CGI.tar.gz containg a set of modules). In addition it avoids clashes in case of kernel module build systems. We can't use PERL_ since this is picked up by perl itself.
* perl-module.eclass: Inherit default src_prepare from EAPI=6 on (eapply, ↵Andreas K. Huettel (dilfridge)2015-12-191-3/+9
| | | | eapply_user)
* perl-module.eclass: Use default unpacking from EAPI=6 onAndreas K. Huettel (dilfridge)2015-12-191-3/+14
|
* perl-module.eclass: Just go ahead when calling configure twice in EAPI=6Andreas K. Huettel (dilfridge)2015-12-191-1/+3
|
* perl-module.eclass: Allow EAPI=6, ban PERL_EXPORT_PHASE_FUNCTIONS, ↵Andreas K. Huettel (dilfridge)2015-12-191-10/+37
| | | | GENTOO_DEPEND_ON_PERL_SUBSLOT, simplify dependency
* perl-module.eclass: Remove references to perlinfo_doneAndreas K. Huettel (dilfridge)2015-12-191-2/+1
|
* perl-modules.eclass: Separate phases and helpers into two eclassesAndreas K. Huettel (dilfridge)2015-11-281-226/+4
|
* proj/gentoo: Initial commitRobin H. Johnson2015-08-081-0/+547
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed