#756129 gem2deb: dh_ruby should allow extra parameters to extconf.rb

Package:
gem2deb
Source:
gem2deb
Description:
Debian Ruby packaging suite
Submitter:
Gilles Filippini
Date:
2015-05-11 07:57:05 UTC
Severity:
wishlist
#756129#5
Date:
2014-07-26 15:56:24 UTC
From:
To:
Hi,

Sometimes the maintainer needs passing hints to extconf.rb, such as
- --with-<feature>=<directory>

I tried:
	dh_auto_install -- --with-<feature>=<directory>
        dh_ruby --install -- --with-<feature>=<directory>
        dh_ruby --install --with-<feature>=<directory>
without success, and looking at the dh_ruby.rb source code it seems
there is no way to do that.

Then the only solution I found is to quilt patch extconf.rb to hard
code the hints, which isn't satisfactory.

Thanks in advance,

_g.

- -- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.14-1-486
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gem2deb depends on:
ii  build-essential               11.6
ii  debhelper                     9.20140613
ii  devscripts                    2.14.5
ii  perl                          5.18.2-6
ii  ruby                          1:2.1.0.1
ii  ruby-all-dev                  1:2.1.0.1
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.484-2
ii  ruby2.0 [ruby-interpreter]    2.0.0.484+really457-3
ii  ruby2.1 [ruby-interpreter]    2.1.2-2

gem2deb recommends no packages.

gem2deb suggests no packages.

- -- no debconf information
iQEcBAEBCAAGBQJT08+fAAoJEO/obGx//s+DuloH/3I9Gj2QRL5x8JL199d0hG9d
VACSA5HqtfQgUkK60ypf9i6HiNlbc5zQtgTWZuGmwezCAjx7VbHjddx9j6hGBow3
YOAGLy6+xANg9QqPdsFtBYS0XItwlCTja94Ss9AtYJiNhHGGcZLlXZLIVZhqs7rj
Fyz1LgahRexiiJsGroX9z6MUzSwoUJwQ+Zao097xr4kbTX2QBk7Zzf/dwkC7uuft
xcimKsgLdfzuiGSqUQIA7QJAlKoXsbDO3dbVz9Z0r2u7REz270ELL9Q95kIoG+hv
GqWUi6LybOggHZkMnlrwGTdr6YrcoXtvhYV5GikiKmBuVFhxYZ/YVrjGm9Shw+Q=
=6FTr
-----END PGP SIGNATURE-----

#756129#10
Date:
2015-05-08 06:14:22 UTC
From:
To:
Hi Gilles,

Could you provide an example package that needs this?

Lucas

#756129#15
Date:
2015-05-11 07:58:26 UTC
From:
To:
Hi Lucas,

Lucas Nussbaum a écrit le 08/05/2015 08:14 :

Please see the patch attached to #756696.

Thanks,

_g.