Why not adopt me?
NAME
Gentoo::Overlay::Ebuild - A Class for Ebuilds in Gentoo Overlays
VERSION
version 2.001002
SYNOPSIS
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
METHODS
exists
Does the Ebuild exist, and is it a file?
$ebuild->exists();
is_blacklisted
Does the ebuild name appear on a blacklist meaning auto-scan should ignore this?
::Ebuild->is_blacklisted('..') # true
pretty_name
A pretty form of the name
$ebuild->pretty_name # =dev-perl/Moose-2.0.0::gentoo
ATTRIBUTES
name
The Ebuilds short name
isa => Gentoo__Overlay_EbuildName, required, ro
package
The package object this ebuild is within.
isa => Gentoo__Overlay_EbuildName, required, ro
accessors => overlay category
path
The full path to the ebuild.
isa => File, lazy, ro
"File" in MooseX::Types::Path::Tiny
ATTRIBUTE ACCESSORS
overlay
$ebuild->overlay -> Gentoo::Overlay::Package->overlay
"overlay" in Gentoo::Overlay::Package
category
$ebuild->category -> Gentoo::Overlay::Package->category
"category" in Gentoo::Overlay::Package
PRIVATE CLASS ATTRIBUTES
_scan_blacklist
Class-Wide list of blacklisted ebuild names.
isa => HashRef[ Str ], ro, lazy,
accessors => _scan_blacklisted
PRIVATE CLASS ATTRIBUTE ACCESSORS
_scan_blacklisted
is $arg
blacklisted in the Class Wide Blacklist?
::Ebuild->_scan_blacklisted( $arg )
->
exists ::Ebuild->_scan_blacklist->{$arg}
AUTHOR
Kent Fredric <kentnl@cpan.org>
COPYRIGHT AND LICENSE
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.