[DRE-maint] Bug#799664: ruby-mustache: has a superfluous dependency on ruby-sinatra

Sebastian Boehm sebastian at sometimesfood.org
Mon Sep 21 11:17:11 UTC 2015


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Remove-superfluous-dependencies-sinatra-rack.patch
Type: text/x-diff
Size: 890 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20150921/33b744c3/attachment.patch>


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