perl-Dist-Zilla-Role-RequireFromBuild-0.006-alt1.noarch.rpm


Advertisement

Description

perl-Dist-Zilla-Role-RequireFromBuild - Role to require() from build files

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Dist-Zilla-Role-RequireFromBuild-0.006-alt1.noarch.rpm
Package name perl-Dist-Zilla-Role-RequireFromBuild
Package version 0.006
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 22.94 KB
Installed size 22.94 KB
Since build files are not necessarily on-disk files, but might also be in-memory
files or files with munged content, we cannot use `require()' directly.
`require_from_build()' is like Perl's `require()' except it looks for files
not from `@INC' but from build files `$self->zilla->files'. It searches
libraries in `lib/' and `.'.
`$self->require_from_build("Foo/Bar.pm")' or `$self->require_from_build("Foo::Bar")' is a convenient shortcut for something
like:
return if exists $INC{"Foo/Bar.pm"};
my @files = grep { $_->name eq "lib/Foo/Bar.pm" } @{ $self->zilla->files };
@files    = grep { $_->name eq "Foo/Bar.pm" }     @{ $self->zilla->files } unless @files;
die "Can't find Foo/Bar.pm in lib/ or ./ in build files" unless @files;
eval $files[0]->encoded_content;
die if $@;
$INC{"Foo/Bar.pm"} = "(set by Dist::Zilla::Role::RequireFromBuild, loaded from build file)";

Alternatives

Package Version Architecture Repository
perl-Dist-Zilla-Role-RequireFromBuild - - -

Requires

Name Value
/usr/share/perl5 -
perl(Moose/Role.pm) -
perl-base >= 1:5.10.1
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Dist/Zilla/Role/RequireFromBuild.pm) = 0.006
perl-Dist-Zilla-Role-RequireFromBuild = 0.006-alt1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-Dist-Zilla-Role-RequireFromBuild-0.006-alt1.noarch.rpm
Source Package perl-Dist-Zilla-Role-RequireFromBuild-0.006-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Dist-Zilla-Role-RequireFromBuild rpm package:
    # sudo apt-get install perl-Dist-Zilla-Role-RequireFromBuild

Files

Path
/usr/share/doc/perl-Dist-Zilla-Role-RequireFromBuild-0.006/Changes
/usr/share/doc/perl-Dist-Zilla-Role-RequireFromBuild-0.006/LICENSE
/usr/share/doc/perl-Dist-Zilla-Role-RequireFromBuild-0.006/README
/usr/share/perl5/Dist/
/usr/share/perl5/Dist/Zilla/
/usr/share/perl5/Dist/Zilla/Role/RequireFromBuild.pm

See Also

Package Description
perl-Dist-Zilla-Role-Rinci-CheckDefinesMeta-0.04-alt1.noarch.rpm Role to check if dist defines Rinci metadata
perl-Dist-Zilla-Role-Store-0.000002-alt1.noarch.rpm A dynamic stash^Wstore of common data
perl-Dist-Zilla-Role-Tempdir-1.001003-alt1_3.noarch.rpm Shell Out and collect the result in a DZ plug-in
perl-Dist-Zilla-Role-TextTemplater-0.8.7-alt1.noarch.rpm Have text templating capabilities in your Dist::Zilla plugin
perl-Dist-Zilla-Role-Version-Sanitize-0.002003-alt1.noarch.rpm Sanitize a version from a plugin
perl-Dist-Zilla-Shell-0.005-alt3_8.noarch.rpm An interactive shell for Dist::Zilla
perl-Dist-Zilla-Stash-Contributors-0.1.1-alt1.noarch.rpm Stash containing list of contributors
perl-Dist-Zilla-Stash-GitHub-0.001-alt1.noarch.rpm The great new Dist::Zilla::Stash::GitHub!
perl-Dist-Zilla-Stash-PAUSE-Encrypted-0.003-alt1.noarch.rpm Keep your PAUSE bits safely encrypted!
perl-Dist-Zilla-Stash-Store-Git-0.000005-alt1.noarch.rpm A common place to store and interface with git
perl-Dist-Zilla-Tester-DieHard-0.6.4-alt1.noarch.rpm Die hard Dist::Zilla, but save the messages
perl-Dist-Zilla-TravisCI-1.15-alt1.noarch.rpm Travis CI plugins for your DZIL-based distribution
perl-Dist-Zilla-Util-BundleInfo-1.001005-alt1.noarch.rpm Load and interpret a bundle
perl-Dist-Zilla-Util-CurrentCmd-0.002003-alt1.noarch.rpm Attempt to determine the current command Dist::Zilla is running under
perl-Dist-Zilla-Util-EmulatePhase-1.001002-alt1_3.noarch.rpm A dummy Dist::Zilla to fake a 'prereq' object on
Advertisement
Advertisement