[DRE-commits] [taskwarrior-web] 02/04: Remove rubygems and missing/unneeded spec deps.

Ben Armstrong synrg at alioth.debian.org
Thu Aug 15 20:42:11 UTC 2013


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

synrg pushed a commit to branch master
in repository taskwarrior-web.

commit 0dc90728fa78f79ff6ea98a6b4bb6d5cccc042af
Author: Ben Armstrong <synrg at debian.org>
Date:   Thu Aug 15 17:33:18 2013 -0300

    Remove rubygems and missing/unneeded spec deps.
---
 debian/patches/disable_rubygems.patch         |   22 ++++++++++++++++++
 debian/patches/remove_missing_spec_deps.patch |   30 +++++++++++++++++++++++++
 debian/patches/series                         |    2 ++
 3 files changed, 54 insertions(+)

diff --git a/debian/patches/disable_rubygems.patch b/debian/patches/disable_rubygems.patch
new file mode 100644
index 0000000..b270cf2
--- /dev/null
+++ b/debian/patches/disable_rubygems.patch
@@ -0,0 +1,22 @@
+Description: Disable the use of rubygems
+ Since all dependencies are provided by Debian packages, we disable all
+ require 'rubygems'.
+ .
+ taskwarrior-web (1.1.11-1) unstable; urgency=low
+ .
+   * Initial release (Closes: #719315)
+Author: Ben Armstrong <synrg at sanctuary.nslug.ns.ca>
+Bug-Debian: http://bugs.debian.org/719315
+Forwarded: not-needed
+Last-Update: 2013-08-15
+
+--- taskwarrior-web-1.1.11.orig/lib/taskwarrior-web.rb
++++ taskwarrior-web-1.1.11/lib/taskwarrior-web.rb
+@@ -1,7 +1,6 @@
+ $:.unshift(File.dirname(__FILE__)) unless
+   $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
+ 
+-require 'rubygems'
+ require 'active_support/core_ext'
+ require 'taskwarrior-web/version'
+ 
diff --git a/debian/patches/remove_missing_spec_deps.patch b/debian/patches/remove_missing_spec_deps.patch
new file mode 100644
index 0000000..9bdf1d9
--- /dev/null
+++ b/debian/patches/remove_missing_spec_deps.patch
@@ -0,0 +1,30 @@
+Description: Remove dependencies of specs that are missing
+ These spec dependencies are either unnecessary or we can disable the specs
+ that depend on them for now.
+ .
+ taskwarrior-web (1.1.11-1) unstable; urgency=low
+ .
+   * Initial release (Closes: #719315)
+Author: Ben Armstrong <synrg at sanctuary.nslug.ns.ca>
+Bug-Debian: http://bugs.debian.org/719315
+Forwarded: not-needed
+Last-Update: 2013-08-15
+
+--- taskwarrior-web-1.1.11.orig/spec/spec_helper.rb
++++ taskwarrior-web-1.1.11/spec/spec_helper.rb
+@@ -2,6 +2,7 @@ require 'sinatra'
+ require 'rack/test'
+ require 'rspec'
+ require 'simple_navigation'
++=begin
+ require 'rspec-html-matchers'
+ 
+ # Simplecov
+@@ -9,6 +10,7 @@ require 'simplecov'
+ SimpleCov.start do
+   add_filter "spec"
+ end
++=end
+ 
+ # Requires supporting files with custom matchers and macros, etc,
+ # in ./support/ and its subdirectories.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1f33d96
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+remove_missing_spec_deps.patch
+disable_rubygems.patch

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



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