[Pkg-ruby-extras-maintainers] r283 -
tools/ruby-pkg-tools/trunk/1/class
Lucas Nussbaum
lucas at lucas-nussbaum.net
Tue Jan 17 08:04:26 UTC 2006
On 17/01/06 at 00:41 +0000, Esteban Manchado Velázquez wrote:
> Hello:
>
> On Tue, Jan 17, 2006 at 12:10:26AM +0000, Lucas Nussbaum wrote:
> > Author: lucas-guest
> > Date: 2006-01-17 00:10:25 +0000 (Tue, 17 Jan 2006)
> > New Revision: 283
> >
> > Modified:
> > tools/ruby-pkg-tools/trunk/1/class/ruby-setup-rb.mk
> > Log:
> > Ignore missing setup.rb files.
> >
> > Some packages don't have setup.rb files (instead, they have extconf.rb, or
> > worse, nothing). If a package doesn't have any setup.rb, this class doesn't
> > crash anymore. I'm not sure this is the right way to handle this: maybe the
> > dh_rdoc stuff should be moved outside of this class so it could be used by
> > packages without setup.rb
>
> Hmmm.... the CDBS class is supposed to support setup.rb projects. I guess
> it could work with extconf.rb or install.rb or whatever, but it's not supposed
> to support just about _any_ Ruby project. If it doesn't have any setup.rb,
> just add it, there's no problem with that (and, in fact, it's the recommended
> solution for older setup.rb breakage).
libgnuplot-ruby only has one file in lib/, so I currently install it
using a .install file. So adding setup.rb is not really worth it.
It would be great to at least support extconf.rb packaging, since they
are very common.
> I'm not sure I like the idea of changing all the class just to support a
> strange case (specially, being, I think, as easy to fix as adding a setup.rb
> file to the distribution).
>
> And, perhaps more importantly, why exactly do you want to use CDBS to call
> dh_rdoc? I mean, isn't it easier just to call dh_rdoc by hand? The CDBS class
> doesn't do that much, you know :-) Thoughts?
I didn't know that ruby-setup-rb.mk's goal was to address specifically
packages with a setup.rb file (yeah, I could have guessed ;). I'll call
dh_rdoc in debian/rules directly.
--
| Lucas Nussbaum
| lucas at lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr GPG: 1024D/023B3F4F |
More information about the pkg-ruby-extras-maintainers
mailing list