summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* perl-functions.eclass: canonical `debug-print-function` callsDavid Seifert2022-07-181-18/+24
| | | | | Closes: https://github.com/gentoo/gentoo/pull/26305 Signed-off-by: David Seifert <soap@gentoo.org>
* perl-functions.eclass: remove EAPI 6David Seifert2022-07-181-2/+2
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* perl-functions.eclass: [QA] use bash [[ ... ]] bracketsDavid Seifert2022-07-021-7/+7
| | | | | Closes: https://github.com/gentoo/gentoo/pull/26112 Signed-off-by: David Seifert <soap@gentoo.org>
* perl-functions.eclass: remove EAPI 5David Seifert2022-07-021-10/+8
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* perl-functions.eclass: Add new helpers for EAPI=8 ...Andreas K. Hüttel2021-06-191-3/+32
| | | | | | | | | | ... and fix an existing one. fperms works on ${D} by default, so we can give it / to operate on. Bug: https://bugs.gentoo.org/554346 Bug: https://bugs.gentoo.org/733020 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* perl-functions.eclass: Add perl-fix_permissionsAndreas K. Hüttel2021-05-171-0/+10
| | | | | Bug: https://bugs.gentoo.org/554346 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* perl-functions.eclass: Add EAPI=7 supportAndreas K. Hüttel2019-08-121-5/+5
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* perl-functions.eclass: add @SUPPORTED_EAPISMichał Górny2018-08-151-0/+1
|
* perl-functions.eclass: Fix documentation re: USAGEKent Fredric2017-04-221-20/+62
| | | | | And use @CODE examples where relevant instead as per eclass-to-manpage.awk
* perl-functions.eclass: add perl_domoduleKent Fredric2017-04-221-0/+76
|
* perl-functions.eclass: add perl_get_vendorlibKent Fredric2017-04-221-1/+20
|
* perl-functions.eclass: add perl_get_raw_vendorlibKent Fredric2017-04-221-0/+18
|
* perl-functions.eclass: add perl_get_module_versionKent Fredric2017-04-221-0/+51
| | | | | | | | | | | | | | This utility provides informational data describing the given module names state of installation, either as a version, or as an error message describing the grade of failure incurred in module loading. It has the side effect that it most load the module (and its dependencies) into memory to give a report value, and can be expensive and have side-effects from Perl code execuring while the module loads, including (but not limited to) people calling POSIX::_exit This is the slowest way of inspecting state about a module, as it must load the module
* perl-functions.eclass: add perl_has_module_versionKent Fredric2017-04-221-0/+33
| | | | | | | | | | | | | | This is a utility for runtime checking if a module of a given version is installed from the perspective of Perl, whos opinion could be different than portage in the event of perl-core/* dual life effects shortly after a major Perl upgrade. Use this only if perl_has_module is insufficient, as the overheads and risk of side effects from this approach are high, given the module has to be actually loaded for the version comparison to happen. exits "true" if Perl has the given module installed at the given version ( or later ), exits "false" otherwise.
* perl-functions.eclass: Add perl_has_moduleKent Fredric2017-04-221-0/+28
| | | | | | | | | | | | | | | This is an incredibly fast way to check if Perl considers a module of the given name installed in any capacity, including broken. As long as "Foo.pm" is somewhere in @INC, `perl_has_module Foo` will return true. Even `perl_has_module threads` will return true on non-threaded perls, due to that module still being present, and the module only fataling when loaded. Whereas `perl_has_module_version threads 0` will always fail on non-threaded perls.
* Drop trailing whitespacesJustin Lecher2017-03-191-4/+4
| | | | Signed-off-by: Justin Lecher <jlec@gentoo.org>
* perl-functions.eclass: Replace unnecessary eval with ${!var}Michał Górny2017-03-081-1/+1
|
* 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-functions.eclass: Add new function perl_doexamplesAndreas K. Hüttel2016-04-111-0/+21
|
* eclass: Improve packlist fixing, based on work by kent\n; bug 579492 and moreAndreas K. Hüttel2016-04-101-0/+19
|
* perl-module.eclass and perl-functions.eclass: Add infrastructure to build ↵Andreas K. Hüttel2015-12-191-3/+32
| | | | .packlist files and keep/fix them in EAPI=6
* perl-functions.eclass: should 'just work' in EAPI=6Andreas K. Huettel (dilfridge)2015-12-031-1/+1
|
* perl-modules.eclass: Separate phases and helpers into two eclassesAndreas K. Huettel (dilfridge)2015-11-281-0/+252