Build.PL 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. use utf8;
  2. use 5.006;
  3. use strict;
  4. use warnings FATAL => 'all';
  5. use Module::Build;
  6. my $builder = Module::Build->new(
  7. module_name => 'Sidef',
  8. license => 'artistic_2',
  9. dist_author => [
  10. q{Daniel Șuteu (<trizen@cpan.org>)},
  11. q{Ioana Fălcușan (<ioanaflavia@gmail.com>)},
  12. ],
  13. dist_version_from => 'lib/Sidef.pm',
  14. dist_abstract => 'The Sidef Programming Language',
  15. release_status => 'stable',
  16. configure_requires => {
  17. 'Module::Build' => 0,
  18. },
  19. build_requires => {
  20. 'Test::More' => 0,
  21. },
  22. dynamic_config => 0,
  23. extra_manify_args => { utf8 => 1 },
  24. meta_merge => {
  25. resources => {
  26. bugtracker => "https://github.com/trizen/sidef/issues",
  27. homepage => "https://github.com/trizen/sidef",
  28. repository => "https://github.com/trizen/sidef",
  29. },
  30. },
  31. requires => {
  32. 'perl' => '5.18.0',
  33. 'utf8' => 0,
  34. 'parent' => 0,
  35. 'Memoize' => 0,
  36. 'Cwd' => 0,
  37. 'File::Spec' => 0,
  38. 'File::Path' => 0,
  39. 'File::Copy' => 0,
  40. 'File::Basename' => 0,
  41. 'List::Util' => 1.33,
  42. 'Math::MPFR' => 3.36,
  43. 'Math::MPC' => 0,
  44. 'Math::GMPq' => 0.45,
  45. 'Math::GMPz' => 0.48,
  46. 'Socket' => 0,
  47. 'Fcntl' => 0,
  48. 'Encode' => 0,
  49. 'Scalar::Util' => 0,
  50. 'Time::Piece' => 0,
  51. 'Time::HiRes' => 0,
  52. 'Getopt::Std' => 0,
  53. 'Term::ReadLine' => 0,
  54. 'Math::Prime::Util::GMP' => 0.52,
  55. 'Algorithm::Combinatorics' => 0, # used in some Array methods
  56. 'Algorithm::Loops' => 0, # used in Array#cartesian() and Number#sqrtmod_all()
  57. 'Data::Dump' => 0, # used for `sidef -D`
  58. 'Data::Dump::Filtered' => 0, # used in Block#ffork()
  59. },
  60. recommends => {
  61. 'File::Find' => 0, # `sidef -c`
  62. 'Digest::MD5' => 0, # File.md5(), Str.md5()
  63. 'Digest::SHA' => 0, # File.sha*(), Str.sha*()
  64. 'MIME::Base64' => 0, # Str.encode_base64(), Str.decode_base64()
  65. 'Math::Prime::Util' => 0.73, # used in some Number methods, if available
  66. 'Term::ReadLine::Gnu' => 0, # better STDIN support (+history)
  67. 'Text::Balanced' => 0, # Str.extract_bracketed(), Str.extract_delimited()
  68. 'Text::ParseWords' => 0, # Str.parse_quotewords()
  69. },
  70. add_to_cleanup => ['Sidef-*'],
  71. create_makefile_pl => 'traditional',
  72. );
  73. $builder->create_build_script();