Package: ruby-mustache Version: 0.99.6-1 Severity: normal Tags: patch Dear Maintainer,
ruby-mustache currently depends on ruby-sinatra, although mustache does in no way depend on sinatra to perform its core functionality. The Debian Policy states that "[t]he Depends field should be used if the depended-on package is required for the depending package to provide a significant amount of functionality". While mustache 0.99 provides sinatra integration code, it is neither loaded by default, nor needed for normal operation. The rubygem "mustache" does not have any runtime dependencies apart from Ruby. (Even the integration code is completely dropped from the current version of mustache and is not present as of 1.0.2.) Although a "Suggests" relation is more loose than a full "Depends", I would argue that the ruby-rack dependency should be removed as well. The attached patch removes the dependency on ruby-sinatra as well as the "Suggests" dependency on ruby-rack from the control file. Best, Sebastian -- System Information: Debian Release: 7.8 APT prefers oldstable APT policy: (500, 'oldstable') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8) Shell: /bin/sh linked to /bin/dash
>From 6d342689e837370d012439423c4016fcd19d991f Mon Sep 17 00:00:00 2001 From: Sebastian Boehm <sebast...@sometimesfood.org> Date: Mon, 21 Sep 2015 13:05:51 +0200 Subject: [PATCH] Remove superfluous dependencies (sinatra, rack) --- debian/control | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/debian/control b/debian/control index cffde95..d2c24df 100644 --- a/debian/control +++ b/debian/control @@ -13,8 +13,7 @@ XS-Ruby-Versions: all Package: ruby-mustache Architecture: all XB-Ruby-Versions: ${ruby:Versions} -Depends: ${misc:Depends}, ruby | ruby-interpreter, ruby-sinatra -Suggests: ruby-rack +Depends: ${misc:Depends}, ruby | ruby-interpreter Description: Mustache is a framework-agnostic way to render logic-free views Inspired by ctemplate, Mustache is a framework-agnostic way to render logic-free views. (As in model-view-controller.) -- 2.1.4