[DRE-commits] [ruby-sinatra-contrib] 04/07: Add a patch to remove unpackaged dependencies

Jérémy Bobbio lunar at moszumanska.debian.org
Wed Sep 9 20:30:49 UTC 2015


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

lunar pushed a commit to branch master
in repository ruby-sinatra-contrib.

commit 4e6d47c8dff14b5b952ce1a7d94af6fb56560ebf
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Wed Sep 9 16:00:33 2015 +0200

    Add a patch to remove unpackaged dependencies
    
    These gems are not in Debian and only used for the test suite.
---
 .../patches/remove-unpackaged-dependencies.patch   | 97 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 98 insertions(+)

diff --git a/debian/patches/remove-unpackaged-dependencies.patch b/debian/patches/remove-unpackaged-dependencies.patch
new file mode 100644
index 0000000..6250c44
--- /dev/null
+++ b/debian/patches/remove-unpackaged-dependencies.patch
@@ -0,0 +1,97 @@
+Description: remove unpackaged dependencies
+ less, markaby, and radius are not in Debian. As they are just used
+ how Sinatra behave with these engines loaded, we simply remove them.
+Author: Jérémy Bobbio <lunar at debian.org>
+Forwarded: not-needed
+Last-Update: 2015-09-09
+
+Index: git/metadata.yml
+===================================================================
+--- git.orig/metadata.yml
++++ git/metadata.yml
+@@ -204,20 +204,6 @@ dependencies:
+       - !ruby/object:Gem::Version
+         version: '0'
+ - !ruby/object:Gem::Dependency
+-  name: less
+-  requirement: !ruby/object:Gem::Requirement
+-    requirements:
+-    - - ">="
+-      - !ruby/object:Gem::Version
+-        version: '0'
+-  type: :development
+-  prerelease: false
+-  version_requirements: !ruby/object:Gem::Requirement
+-    requirements:
+-    - - ">="
+-      - !ruby/object:Gem::Version
+-        version: '0'
+-- !ruby/object:Gem::Dependency
+   name: sass
+   requirement: !ruby/object:Gem::Requirement
+     requirements:
+@@ -302,20 +288,6 @@ dependencies:
+       - !ruby/object:Gem::Version
+         version: '0'
+ - !ruby/object:Gem::Dependency
+-  name: radius
+-  requirement: !ruby/object:Gem::Requirement
+-    requirements:
+-    - - ">="
+-      - !ruby/object:Gem::Version
+-        version: '0'
+-  type: :development
+-  prerelease: false
+-  version_requirements: !ruby/object:Gem::Requirement
+-    requirements:
+-    - - ">="
+-      - !ruby/object:Gem::Version
+-        version: '0'
+-- !ruby/object:Gem::Dependency
+   name: coffee-script
+   requirement: !ruby/object:Gem::Requirement
+     requirements:
+@@ -362,20 +334,6 @@ dependencies:
+   requirement: !ruby/object:Gem::Requirement
+     requirements:
+     - - ">="
+-      - !ruby/object:Gem::Version
+-        version: '0'
+-  type: :development
+-  prerelease: false
+-  version_requirements: !ruby/object:Gem::Requirement
+-    requirements:
+-    - - ">="
+-      - !ruby/object:Gem::Version
+-        version: '0'
+-- !ruby/object:Gem::Dependency
+-  name: markaby
+-  requirement: !ruby/object:Gem::Requirement
+-    requirements:
+-    - - ">="
+       - !ruby/object:Gem::Version
+         version: '0'
+   type: :development
+Index: git/sinatra-contrib.gemspec
+===================================================================
+--- git.orig/sinatra-contrib.gemspec
++++ git/sinatra-contrib.gemspec
+@@ -219,18 +219,15 @@ Gem::Specification.new do |s|
+   s.add_development_dependency "haml"
+   s.add_development_dependency "erubis"
+   s.add_development_dependency "slim"
+-  s.add_development_dependency "less"
+   s.add_development_dependency "sass"
+   s.add_development_dependency "builder"
+   s.add_development_dependency "liquid"
+   s.add_development_dependency "redcarpet"
+   s.add_development_dependency "RedCloth"
+   s.add_development_dependency "asciidoctor"
+-  s.add_development_dependency "radius"
+   s.add_development_dependency "coffee-script"
+   s.add_development_dependency "nokogiri"
+   s.add_development_dependency "creole"
+   s.add_development_dependency "wikicloth"
+-  s.add_development_dependency "markaby"
+   s.add_development_dependency "rake"
+ end
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..13417e7
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+remove-unpackaged-dependencies.patch

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



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