[DRE-maint] Bug#991099: gem2deb should Provides: dh-sequence-ruby

Antonio Terceiro terceiro at debian.org
Thu Jul 22 15:19:20 BST 2021


Hi,

On Wed, Jul 14, 2021 at 07:46:09AM +0200, Helmut Grohne wrote:
> Package: gem2deb
> Version: 1.4
> Tags: patch
> 
> Traditionally, packages could enable debhelper addons using
> --with=ADDON. That's what works today and is most commonly used.
> Recently, debhelper added another way of doing so. If one declares a
> build dependency on dh-sequence-ADDON, the addon is automatically
> enabled. This is beneficial for two major reason:
>  * Don't repeat yourself. There no longer is a need to issue both
>    "Build-Depends: gem2deb" and "dh --with=ruby". A single
>    "Build-Depends: dh-sequence-ruby" takes care of both.
>  * We can declaratively conditionalize Build-Depends. The most obvious
>    one is e.g. "Build-Depends-Indep: dh-sequence-ruby". Conditionally
>    enabling an addon in debian/rules has been quite annoying thus far
>    and the declarative method makes it simple. Build profiles are also
>    supported, so "Build-Depends: dh-sequence-ruby <!noruby>" does the
>    right thing.
> 
> As such, please consider applying the attached patch. I think that this
> is really harmless, so if there is any chance of getting this into
> bullseye, please do it. Otherwise, it'll have to be added to
> bullseye-backports in order to support packages in bookworm that start
> relying on it. I do see that this comes quiet late, so I don't expect
> miracles.

Thanks.

I applied your patch but I don't intend to upload any non-bugfix update
to gem2deb this late into the freeze.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20210722/2e3fe1eb/attachment.sig>


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