[DRE-commits] [ruby-launchy] 06/13: Patch to comment out RDoc generation task

Gioele Barabucci gioele-guest at alioth.debian.org
Sat Oct 5 13:43:21 UTC 2013


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

gioele-guest pushed a commit to branch master
in repository ruby-launchy.

commit db81cff4f0617132bb08a2cdee64fef61bf0af60
Author: Gioele Barabucci <gioele at svario.it>
Date:   Sat Oct 5 11:59:50 2013 +0000

    Patch to comment out RDoc generation task
---
 .../0001-Comment-out-RDoc-generation-task.patch    |   47 ++++++++++++++++++++
 debian/patches/series                              |    1 +
 2 files changed, 48 insertions(+)

diff --git a/debian/patches/0001-Comment-out-RDoc-generation-task.patch b/debian/patches/0001-Comment-out-RDoc-generation-task.patch
new file mode 100644
index 0000000..cd98137
--- /dev/null
+++ b/debian/patches/0001-Comment-out-RDoc-generation-task.patch
@@ -0,0 +1,47 @@
+From: Gioele Barabucci <gioele at svario.it>
+Date: Sat, 5 Oct 2013 11:37:18 +0000
+Subject: Comment out RDoc generation task
+
+---
+ tasks/default.rake | 28 ++++++++++++++--------------
+ 1 file changed, 14 insertions(+), 14 deletions(-)
+
+diff --git a/tasks/default.rake b/tasks/default.rake
+index 35e6743..66e57ce 100644
+--- a/tasks/default.rake
++++ b/tasks/default.rake
+@@ -68,20 +68,20 @@ end
+ # RDoc - standard rdoc rake task, although we must make sure to use a more
+ #        recent version of rdoc since it is the one that has 'tomdoc' markup
+ #------------------------------------------------------------------------------
+-begin
+-  gem 'rdoc' # otherwise we get the wrong task from stdlib
+-  require 'rdoc/task'
+-  RDoc::Task.new do |t|
+-    t.markup   = 'tomdoc'
+-    t.rdoc_dir = 'doc'
+-    t.main     = 'README.md'
+-    t.title    = "#{This.name} #{This.version}"
+-    t.rdoc_files.include( FileList['*.{rdoc,md,txt}'], FileList['ext/**/*.c'],
+-                          FileList['lib/**/*.rb'] )
+-  end
+-rescue LoadError => le
+-  This.task_warning( 'rdoc' )
+-end
++#begin
++#  gem 'rdoc' # otherwise we get the wrong task from stdlib
++#  require 'rdoc/task'
++#  RDoc::Task.new do |t|
++#    t.markup   = 'tomdoc'
++#    t.rdoc_dir = 'doc'
++#    t.main     = 'README.md'
++#    t.title    = "#{This.name} #{This.version}"
++#    t.rdoc_files.include( FileList['*.{rdoc,md,txt}'], FileList['ext/**/*.c'],
++#                          FileList['lib/**/*.rb'] )
++#  end
++#rescue LoadError => le
++#  This.task_warning( 'rdoc' )
++#end
+ 
+ #------------------------------------------------------------------------------
+ # Coverage - optional code coverage, rcov for 1.8 and simplecov for 1.9, so
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b75b1d5
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Comment-out-RDoc-generation-task.patch

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



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