App-cpan2arch

 view release on metacpan or  search on metacpan

t/lib/TestData.pm  view on Meta::CPAN

                    module       => 'Term::ANSIColor',
                    phase        => 'runtime',
                    relationship => 'requires',
                    version      => '0',
                },
                {
                    module       => 'MooseX::Getopt',
                    phase        => 'runtime',
                    relationship => 'requires',
                    version      => '0.18',
                },
                {
                    module       => 'Moose',
                    phase        => 'runtime',
                    relationship => 'requires',
                    version      => '0.93',
                },
                {
                    module       => 'Moose::Role',
                    phase        => 'runtime',
                    relationship => 'requires',
                    version      => '0',
                },
                {
                    module       => 'Moose::Meta::Role',
                    phase        => 'runtime',
                    relationship => 'requires',
                    version      => '0',
                },
                {
                    module       => 'Scalar::Util',
                    phase        => 'runtime',
                    relationship => 'requires',
                    version      => '0',
                },
                {
                    module       => 'MooseX::Object::Pluggable',
                    phase        => 'runtime',
                    relationship => 'requires',
                    version      => '0.0009',
                },
                {
                    module       => 'File::Spec',
                    phase        => 'runtime',
                    relationship => 'requires',
                    version      => '0',
                },
                {
                    module       => 'Module::Runtime',
                    phase        => 'runtime',
                    relationship => 'requires',
                    version      => '0',
                },
                {
                    module       => 'Task::Weaken',
                    phase        => 'runtime',
                    relationship => 'requires',
                    version      => '0',
                },
                {
                    module       => 'namespace::autoclean',
                    phase        => 'runtime',
                    relationship => 'requires',
                    version      => '0',
                },
                {
                    module       => 'Devel::Peek',
                    phase        => 'runtime',
                    relationship => 'requires',
                    version      => '0',
                },
            ],
            dist               => 'Devel-REPL',
            download_url       => 'https://cpan.metacpan.org/authors/id/E/ET/ETHER/Devel-REPL-1.003029.tar.gz',
            has_license        => 'LICENCE',
            has_module_install => false,
            has_multi_licenses => false,
            has_xs             => false,
            license            => ['perl_5'],
            name               => 'Devel-REPL-1.003029',
            spdx_expression    => 'Artistic-1.0-Perl OR GPL-1.0-or-later',
            version            => '1.003029',
        },
        arch_prereqs => {
            checkdepends => [
                'perl-extutils-makemaker',
                'perl-if',
                'perl-pathtools',
                'perl-test-fatal',
                'perl-test-simple',
                'perl>=5.8.1',
            ],
            depends => [
                'perl-module-runtime',
                'perl-moose',
                'perl-moosex-getopt>=0.18',
                'perl-moosex-object-pluggable>=0.0009',
                'perl-namespace-autoclean',
                'perl-pathtools',
                'perl-scalar-list-utils',
                'perl-task-weaken',
                'perl-term-ansicolor',
                'perl-term-readline',
                'perl-time-hires',
                'perl>=5.8.1',
            ],
            makedepends => [
                'perl-cpan-meta-requirements>=2.120620',
                'perl-extutils-makemaker',
                'perl-module-metadata',
            ],
            optdepends => [
                q{perl-app-nopaste: Nopaste plugin - upload a session\'s input and output to a Pastebin},
                'perl-b-keywords: Keywords completion driver - tab complete Perl keywords and operators',
                'perl-cpan-meta>=2.120900',
                'perl-data-dump-streamer>=2.39: DDS plugin - better format results with Data::Dump::Streamer',
                'perl-data-dumper-concise: DDC plugin - even better format results with Data::Dumper::Concise',
                'perl-file-next: INC completion driver - tab complete module names in use and require',
                'perl-lexical-persistence: LexEnv plugin - variables declared with "my" persist between statements',
                'perl-module-refresh: Refresh plugin - automatically reload libraries with Module::Refresh',
                'perl-ppi-xs>=0.902',
                'perl-ppi: Completion plugin - extensible tab completion',
                'perl-ppi: MultiLine::PPI plugin - continue reading lines until all blocks are closed',
                'perl-ppi: PPI plugin - PPI dumping of Perl code',
                'perl-sys-sigaction: Interrupt plugin - traps SIGINT to kill long-running lines',
            ],
        },
        pkgbuild => <<~'END',
            # Maintainer: Your Name <email@domain.tld>

            _author=ETHER
            _dist=Devel-REPL
            pkgname=perl-${_dist@L}
            pkgver=1.003029
            pkgrel=1
            pkgdesc='A modern perl interactive shell'
            arch=('any')
            url=https://metacpan.org/dist/$_dist
            license=('Artistic-1.0-Perl OR GPL-1.0-or-later')
            depends=(
                'perl-module-runtime'
                'perl-moose'
                'perl-moosex-getopt>=0.18'
                'perl-moosex-object-pluggable>=0.0009'
                'perl-namespace-autoclean'
                'perl-pathtools'
                'perl-scalar-list-utils'
                'perl-task-weaken'
                'perl-term-ansicolor'
                'perl-term-readline'
                'perl-time-hires'
                'perl>=5.8.1'
            )
            makedepends=(
                'perl-cpan-meta-requirements>=2.120620'
                'perl-extutils-makemaker'
                'perl-module-metadata'
            )
            checkdepends=(
                'perl-extutils-makemaker'
                'perl-if'
                'perl-pathtools'
                'perl-test-fatal'
                'perl-test-simple'
                'perl>=5.8.1'
            )
            optdepends=(
                $'perl-app-nopaste: Nopaste plugin - upload a session\'s input and output to a Pastebin'
                'perl-b-keywords: Keywords completion driver - tab complete Perl keywords and operators'
                'perl-cpan-meta>=2.120900'
                'perl-data-dump-streamer>=2.39: DDS plugin - better format results with Data::Dump::Streamer'
                'perl-data-dumper-concise: DDC plugin - even better format results with Data::Dumper::Concise'
                'perl-file-next: INC completion driver - tab complete module names in use and require'
                'perl-lexical-persistence: LexEnv plugin - variables declared with "my" persist between statements'
                'perl-module-refresh: Refresh plugin - automatically reload libraries with Module::Refresh'
                'perl-ppi-xs>=0.902'
                'perl-ppi: Completion plugin - extensible tab completion'
                'perl-ppi: MultiLine::PPI plugin - continue reading lines until all blocks are closed'
                'perl-ppi: PPI plugin - PPI dumping of Perl code'
                'perl-sys-sigaction: Interrupt plugin - traps SIGINT to kill long-running lines'
            )
            options=('!emptydirs')
            source=("https://cpan.metacpan.org/authors/id/${_author::1}/${_author::2}/$_author/$_dist-$pkgver.tar.gz")
            sha256sums=('7c87ebd88fe3abab2ff8c3fb681c6446ee7a2dc1390a6df7aa604f2634473c69')

            build()
            {
                cd "$_dist-$pkgver"

                unset PERL_MM_OPT PERL5LIB PERL_LOCAL_LIB_ROOT
                export PERL_MM_USE_DEFAULT=1

                /usr/bin/perl Makefile.PL NO_PACKLIST=1 NO_PERLLOCAL=1
                make
            }

            check()
            {
                cd "$_dist-$pkgver"

                unset PERL5LIB PERL_LOCAL_LIB_ROOT

                make test
            }



( run in 0.832 second using v1.01-cache-2.11-cpan-0bb4e1dffa6 )