Makefile.PL 2.2 KB

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