[Bps-public-commit] RT-Client-CLI branch, master, updated. 0b28f844d4c72836d4bdb98e92164c9dde20309f
Thomas Sibley
trs at bestpractical.com
Fri Jun 21 20:19:38 EDT 2013
The branch, master has been updated
via 0b28f844d4c72836d4bdb98e92164c9dde20309f (commit)
via 85dfa3f28585fc1ebc1631e310ee15456b22d663 (commit)
from 65fb77ebd38b61fb5fefb9e4ce8c9053a81d901d (commit)
Summary of changes:
Build.PL | 3 --
Changes | 3 ++
META.json | 4 +--
Makefile.PL | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++
dist.ini | 1 +
lib/RT/Client/CLI.pm | 2 +-
6 files changed, 85 insertions(+), 6 deletions(-)
delete mode 100644 Build.PL
create mode 100644 Makefile.PL
- Log -----------------------------------------------------------------
commit 85dfa3f28585fc1ebc1631e310ee15456b22d663
Author: Thomas Sibley <trs at bestpractical.com>
Date: Fri Jun 21 17:15:52 2013 -0700
Switch to ExtUtils::MakeMaker from Module::Build::Tiny to avoid excessive build deps
The most common users of RT::Client::CLI are unlikely to have M:B:T
installed already, and it requires a number of non-core deps. The
actual runtime deps for this package are intentionally very slim, so
increased build-time deps are unwelcome and add to overall install time.
diff --git a/Build.PL b/Build.PL
deleted file mode 100644
index abfbb2d..0000000
--- a/Build.PL
+++ /dev/null
@@ -1,3 +0,0 @@
-use 5.008005;
-use Module::Build::Tiny 0.017;
-Build_PL();
diff --git a/META.json b/META.json
index 01e31e0..f91641a 100644
--- a/META.json
+++ b/META.json
@@ -38,7 +38,7 @@
"prereqs" : {
"configure" : {
"requires" : {
- "Module::Build::Tiny" : "0.017"
+ "ExtUtils::MakeMaker" : "6.30"
}
},
"develop" : {
diff --git a/Makefile.PL b/Makefile.PL
new file mode 100644
index 0000000..5b61e8f
--- /dev/null
+++ b/Makefile.PL
@@ -0,0 +1,78 @@
+
+use strict;
+use warnings;
+
+use 5.008005;
+
+use ExtUtils::MakeMaker 6.30;
+
+
+
+my %WriteMakefileArgs = (
+ "ABSTRACT" => "Provides the official rt command line client",
+ "AUTHOR" => "Thomas Sibley <trs\@bestpractical.com>",
+ "BUILD_REQUIRES" => {},
+ "CONFIGURE_REQUIRES" => {
+ "ExtUtils::MakeMaker" => "6.30"
+ },
+ "DISTNAME" => "RT-Client-CLI",
+ "EXE_FILES" => [
+ "script/rt"
+ ],
+ "LICENSE" => "perl",
+ "NAME" => "RT::Client::CLI",
+ "PREREQ_PM" => {
+ "Cwd" => 0,
+ "File::Temp" => 0,
+ "HTTP::Headers" => 0,
+ "HTTP::Request::Common" => 0,
+ "LWP" => 0,
+ "Pod::Usage" => 0,
+ "Term::ReadKey" => 0,
+ "Term::ReadLine" => 0,
+ "Text::ParseWords" => 0,
+ "Time::Local" => 0
+ },
+ "TEST_REQUIRES" => {
+ "Test::More" => "0.88"
+ },
+ "VERSION" => "4.0.13",
+ "test" => {
+ "TESTS" => "t/*.t"
+ }
+);
+
+
+unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
+ my $tr = delete $WriteMakefileArgs{TEST_REQUIRES};
+ my $br = $WriteMakefileArgs{BUILD_REQUIRES};
+ for my $mod ( keys %$tr ) {
+ if ( exists $br->{$mod} ) {
+ $br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod};
+ }
+ else {
+ $br->{$mod} = $tr->{$mod};
+ }
+ }
+}
+
+unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
+ my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
+ my $pp = $WriteMakefileArgs{PREREQ_PM};
+ for my $mod ( keys %$br ) {
+ if ( exists $pp->{$mod} ) {
+ $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
+ }
+ else {
+ $pp->{$mod} = $br->{$mod};
+ }
+ }
+}
+
+delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
+ unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
+
+WriteMakefile(%WriteMakefileArgs);
+
+
+
diff --git a/dist.ini b/dist.ini
index 2514a12..4dba53e 100644
--- a/dist.ini
+++ b/dist.ini
@@ -1,4 +1,5 @@
[@Milla]
+installer = MakeMaker
[AutoMetaResources]
bugtracker.rt = 1
commit 0b28f844d4c72836d4bdb98e92164c9dde20309f
Author: Thomas Sibley <trs at bestpractical.com>
Date: Fri Jun 21 17:19:36 2013 -0700
4.0.13.1
diff --git a/Changes b/Changes
index ba3f46f..d2b7c5e 100644
--- a/Changes
+++ b/Changes
@@ -2,5 +2,8 @@ Revision history for RT-Client-CLI
{{$NEXT}}
+4.0.13.1 2013-06-21 17:18:58 PDT
+ - Switch installer to ExtUtils::MakeMaker for less deps
+
4.0.13 2013-05-29 11:26:22 PDT
- Initial release
diff --git a/META.json b/META.json
index f91641a..b5017a6 100644
--- a/META.json
+++ b/META.json
@@ -80,7 +80,7 @@
"web" : "https://github.com/bestpractical/rt-client-cli"
}
},
- "version" : "4.0.13",
+ "version" : "4.0.13.1",
"x_contributors" : [
"Thomas Sibley <trs at bestpractical.com>"
]
diff --git a/Makefile.PL b/Makefile.PL
index 5b61e8f..dbf0e84 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -36,7 +36,7 @@ my %WriteMakefileArgs = (
"TEST_REQUIRES" => {
"Test::More" => "0.88"
},
- "VERSION" => "4.0.13",
+ "VERSION" => "4.0.13.1",
"test" => {
"TESTS" => "t/*.t"
}
diff --git a/lib/RT/Client/CLI.pm b/lib/RT/Client/CLI.pm
index bcfd682..1d99ef5 100644
--- a/lib/RT/Client/CLI.pm
+++ b/lib/RT/Client/CLI.pm
@@ -3,7 +3,7 @@ package RT::Client::CLI;
use strict;
use warnings;
use 5.008_005;
-our $VERSION = '4.0.13';
+our $VERSION = '4.0.13.1';
1;
__END__
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list