Makefile.PL 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. },
  12. PREREQ_PM => {
  13. "Carp" => 0,
  14. "Scalar::Util" => 0,
  15. "Data::Validate::URI" => 0,
  16. "Clone" => 0,
  17. "Try::Tiny" => 0,
  18. "JSON::XS" => 0,
  19. "HTTP::Request" => 0,
  20. "LWP::UserAgent" => 0
  21. },
  22. META_MERGE => {
  23. 'meta-spec' => { version => 2 },
  24. name => 'TestRail::API',
  25. abstract => "Provides an interface to TestRail's REST api via HTTP",
  26. author => ['George S. Baugh <teodesian@cpan.org>'],
  27. resources => {
  28. repository => {
  29. type => 'git',
  30. url => 'https://github.com/teodesian/TestRail-Perl.git',
  31. web => 'https://github.com/teodesian/TestRail-Perl',
  32. },
  33. },
  34. license => ['artistic_2'],
  35. prereqs => {
  36. runtime => {
  37. requires => {
  38. 'perl' => '5.010',
  39. "Carp" => 0,
  40. "Scalar::Util" => 0,
  41. "Data::Validate::URI" => 0,
  42. "Clone" => 0,
  43. "Try::Tiny" => 0,
  44. "JSON::XS" => 0,
  45. "HTTP::Request" => 0,
  46. "LWP::UserAgent" => 0
  47. }
  48. },
  49. test => {
  50. requires => {
  51. "Test::More" => 0,
  52. "Scalar::Util" => 0,
  53. "Prompt::Timeout" => 0
  54. },
  55. }
  56. },
  57. provides => {
  58. 'TestRail::API' => {
  59. file => 'lib/TestRail/API.pm',
  60. version => '0.007'
  61. }
  62. }
  63. }
  64. );