[DRE-maint] How to run several rake builds in the same package

Lucas Nussbaum lucas at lucas-nussbaum.net
Tue Jun 14 19:54:19 UTC 2011


On 13/06/11 at 20:34 +0200, ludovic.claude at laposte.net wrote:
> 
> Hello,
> 
> I'm new to Ruby, but not Debian packaging - I've been doing lots of Java packaging.
> 
> I would like to update one package which I'm using (libcompass-ruby), and for that I need also to update libhaml-ruby to a newer version - 3.1.2.
> My problem with that package is that the upstream code structure has changed, and now the Sass gem has moved to its own directory (vendor/sass) with its own Rakefile.
> 
> debian/rules uses ruby-setup-rb.mk and launches the build for the Rakefile located at the root, but it doesn't launch vendor/sass/Rakefile. How can I do that?
> 
> I have started some work here:
> https://code.launchpad.net/~ludovicc/+junk/libhaml-ruby

Hi,

You must not use the sass shipped in vendor/. Instead, you should
package it separately from the sass upstream sources, and then package
haml. vendor/ is a bit like shipping a ton of jars with your Java
application.

- Lucas



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