App-cpan2arch
view release on metacpan or search on metacpan
lib/App/cpan2arch/WritePkgbuild.pm view on Meta::CPAN
# NOTE:
# Licenses not found in the licenses package must be installed at /usr/share/licenses/$pkgname/.
#
# CPAN Meta only covers few licenses and some of them are deprecated because
# of its SPDX ID (e.g. AGPL-3.0), but the license text is the same and exist
# at /usr/share/licenses/spdx under a different SPDX ID.
#
# References:
# https://metacpan.org/pod/CPAN::Meta::Spec#license
# https://wiki.archlinux.org/title/PKGBUILD#license
# https://lists.archlinux.org/hyperkitty/list/arch-dev-public@lists.archlinux.org/thread/NFSB7734U2VVDULPRY65ECXDE3XGNZXM/
# https://spdx.github.io/spdx-spec/latest/annexes/spdx-license-expressions/
method _build_license_array ()
{
$self->_psub;
my $prog = $self->prog;
# Get the licenses from licenses package.
my %arch_licenses;
{
t/lib/TestData.pm view on Meta::CPAN
relationship => 'requires',
version => '0.91',
},
{
module => 'Text::FindIndent',
phase => 'runtime',
relationship => 'requires',
version => '0.10',
},
{
module => 'threads::shared',
phase => 'runtime',
relationship => 'requires',
version => '1.33',
},
{
module => 'Data::Dumper',
phase => 'runtime',
relationship => 'requires',
version => '2.101',
},
t/lib/TestData.pm view on Meta::CPAN
relationship => 'requires',
version => '1.9718',
},
{
module => 'Module::Manifest',
phase => 'runtime',
relationship => 'requires',
version => '0.07',
},
{
module => 'threads',
phase => 'runtime',
relationship => 'requires',
version => '1.71',
},
{
module => 'Test::Script',
phase => 'build',
relationship => 'requires',
version => '1.07',
},
t/lib/TestData.pm view on Meta::CPAN
'perl-sort-versions>=1.5',
'perl-storable>=2.16',
'perl-template-tiny>=0.11',
'perl-term-readline',
'perl-text-balanced>=2.01',
'perl-text-diff>=1.41',
{
'perl-text-findindent>=0.10' => { flag_date => '2026-06-02' },
},
'perl-text-patch>=1.8',
'perl-threads-shared>=1.33',
'perl-threads>=1.71',
'perl-time-hires>=1.9718',
'perl-uri',
'perl-version>=0.80',
'perl-wx-perl-processstream>=0.32',
'perl-wx-scintilla>=0.39',
'perl-wx>=0.9916',
'perl-yaml-tiny>=1.32',
'perl>=5.11.0',
],
makedepends => [
t/lib/TestData.pm view on Meta::CPAN
'perl-probe-perl>=0.01'
'perl-scalar-list-utils>=1.18'
'perl-sort-versions>=1.5'
'perl-storable>=2.16'
'perl-template-tiny>=0.11'
'perl-term-readline'
'perl-text-balanced>=2.01'
'perl-text-diff>=1.41'
'perl-text-findindent>=0.10' # Package is flagged out-of-date on 2026-06-02.
'perl-text-patch>=1.8'
'perl-threads-shared>=1.33'
'perl-threads>=1.71'
'perl-time-hires>=1.9718'
'perl-uri'
'perl-version>=0.80'
'perl-wx-perl-processstream>=0.32'
'perl-wx-scintilla>=0.39'
'perl-wx>=0.9916'
'perl-yaml-tiny>=1.32'
'perl>=5.11.0'
)
makedepends=(
( run in 0.926 second using v1.01-cache-2.11-cpan-c966e8aa7e8 )