[DRE-maint] Packaging setup.rb?

Antonio Terceiro terceiro at softwarelivre.org
Thu Nov 8 19:04:35 UTC 2007


Lucas Nussbaum escreveu isso aí:
> On 08/11/07 at 11:06 -0600, Gunnar Wolf wrote:
> > Hi,
> > 
> > I just uploaded to the repository libgruff-ruby - Yes, directly to
> > packages/ instead of to packages-wip/ as it is ready for upload
> > (barring that ftp-master is down, of course :-/ ). Now, this module
> > ships only with a Rakefile, which depends on hoe, which depends on
> > rubyforge... And it is used only for building, so I won't embark on
> > packaging them :)
> > 
> > So I just copied over setup.rb from another module, and it worked.
> > 
> > But... How would you feel about reducing this diff by having setup.rb
> > as part of ruby-pkg-tools, and just linking it over at build time.
>  
> +1
> 
> But in your case, wouldn't it be interesting to talk to upstream about
> that?

Specially because setup.rb in its current version does not work if the
setup.rb file is not in the same directory as the sources, i.e. you
can't do `ruby /usr/lib/ruby/1.8/setup.rb install`.

We need to either patch it to make it work by looking in the current
directory instead of the directory where setup.rb is (better), or to
copy setup.rb into the sources dir before building and removing it
after.

-- 
Antonio Terceiro <terceiro at softwarelivre.org>
http://people.softwarelivre.org/~terceiro/
GnuPG ID: 0F9CB28F





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