Makefile.PL 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. use 5.010; #Perl 5.10 minimum due to usage of undef or (//)
  2. use ExtUtils::MakeMaker;
  3. WriteMakefile(
  4. NAME => "TestRail::API",
  5. VERSION_FROM => "lib/TestRail/API.pm",
  6. MIN_PERL_VERSION => '5.010',
  7. TEST_REQUIRES => {
  8. "Test::More" => 0,
  9. "Scalar::Util" => 0,
  10. "Prompt::Timeout" => 0,
  11. "Test::Pod" => 0,
  12. "Test::Pod::Coverage" => 0
  13. },
  14. PREREQ_PM => {
  15. "Carp" => 0,
  16. "Scalar::Util" => 0,
  17. "Data::Validate::URI" => 0,
  18. "Clone" => 0,
  19. "Try::Tiny" => 0,
  20. "JSON::XS" => 0,
  21. "HTTP::Request" => 0,
  22. "LWP::UserAgent" => 0,
  23. "Types::Serialiser" => 0
  24. },
  25. META_MERGE => {
  26. 'meta-spec' => { version => 2 },
  27. name => 'TestRail::API',
  28. abstract => "Provides an interface to TestRail's REST api via HTTP",
  29. author => ['George S. Baugh <teodesian@cpan.org>'],
  30. resources => {
  31. repository => {
  32. type => 'git',
  33. url => 'https://github.com/teodesian/TestRail-Perl.git',
  34. web => 'https://github.com/teodesian/TestRail-Perl',
  35. },
  36. },
  37. license => ['artistic_2'],
  38. prereqs => {
  39. runtime => {
  40. requires => {
  41. 'perl' => '5.010',
  42. "Carp" => 0,
  43. "Scalar::Util" => 0,
  44. "Data::Validate::URI" => 0,
  45. "Clone" => 0,
  46. "Try::Tiny" => 0,
  47. "JSON::XS" => 0,
  48. "HTTP::Request" => 0,
  49. "LWP::UserAgent" => 0,
  50. "Types::Serialiser" => 0
  51. }
  52. },
  53. test => {
  54. requires => {
  55. "Test::More" => 0,
  56. "Scalar::Util" => 0,
  57. "Prompt::Timeout" => 0,
  58. "Test::Pod" => 0,
  59. "Test::Pod::Coverage" => 0
  60. },
  61. }
  62. },
  63. provides => {
  64. 'TestRail::API' => {
  65. file => 'lib/TestRail/API.pm',
  66. version => '0.009'
  67. }
  68. }
  69. }
  70. );