Gentoo::Overlay::Ebuild - A Class for Ebuilds in Gentoo Overlays
version 2.001002
my $ebuild = Overlay::Ebuild->new( name => 'Moose-2.0.0.ebuild', package => $package_object, ); $ebuild->exists(); # Ebuild listed exists. print $ebuild->pretty_name # =dev-perl/Moose-2.0.0::gentoo print $ebuild->path # /usr/portage/dev-perl/Moose/Moose-2.0.0.ebuild
Does the Ebuild exist, and is it a file?
$ebuild->exists();
Does the ebuild name appear on a blacklist meaning auto-scan should ignore this?
::Ebuild->is_blacklisted('..') # true
A pretty form of the name
$ebuild->pretty_name # =dev-perl/Moose-2.0.0::gentoo
The Ebuilds short name
isa => Gentoo__Overlay_EbuildName, required, ro
EbuildName
The package object this ebuild is within.
isa => Gentoo__Overlay_EbuildName, required, ro accessors => overlay category
Package
"overlay"
"category"
The full path to the ebuild.
isa => File, lazy, ro
"File" in MooseX::Types::Path::Tiny
$ebuild->overlay -> Gentoo::Overlay::Package->overlay
"overlay" in Gentoo::Overlay::Package
"package"
$ebuild->category -> Gentoo::Overlay::Package->category
"category" in Gentoo::Overlay::Package
Class-Wide list of blacklisted ebuild names.
isa => HashRef[ Str ], ro, lazy, accessors => _scan_blacklisted
"_scan_blacklisted"
MooseX::Types::Moose
is $arg blacklisted in the Class Wide Blacklist?
$arg
::Ebuild->_scan_blacklisted( $arg ) -> exists ::Ebuild->_scan_blacklist->{$arg}
"_scan_blacklist"
Kent Fredric <kentnl@cpan.org>
This software is copyright (c) 2017 by Kent Fredric <kentnl@cpan.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Gentoo::Overlay, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gentoo::Overlay
CPAN shell
perl -MCPAN -e shell install Gentoo::Overlay
For more information on module installation, please visit the detailed CPAN module installation guide.