[DRE-commits] [ruby-neovim] 03/03: add patch: remove_coveralls_pry_bundler.patch to comment out unneeded requires

Jason Pleau jpleau-guest at moszumanska.debian.org
Fri Aug 26 01:07:37 UTC 2016


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

jpleau-guest pushed a commit to branch master
in repository ruby-neovim.

commit 566d3afb5cbf924e380c34324c6f8f0e795d6694
Author: Jason Pleau <jason at jpleau.ca>
Date:   Thu Aug 25 20:49:34 2016 -0400

    add patch: remove_coveralls_pry_bundler.patch to comment out unneeded requires
---
 debian/patches/remove_coveralls_pry_bundler.patch | 31 +++++++++++++++++++++++
 debian/patches/series                             |  1 +
 2 files changed, 32 insertions(+)

diff --git a/debian/patches/remove_coveralls_pry_bundler.patch b/debian/patches/remove_coveralls_pry_bundler.patch
new file mode 100644
index 0000000..9c98eee
--- /dev/null
+++ b/debian/patches/remove_coveralls_pry_bundler.patch
@@ -0,0 +1,31 @@
+Description: Remove coveralls, pry and bundler/setup
+ coveralls is used for code coverage, not needed when packaging for Debian
+ pry acts as a developer console, and not needed when building this package
+ bundler/setup is also not needed since dependencies are already installed
+ from Build-Depends
+Author: Jason Pleau <jason at jpleau.ca>
+Last-Update: 2016-08-25
+
+--- a/spec/helper.rb
++++ b/spec/helper.rb
+@@ -1,14 +1,14 @@
+-require "bundler/setup"
++#require "bundler/setup"
+ require "neovim"
+-require "pry"
++#require "pry"
+ require "stringio"
+ require "timeout"
+ require "fileutils"
+ 
+-if ENV["REPORT_COVERAGE"]
+-  require "coveralls"
+-  Coveralls.wear!
+-end
++#if ENV["REPORT_COVERAGE"]
++#  require "coveralls"
++#  Coveralls.wear!
++#end
+ 
+ unless system("nvim -nu NONE +q")
+   warn("Can't find `nvim` executable. See installation instructions:")
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c41bd71
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+remove_coveralls_pry_bundler.patch

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



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