App-CpanDak

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

{
   "abstract" : "cpanm, with some sort of distroprefs",
   "author" : [
      "Gianni Ceccarelli <dakkar@thenautilus.net>"
   ],
   "dynamic_config" : 0,
   "generated_by" : "Dist::Zilla version 6.032, CPAN::Meta::Converter version 2.150010",
   "license" : [
      "perl_5"
   ],
   "meta-spec" : {
      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",

META.yml  view on Meta::CPAN

---
abstract: 'cpanm, with some sort of distroprefs'
author:
  - 'Gianni Ceccarelli <dakkar@thenautilus.net>'
build_requires:
  Cwd: '0'
  Path::Tiny: '0'
  Test2::Tools::LoadModule: '0'
  Test2::V0: '0'
configure_requires:
  ExtUtils::MakeMaker: '7.1101'
dynamic_config: 0

Makefile.PL  view on Meta::CPAN

# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.032.
use strict;
use warnings;



use ExtUtils::MakeMaker 7.1101;

my %WriteMakefileArgs = (
  "ABSTRACT" => "cpanm, with some sort of distroprefs",
  "AUTHOR" => "Gianni Ceccarelli <dakkar\@thenautilus.net>",
  "CONFIGURE_REQUIRES" => {
    "ExtUtils::MakeMaker" => "7.1101"
  },
  "DISTNAME" => "App-CpanDak",
  "EXE_FILES" => [
    "bin/cpandak"
  ],
  "LICENSE" => "perl",
  "NAME" => "App::CpanDak",

bin/cpandak  view on Meta::CPAN

#!/usr/bin/env perl
use strict;
use warnings;
use App::CpanDak;
our $VERSION = '0.1.0'; # VERSION
# PODNAME: cpandak
# ABSTRACT: cpanm, with some sort of distroprefs


my $app = App::CpanDak->new;
$app->parse_options(@ARGV);
exit $app->doit;

__END__

=pod

=encoding UTF-8

=head1 NAME

cpandak - cpanm, with some sort of distroprefs

=head1 VERSION

version 0.1.0

=head1 SYNOPSIS

    cpandak Foo::Bar

    cpandak --installdeps .

Exactly the same way as C<cpanm>.

=head1 DESCRIPTION

This is a subclass of C<App::cpanminus::script> that wraps some of its
methods to add the ability to apply patches, set environment
variables, and skip tests, to specific distributions.

The idea comes from L<Distroprefs|CPAN/Configuration for individual
distributions (Distroprefs)>.

See L<< /C<App::CpanDak> >> for the actual documentation.

=head1 AUTHOR

Gianni Ceccarelli <dakkar@thenautilus.net>

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Gianni Ceccarelli <dakkar@thenautilus.net>.

lib/App/CpanDak.pm  view on Meta::CPAN

package App::CpanDak;

use strict;
use warnings;
use mro;
use App::CpanDak::Specials;
use App::cpanminus::fatscript ();
our @ISA=('App::cpanminus::script'); ## no critic(ProhibitExplicitISA)

our $VERSION = '0.1.0'; # VERSION
# ABSTRACT: cpanm, with some sort of distroprefs


sub new {
    my ($class) = @_;

    my $self = $class->next::method();
    $self->{dak_specials} = App::CpanDak::Specials->new();

    return $self;
}

lib/App/CpanDak.pm  view on Meta::CPAN

1;

__END__

=pod

=encoding UTF-8

=head1 NAME

App::CpanDak - cpanm, with some sort of distroprefs

=head1 VERSION

version 0.1.0

=head1 SYNOPSIS

    cpandak Foo::Bar

    cpandak --installdeps .

Exactly the same way as C<cpanm>.

=head1 DESCRIPTION

This is a subclass of C<App::cpanminus::script> that wraps some of its
methods to add the ability to apply patches, set environment
variables, and skip tests, to specific distributions.

The idea comes from L<Distroprefs|CPAN/Configuration for individual
distributions (Distroprefs)>.

=head2 Warning

This is mostly a hack; it will I<not> work on C<cpanminus> 1.79 or
later (those future versions are a complete rewrite, based on
C<Menlo>).

=head1 Special instructions

You add special instructions in a directory, then set the full path to

t/author-pod-spell.t  view on Meta::CPAN

__DATA__
App
Ceccarelli
CpanDak
Gianni
Specials
bin
cpandak
cpanm
dakkar
distroprefs
lib



( run in 0.982 second using v1.01-cache-2.11-cpan-8f98c5d2c55 )