summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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