[DRE-commits] [ruby-commander] 01/01: Imported Debian patch 4.1.5-1

Youhei SASAKI uwabami-guest at alioth.debian.org
Thu Oct 17 08:58:36 UTC 2013


This is an automated email from the git hooks/post-receive script.

uwabami-guest pushed a commit to branch master
in repository ruby-commander.

commit 15ce1669c18d8341fa7e453a301662857501b503
Author: Youhei SASAKI <uwabami at gfd-dennou.org>
Date:   Wed Oct 16 16:55:56 2013 +0900

    Imported Debian patch 4.1.5-1
    
    Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
---
 bin/commander                                   |    4 +-
 debian/changelog                                |    5 +++
 debian/commander.1                              |   44 +++++++++++++++++++
 debian/compat                                   |    1 +
 debian/control                                  |   37 ++++++++++++++++
 debian/copyright                                |   32 ++++++++++++++
 debian/patches/0001-Drop-RubyGems-Depends.patch |   52 +++++++++++++++++++++++
 debian/patches/0002-Drop-SimpleCov.patch        |   20 +++++++++
 debian/patches/series                           |    2 +
 debian/ruby-commander.docs                      |    1 +
 debian/ruby-commander.manpages                  |    1 +
 debian/ruby-tests.rake                          |    5 +++
 debian/rules                                    |    6 +++
 debian/source/format                            |    1 +
 debian/watch                                    |    2 +
 spec/spec_helper.rb                             |    5 +--
 16 files changed, 211 insertions(+), 7 deletions(-)

diff --git a/bin/commander b/bin/commander
index 393daec..201f9d1 100755
--- a/bin/commander
+++ b/bin/commander
@@ -1,6 +1,5 @@
 #!/usr/bin/env ruby
 
-require 'rubygems'
 require 'commander/import'
 
 program :name, 'commander'
@@ -23,7 +22,6 @@ command :init do |c|
         f.write <<-"...".gsub!(/^ {10}/, '')
           #!/usr/bin/env ruby
           
-          require 'rubygems'
           require 'commander/import'
           
           program :version, '0.0.1'
@@ -52,4 +50,4 @@ command :init do |c|
        abort e
      end
   end
-end
\ No newline at end of file
+end
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5802411
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ruby-commander (4.1.5-1) unstable; urgency=low
+
+  * Initial release (Closes: #726488)
+
+ -- Youhei SASAKI <uwabami at gfd-dennou.org>  Wed, 16 Oct 2013 16:55:56 +0900
diff --git a/debian/commander.1 b/debian/commander.1
new file mode 100644
index 0000000..0df50d1
--- /dev/null
+++ b/debian/commander.1
@@ -0,0 +1,44 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.43.3.
+.TH COMMANDER "1" "October 2013" "commander 4.1.5" "User Commands"
+.SH NAME
+commander \- COMMANDER
+.SH DESCRIPTION
+.IP
+NAME:
+.IP
+commander
+.IP
+DESCRIPTION:
+.IP
+Commander utility program.
+.IP
+COMMANDS:
+.PP
+
+.TP
+help
+Display global or [command] help documentation.
+.TP
+init
+Initialize a commander template
+.IP
+GLOBAL OPTIONS:
+.PP
+
+.HP
+\fB\-h\fR, \fB\-\-help\fR
+.IP
+Display help documentation
+.PP
+
+.HP
+\fB\-v\fR, \fB\-\-version\fR
+.IP
+Display version information
+.PP
+
+.HP
+\fB\-t\fR, \fB\-\-trace\fR
+.IP
+Display backtrace when an error occurs
+.PP
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..92bb92c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,37 @@
+Source: ruby-commander
+Section: ruby
+Priority: optional
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Uploaders: Youhei SASAKI <uwabami at gfd-dennou.org>
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.5.0~), rake, ruby-rspec, ruby-highline
+Standards-Version: 3.9.4
+Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-commander.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-commander.git;a=summary
+Homepage: http://visionmedia.github.com/commander
+XS-Ruby-Versions: all
+
+Package: ruby-commander
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-highline
+Description: Ruby command-line interface library
+ "Commander" bridges the gap between other terminal related libraries
+ you know and love (OptionParser, HighLine), while providing many new
+ features, and an elegant API.
+ .
+ Features:
+    * Easier than baking cookies
+    * Parses options using OptionParser
+    * Auto-populates struct with options:
+      ( no more { |v| options[:recursive] = v } )
+    * Auto-generates help documentation via pluggable help formatters
+    * Optional default command when none is present
+    * Global / Command level options
+    * Packaged with two help formatters (Terminal, TerminalCompact)
+    * Imports the highline gem for interacting with the terminal
+    * Adds additional user interaction functionality
+    * Highly customizable progress bar with intuitive, simple usage
+    * Multi-word command name support
+    * Sexy paging for long bodies of text
+    * Command aliasing
+    * Use the 'commander' executable to initialize a commander driven program
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..9d7e579
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: commander
+Source: http://visionmedia.github.io/commander/
+
+Files: *
+Copyright: 2008-2009 TJ Holowaychuk <tj at vision-media.ca>
+License: Expat
+
+Files: debian/*
+Copyright: 2013 Youhei SASAKI <uwabami at gfd-dennou.org>
+License: Expat
+Comment: the Debian packaging is licensed under the same terms as the original package.
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ 'Software'), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/debian/patches/0001-Drop-RubyGems-Depends.patch b/debian/patches/0001-Drop-RubyGems-Depends.patch
new file mode 100644
index 0000000..9cb03de
--- /dev/null
+++ b/debian/patches/0001-Drop-RubyGems-Depends.patch
@@ -0,0 +1,52 @@
+From: Youhei SASAKI <uwabami at gfd-dennou.org>
+Date: Wed, 16 Oct 2013 16:59:26 +0900
+Subject: Drop RubyGems Depends
+
+Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
+---
+ bin/commander       | 4 +---
+ spec/spec_helper.rb | 3 +--
+ 2 files changed, 2 insertions(+), 5 deletions(-)
+
+diff --git a/bin/commander b/bin/commander
+index 393daec..201f9d1 100755
+--- a/bin/commander
++++ b/bin/commander
+@@ -1,6 +1,5 @@
+ #!/usr/bin/env ruby
+ 
+-require 'rubygems'
+ require 'commander/import'
+ 
+ program :name, 'commander'
+@@ -23,7 +22,6 @@ command :init do |c|
+         f.write <<-"...".gsub!(/^ {10}/, '')
+           #!/usr/bin/env ruby
+           
+-          require 'rubygems'
+           require 'commander/import'
+           
+           program :version, '0.0.1'
+@@ -52,4 +50,4 @@ command :init do |c|
+        abort e
+      end
+   end
+-end
+\ No newline at end of file
++end
+diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
+index c302ab6..4fe1fae 100644
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -1,4 +1,3 @@
+-require 'rubygems'
+ require 'stringio'
+ require 'simplecov'
+ SimpleCov.start
+@@ -72,4 +71,4 @@ def run *args
+     program :help_formatter, Commander::HelpFormatter::Base
+   end.run!    
+   @output.string
+-end
+\ No newline at end of file
++end
diff --git a/debian/patches/0002-Drop-SimpleCov.patch b/debian/patches/0002-Drop-SimpleCov.patch
new file mode 100644
index 0000000..30b992e
--- /dev/null
+++ b/debian/patches/0002-Drop-SimpleCov.patch
@@ -0,0 +1,20 @@
+From: Youhei SASAKI <uwabami at gfd-dennou.org>
+Date: Wed, 16 Oct 2013 16:59:47 +0900
+Subject: Drop SimpleCov
+
+Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
+---
+ spec/spec_helper.rb | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
+index 4fe1fae..93374ca 100644
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -1,6 +1,4 @@
+ require 'stringio'
+-require 'simplecov'
+-SimpleCov.start
+ 
+ # Unshift so that local files load instead of something in gems
+ $:.unshift File.dirname(__FILE__) + '/../lib'
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..fe25716
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+0001-Drop-RubyGems-Depends.patch
+0002-Drop-SimpleCov.patch
diff --git a/debian/ruby-commander.docs b/debian/ruby-commander.docs
new file mode 100644
index 0000000..e475c53
--- /dev/null
+++ b/debian/ruby-commander.docs
@@ -0,0 +1 @@
+README.rdoc
diff --git a/debian/ruby-commander.manpages b/debian/ruby-commander.manpages
new file mode 100644
index 0000000..f5bc341
--- /dev/null
+++ b/debian/ruby-commander.manpages
@@ -0,0 +1 @@
+debian/commander.1
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..d7ff93f
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,5 @@
+require "rspec/core/rake_task"
+task :default => :spec
+RSpec::Core::RakeTask.new do |t|
+  t.verbose = false
+end
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..6d2b780
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+%:
+	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_installchangelogs:
+	dh_installchangelogs History.rdoc
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..6b72d3a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/commander .*/commander-(.*).tar.gz
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index c302ab6..93374ca 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,7 +1,4 @@
-require 'rubygems'
 require 'stringio'
-require 'simplecov'
-SimpleCov.start
 
 # Unshift so that local files load instead of something in gems
 $:.unshift File.dirname(__FILE__) + '/../lib'
@@ -72,4 +69,4 @@ def run *args
     program :help_formatter, Commander::HelpFormatter::Base
   end.run!    
   @output.string
-end
\ No newline at end of file
+end

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-commander.git



More information about the Pkg-ruby-extras-commits mailing list