[DRE-commits] [ruby-jwt] 08/09: Create patch to remove some unnecessary build dependencies

Lucas Kanashiro kanashiro at moszumanska.debian.org
Tue Jun 21 16:58:10 UTC 2016


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

kanashiro pushed a commit to branch master
in repository ruby-jwt.

commit 965e93ec222ed431138878c35b8caf3547a4a085
Author: Lucas Kanashiro <kanashiro at debian.org>
Date:   Tue Jun 21 12:51:10 2016 -0300

    Create patch to remove some unnecessary build dependencies
---
 debian/changelog                                   |  1 +
 ...001-remove-unnecessary-build-dependencies.patch | 28 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 30 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 3dd09e8..50632a5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,7 @@ ruby-jwt (1.5.4-1) UNRELEASED; urgency=medium
   * Update Debian packaging copyright
   * Declare compliance with Debian policy 3.9.8
   * debian/control: remove dependency on ruby-multi-json
+  * Create patch to remove some unnecessary build dependencies
 
  -- Cédric Boutillier <boutil at moszumanska.debian.org>  Tue, 21 Jun 2016 12:31:19 -0300
 
diff --git a/debian/patches/0001-remove-unnecessary-build-dependencies.patch b/debian/patches/0001-remove-unnecessary-build-dependencies.patch
new file mode 100644
index 0000000..1393558
--- /dev/null
+++ b/debian/patches/0001-remove-unnecessary-build-dependencies.patch
@@ -0,0 +1,28 @@
+Description: Remove some development dependencies from tests
+Author: Lucas Kanashiro <kanashiro at debian.org>
+Last-Updated: 2016-06-21
+
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -1,21 +1,4 @@
+ require 'rspec'
+-require 'simplecov'
+-require 'simplecov-json'
+-require 'codeclimate-test-reporter'
+-
+-SimpleCov.configure do
+-  root File.join(File.dirname(__FILE__), '..')
+-  project_name 'Ruby JWT - Ruby JSON Web Token implementation'
+-  SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
+-    SimpleCov::Formatter::HTMLFormatter,
+-    SimpleCov::Formatter::JSONFormatter
+-  ])
+-
+-  add_filter 'spec'
+-end
+-
+-SimpleCov.start if ENV['COVERAGE']
+-CodeClimate::TestReporter.start if ENV['CODECLIMATE_REPO_TOKEN']
+ 
+ CERT_PATH = File.join(File.dirname(__FILE__), 'fixtures', 'certs')
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9bf992b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-remove-unnecessary-build-dependencies.patch

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



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