[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building a Debian package out of a Rubygems' .gem file



 Hello,

I apologize first if this is a redundant email, this is my first post on this list.

Using dh-make-ruby what will be the expected guidelines for dependency building with each gem build? Will it bypass dependencies that are non-gem specific as in Rmagick, or will it only do dependency building on gem-to-gem dependencies?

Also, apologies to Antonio as I accidentally sent this message to him first =)

Thanks!
Brett


On 10/18/2010 7:44 AM, Antonio Terceiro wrote:
Hi Clint,

Clint Byrum escreveu isso aí:
On Oct 17, 2010, at 9:20 AM, Antonio Terceiro wrote:

Hi there,

I've just published a post that provides some information on some stuff
I've being working on, such as gem2tgz, and the newest addition, a
debhelper buildsystem implementation that reproduces the behaviour of
our current setup.rb CDBS rules, with some differencies.

http://softwarelivre.org/terceiro/blog/building-a-debian-package-out-of-a-rubygems-.gem-file

I would appreciate any feedback on that, and ideas on how to cope with
the missing bits (there are plenty of them).

Antonio, I think we may have been doing some parallel work.

My focus is on making it easy to go from gem ->  .dsc with Debigem

https://launchpad.net/debigem

I just released a version which no longer uses 'gem install' to put
the files down on the disk, but rather users setup.rb.

My next challenge is in handling new versions gracefully by extracting
the yaml spec file properly, as the program I wrote, dh_rubygems,
tries to do the ruby dependencies based on the gemspec dependencies.
I see that dh_rubygems generates the dependencies during build time,
like dh_perl. What would be the issue with new versions?

Anyway, I hope its of some use and would be thrilled if you chose
to lift some code from it for what you're doing. I find that most
well written gems work without modification just by go dh-make-gem
file.gem and then debuild'ing in the source dir.

If you think my time would be better spent working on your tool, let
me know, I would love to collaborate on this.
Yes, debigem is a very nice work. In special, reading the gemspec file
and generating proper debian/control and debian/copyright files is very
important for us, and if you agree it would be nice to turn parts of
debigem into dh-make-ruby.

I've started drafting some requirements for dh-make-ruby at the wiki:
http://wiki.debian.org/Teams/Ruby/dh-make-ruby



Reply to: