Makefile.PL 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. abstract => "Provides an interface to TestRail's REST api via HTTP",
  28. author => ['George S. Baugh <teodesian@cpan.org>'],
  29. resources => {
  30. repository => {
  31. type => 'git',
  32. url => 'https://github.com/teodesian/TestRail-Perl.git',
  33. web => 'https://github.com/teodesian/TestRail-Perl',
  34. },
  35. },
  36. license => ['artistic_2'],
  37. prereqs => {
  38. runtime => {
  39. requires => {
  40. 'perl' => '5.010',
  41. "Carp" => 0,
  42. "Scalar::Util" => 0,
  43. "Data::Validate::URI" => 0,
  44. "Clone" => 0,
  45. "Try::Tiny" => 0,
  46. "JSON::XS" => 0,
  47. "HTTP::Request" => 0,
  48. "LWP::UserAgent" => 0,
  49. "Types::Serialiser" => 0
  50. }
  51. },
  52. test => {
  53. requires => {
  54. "Test::More" => 0,
  55. "Scalar::Util" => 0,
  56. "Prompt::Timeout" => 0,
  57. "Test::Pod" => 0,
  58. "Test::Pod::Coverage" => 0
  59. },
  60. }
  61. },
  62. provides => {
  63. 'TestRail::API' => {
  64. file => 'lib/TestRail/API.pm',
  65. version => '0.010'
  66. }
  67. }
  68. }
  69. );