diff -Nru ruby-sinatra-contrib-1.4.6/debian/changelog ruby-sinatra-contrib-1.4.6/debian/changelog --- ruby-sinatra-contrib-1.4.6/debian/changelog 2015-09-09 20:29:28.000000000 +0000 +++ ruby-sinatra-contrib-1.4.6/debian/changelog 2016-02-18 15:27:40.000000000 +0000 @@ -1,3 +1,9 @@ +ruby-sinatra-contrib (1.4.6-2) unstable; urgency=medium + + * Remove unavailable dependencies from the list of engines. (Closes: #812189) + + -- Jérémy Bobbio Thu, 18 Feb 2016 16:27:39 +0100 + ruby-sinatra-contrib (1.4.6-1) unstable; urgency=low * New upstream version. diff -Nru ruby-sinatra-contrib-1.4.6/debian/patches/remove-unpackaged-dependencies.patch ruby-sinatra-contrib-1.4.6/debian/patches/remove-unpackaged-dependencies.patch --- ruby-sinatra-contrib-1.4.6/debian/patches/remove-unpackaged-dependencies.patch 2015-09-09 20:29:28.000000000 +0000 +++ ruby-sinatra-contrib-1.4.6/debian/patches/remove-unpackaged-dependencies.patch 2016-02-18 15:27:21.000000000 +0000 @@ -95,3 +95,32 @@ - s.add_development_dependency "markaby" s.add_development_dependency "rake" end +Index: git/lib/sinatra/respond_with.rb +=================================================================== +--- git.orig/lib/sinatra/respond_with.rb ++++ git/lib/sinatra/respond_with.rb +@@ -216,7 +216,6 @@ module Sinatra + + def rendering_method(engine) + return [engine] if Sinatra::Templates.method_defined? engine +- return [:mab] if engine.to_sym == :markaby + [:render, :engine] + end + +@@ -238,13 +237,12 @@ module Sinatra + + def self.engines + engines = { +- :css => [:less, :sass, :scss], ++ :css => [:sass, :scss], + :xml => [:builder, :nokogiri], + :js => [:coffee], +- :html => [:erb, :erubis, :haml, :slim, :liquid, :radius, :mab, ++ :html => [:erb, :erubis, :haml, :slim, :liquid, + :markdown, :textile, :rdoc], +- :all => (Sinatra::Templates.instance_methods.map(&:to_sym) + +- [:mab] - [:find_template, :markaby]), ++ :all => (Sinatra::Templates.instance_methods.map(&:to_sym) - [:find_template, :less, :radius, :markaby]), + :json => [:yajl], + } + engines.default = []