Re: files in gemspec and gem2deb

2017-12-12 Thread Cédric Boutillier
Hi Antonio, Thanks a lot for the explanations. > Packages using the Rubygems installation layout have this working out of > the box, so one way to fix all packages would be to convert all packages > to using the Rubygems layout. I wanted to make dh-make-ruby use that by > default for new packages

Re: files in gemspec and gem2deb

2017-12-07 Thread Antonio Terceiro
On Mon, Dec 04, 2017 at 10:38:35AM +0100, Cédric Boutillier wrote: > Hi, > > I was thinking, maybe naively, that gem2deb could solve globally the > problem with `git ls-files` instead of patching each and every gemspec > using git. > > Running currently `gem contents --all

files in gemspec and gem2deb

2017-12-04 Thread Cédric Boutillier
Hi, I was thinking, maybe naively, that gem2deb could solve globally the problem with `git ls-files` instead of patching each and every gemspec using git. Running currently `gem contents --all` on my system is far from listing the files from all the Debian ruby packages installed on my system

Re: help: providing ruby-gnome2 gemspec

2017-08-05 Thread dai
Hi, On Mon, Jul 31, 2017 at 12:10:57PM -0300, Antonio Terceiro wrote: > ruby-gnome2 in Debian started way before upstream provided proper gems, > way before rubygems.org was a thing, and maybe even before rubygems > itself was a thing, so that's why we have been using the source tarball. > > if y

Re: help: providing ruby-gnome2 gemspec

2017-07-31 Thread Antonio Terceiro
t; > > > We recommend that you use *.gem to create *.deb. *.gem includes *.gemspec. > > > > Our *.tar.gz is provided only for old style system. > > We recommend that users including packagers use *.gem instead of *.tar.gz. > > Do we follow upstream's rec

Re: help: providing ruby-gnome2 gemspec

2017-07-30 Thread dai
you using > https://sourceforge.net/projects/ruby-gnome2/files/ruby-gnome2/ruby-gnome2-3.1.8/ruby-gnome2-all-3.1.8.tar.gz/download > instead of *.gem to create *.deb? > > We recommend that you use *.gem to create *.deb. *.gem includes *.gemspec. > > Our *.tar.gz is provided only

Re: help: providing ruby-gnome2 gemspec

2017-07-26 Thread dai
TO_INSTALL_DESTDIR. > > Because upstream tarball does not provide any gemspecs. > I think the Rakefile in each submodule should have a task that can be > called to write the gemspec to the current directory, e.g. `rake > gemspec`. See the attached patch, you will want to send that u

Re: help: providing ruby-gnome2 gemspec

2017-07-26 Thread Antonio Terceiro
ake/package-task.rb +++ b/glib2/lib/gnome2/rake/package-task.rb @@ -286,6 +286,13 @@ module GNOME2 def define_package_tasks Gem::PackageTask.new(@spec) do |pkg| end +desc "Write #{@spec.name}.gemspec" + task :gemspec do + File.open("#{@

Re: help: providing ruby-gnome2 gemspec

2017-07-26 Thread Antonio Terceiro
gt; * Request upstream to provide gemspecs. > * Generate gemspecs by some own scripts. > > Which approach I should do? I think the Rakefile in each submodule should have a task that can be called to write the gemspec to the current directory, e.g. `rake gemspec`. See the attached patc

help: providing ruby-gnome2 gemspec

2017-07-26 Thread dai
Hi all, I am working on #757464 "ruby-gnome2: Please provide rubygem meta-information". As first step, I converted from debian/build to dh_ruby (see attached patch). AFAICS it builds same packages compared with using debian/build, but I think that "export make" and override_dh_auto_install are bi

[PATCH] gemspec: remove olddoc from build dependency

2017-03-23 Thread Eric Wong
Pirate Praveen wrote: > If you can make it optional that would be great. For now I've just > patched out the gemspec to not use olddoc. The patch and fix in rules is > ugly. Pushed the following to "master" of git://bogomips.org/unicorn -8<---- Subject: [PATCH]

Re: ruby-pg 0.19 and multiple gemspec files

2017-01-17 Thread Antonio Terceiro
On Tue, Jan 17, 2017 at 06:36:51AM -, Pirate Praveen wrote: > Hi, > > I'm trying to build ruby-pg 0.19 (for diaspora 0.6.2.0 targeted > for experimental) but in sbuild there were two gemfiles, > pg.gemspec and pg-0.19.gemspec (second one manually created in > debi

ruby-pg 0.19 and multiple gemspec files

2017-01-16 Thread Pirate Praveen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, I'm trying to build ruby-pg 0.19 (for diaspora 0.6.2.0 targeted for experimental) but in sbuild there were two gemfiles, pg.gemspec and pg-0.19.gemspec (second one manually created in debian/rules) I added DH_RUBY_GEMSPEC to specify pg

Re: Invalid gemspec in [pathname2.gemspec]: uninitialized constant Gem::Specification::FileList

2016-09-19 Thread Hleb Valoshka
On 9/19/16, Michael Crusoe wrote: > While updating ruby-pathname2 from 1.7.4 to 1.8.0 I received the > following error: > > dh_ruby --clean > Invalid gemspec in [pathname2.gemspec]: uninitialized constant > Gem::Specification::FileList > Did you mean? FileUtils >

Invalid gemspec in [pathname2.gemspec]: uninitialized constant Gem::Specification::FileList

2016-09-19 Thread Michael Crusoe
Hello, While updating ruby-pathname2 from 1.7.4 to 1.8.0 I received the following error: dh_ruby --clean Invalid gemspec in [pathname2.gemspec]: uninitialized constant Gem::Specification::FileList Did you mean? FileUtils FileTest Invalid gemspec in [pathname2

Bug#830920: gemspec not installed

2016-07-12 Thread Christian Hofstaedtler
Package: ruby-pg Version: 0.18.4-1 Severity: important X-Debbugs-CC: debian-ruby@lists.debian.org Dear Maintainer, your library is available on rubygems, but does not install a gemspec. As such, users loading your lib as a gem can not do so. -- ,''`. Christian Hofstaedtler : :&

Bug#830084: gemspec not installed

2016-07-05 Thread Christian Hofstaedtler
Package: ruby-dust Version: 0.1.7-2 Severity: important X-Debbugs-CC: debian-ruby@lists.debian.org Dear Maintainer, your library is available on rubygems, but does not install a gemspec. As such, users loading your lib as a gem can not do so. -- ,''`. Christian Hofstaedtler : :&

Bug#830078: gemspec not installed

2016-07-05 Thread Christian Hofstaedtler
Package: ruby-cssmin Version: 1.0.3-4 Severity: important X-Debbugs-CC: debian-ruby@lists.debian.org Dear Maintainer, your library is available on rubygems, but does not install a gemspec. As such, users loading your lib as a gem can not do so. -- ,''`. Christian Hofstaedtler : :&

Bug#830072: gemspec not installed

2016-07-05 Thread Christian Hofstaedtler
Package: ruby-commander Version: 4.4.0-1 Severity: important X-Debbugs-CC: debian-ruby@lists.debian.org Dear Maintainer, your library could potentially install a gemspec, but does not. As such, users loading your lib as a gem can not do so. -- ,''`. Christian Hofstaedtler : :&

Bug#830064: gemspec not installed

2016-07-05 Thread Christian Hofstaedtler
Package: ruby-benchmark-suite Version: 1.0.0+git.20130122.5bded6-2 Severity: important X-Debbugs-CC: debian-ruby@lists.debian.org Dear Maintainer, your library could potentially install a gemspec, but does not. As such, users loading your lib as a gem can not do so. -- ,''`.

Bug#830063: gemspec not installed

2016-07-05 Thread Christian Hofstaedtler
Package: ruby-benchmark-ips Version: 1.2.0+git.20130609.e47e416-2 Severity: important X-Debbugs-CC: debian-ruby@lists.debian.org Dear Maintainer, your library could potentially install a gemspec, but does not. As such, users loading your lib as a gem can not do so. -- ,''`.

Bug#818224: ruby-farday: Missing gemspec

2016-03-14 Thread Christian Hofstaedtler
Package: ruby-farday Version: 0.9.2-2 Severity: serious Justification: Breaks rdeps when binary-rebuilt When rebuiling ruby-faraday in unstable, the .gemspec is missing in the built binaries. This causes rdeps to fail to resolve their dependencies. It's unclear how this package ever manag

Re: gemspec

2015-10-17 Thread Per Andersson
Hi! I also noticed that there are stuff in the thirdparty directory. Even if they aren't packaged they need to be listed in debian/copyright properly. You can use e.g. licensecheck -r * to dig out licensing for files. You should also use the libjansson package from Debian instead of the t

Re: gemspec

2015-10-17 Thread Per Andersson
On Sat, Oct 17, 2015 at 12:33 PM, Kai Noda wrote: > Hi Per, > >> * The ruby-watchman package is empty, did you forget to install it >> in dh_auto_install target? > > > That's the point, what is the correct way to generate a ruby script package > out of the u

Re: gemspec

2015-10-17 Thread Kai Noda
Hi Per, * The ruby-watchman package is empty, did you forget to install it > in dh_auto_install target? That's the point, what is the correct way to generate a ruby script package out of the upstream-provided .gemspec file? It doesn't seem to be an appropriate way to run gem2

Re: gemspec

2015-10-15 Thread Per Andersson
Hi! On Thu, Oct 15, 2015 at 6:34 PM, Kai Noda wrote: > Hi Per, > > I've been away from packaging for a while, but I've just pushed my draft > version to the "debian" branch at > > https://github.com/nodakai/watchman/tree/debian Are you a member in the pkg-ruby-extras group on Alioth? If so, you

Re: gemspec

2015-10-15 Thread Kai Noda
Hi Per, I've been away from packaging for a while, but I've just pushed my draft version to the "debian" branch at https://github.com/nodakai/watchman/tree/debian Regards, Kai 野田 開 2015-10-13 7:18 GMT+08:00 Per Andersson : > Hi! > > On Mon, Sep 14, 2015 at 10:26 AM, Kai Noda wrote: > > Hi

Re: gemspec

2015-10-12 Thread Per Andersson
Hi! On Mon, Sep 14, 2015 at 10:26 AM, Kai Noda wrote: > Hi Debian Ruby team, > > I'm working on packaging Facebook watchman > https://facebook.github.io/watchman/ https://github.com/facebook/watchman Do you have the packaging available somewhere? -- Per

gemspec

2015-09-14 Thread Kai Noda
Hi Debian Ruby team, I'm working on packaging Facebook watchman https://facebook.github.io/watchman/ https://github.com/facebook/watchman It is basically an Autotools-based C project but within a subdirectory ruby/ruby-watchman are Rakefile and .gemspec which allow me 1. to run "rak

Re: dynamically setting files in gemspec

2015-05-01 Thread Cédric Boutillier
ild time? > Or is this just specific to this package and I should manually set the > file list? The following is based on my current undertanding of rubygems and gem2deb. Feel free to correct me if I missed something. This is handled by gem2deb when building the package: the gemspec is l

dynamically setting files in gemspec

2015-05-01 Thread Pirate Praveen
Hi, There is a problem with rails-assets-jquery-ui.gmespec https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783508 Can this be handled by gem2deb by converting dynamic listing to static listing at build time? Or is this just specific to this package and I should manually set the file list? Tha

Re: dh-make-ruby now generating uncommented dependencies from gemspec

2015-02-21 Thread Antonio Terceiro
gg-info files for the upstream dependencies. That's definitively > > something we want to do. > > > > This produces a reasonable mapping: > > > > apt-file search /usr/share/rubygems-integration/ | sed -e 's#/.*/##; > > s/-[0-9.]\+.gemspec//' This is

Re: dh-make-ruby now generating uncommented dependencies from gemspec

2015-02-10 Thread Lucas Nussbaum
t to look inside python-stdeb (the equivalent of dh-make-ruby for > Python), and it uses apt-file to determine package names by looking for > the *.egg-info files for the upstream dependencies. That's definitively > something we want to do. > > This produces a reasonable map

Re: dh-make-ruby now generating uncommented dependencies from gemspec

2015-02-10 Thread Antonio Terceiro
ames by looking for the *.egg-info files for the upstream dependencies. That's definitively something we want to do. This produces a reasonable mapping: apt-file search /usr/share/rubygems-integration/ | sed -e 's#/.*/##; s/-[0-9.]\+.gemspec//' -- Antonio Terceiro signature.asc Description: Digital signature

Re: dh-make-ruby now generating uncommented dependencies from gemspec

2015-02-09 Thread Lucas Nussbaum
On 07/02/15 at 00:33 +0530, Balasankar C wrote: > Isn't pry one gem like rails and rake? Don't know if it is relevant. Couldn't there be a heuristic that goes a bit further? by default, use ruby-$GEMNAME but if there's an executable called $GEMNAME, then use $GEMNAME Lucas -- To UNSUBSCRIBE,

Re: dh-make-ruby now generating uncommented dependencies from gemspec

2015-02-06 Thread Jonas Genannt
Hello Antonio, > I have just uploaded gem2deb 0.11 to experimental; among others, it > includes a change that will make dh-make-ruby generate full dependency > lines for binary packages based on the gem metadata. wow - great work! Thanks for all your work on gem2deb http://shandyfiles.s3-us-west

Re: dh-make-ruby now generating uncommented dependencies from gemspec

2015-02-06 Thread Balasankar C
Isn't pry one gem like rails and rake? Don't know if it is relevant. -- Sent from my Android device with K-9 Mail. Please excuse my brevity.

dh-make-ruby now generating uncommented dependencies from gemspec

2015-02-06 Thread Antonio Terceiro
I have just uploaded gem2deb 0.11 to experimental; among others, it includes a change that will make dh-make-ruby generate full dependency lines for binary packages based on the gem metadata. This relies on mapping gem names to debian package names. We want to do the `foo` → `ruby-foo` dance for m

Re: Ruby transitions and gemspec files

2014-05-12 Thread Christian Hofstaedtler
* Paul Wise [140512 09:13]: > Is this something I should file a bug about or will it be handled during > the ruby2.0/ruby2.1 transitions? BTW, there was already some discussion about this on d-d: https://lists.debian.org/debian-devel/2014/05/msg00012.html -- ,''`. Christian Hofstaedtler : :

Re: Ruby transitions and gemspec files

2014-05-12 Thread Paul Wise
On Mon, 2014-05-12 at 09:20 +0200, Christian Hofstaedtler wrote: > (Most) Packages that need reuploading/fixing can be found by > inspecting the Ruby-Versions field, if it still says ruby1.8 or > ruby1.9.1 then it's very likely affected. According to a quick grep of sid main Packages there are 14

Re: Ruby transitions and gemspec files

2014-05-12 Thread Christian Hofstaedtler
Paul, Let me answer with a summary answer below: * Paul Wise [140512 09:13]: > I noted that ruby-term-ansicolor doesn't provide a gemspec file for > ruby2.0 (just 1.9.1 and 1.8) and doesn't declare this in its > dependencies. Simply rebuilding ruby-term-ansicolor with a

Ruby transitions and gemspec files

2014-05-12 Thread Paul Wise
Hi all, I noted that ruby-term-ansicolor doesn't provide a gemspec file for ruby2.0 (just 1.9.1 and 1.8) and doesn't declare this in its dependencies. Simply rebuilding ruby-term-ansicolor with a current chroot of unstable will fix this it seems since it only creates one gemspec file i

Re: mini_portile dependency in nokogiri gemspec

2014-05-06 Thread Pirate Praveen
On Tuesday 06 May 2014 02:08 PM, Cédric Boutillier wrote: > Hi Praveen, > No objections, go ahead ;) > > Cédric > Uploaded! signature.asc Description: OpenPGP digital signature

Re: mini_portile dependency in nokogiri gemspec

2014-05-06 Thread Cédric Boutillier
Hi Praveen, On Mon, May 05, 2014 at 12:30:42PM +0530, Pirate Praveen wrote: > On Sunday 04 May 2014 08:26 PM, Pirate Praveen wrote: > > Now I found nokogiri has a dependency on mini_portile. Should we remove > > this from nokogiri gemspec? (like we do for bundler and rubygems)? &g

Re: mini_portile dependency in nokogiri gemspec

2014-05-05 Thread Pirate Praveen
On Sunday 04 May 2014 08:26 PM, Pirate Praveen wrote: > Now I found nokogiri has a dependency on mini_portile. Should we remove > this from nokogiri gemspec? (like we do for bundler and rubygems)? I have made the changes in git, if there are no objections, I'll upload it in ano

mini_portile dependency in nokogiri gemspec

2014-05-04 Thread Pirate Praveen
emove this from nokogiri gemspec? (like we do for bundler and rubygems)? Even if I were to not run bundle install, thin start also checks this. Or should I just remove the Gemfile? Thanks Praveen [1] Repo of my work in progress here https://gitorious.org/debian-diaspora/diaspora -- To UNSUBSCR

Re: rubygems integration for packages shipping more than one gemspec file

2013-01-09 Thread Cédric Boutillier
Hi Antonio, On Fri, Jan 04, 2013 at 10:01:19PM -0300, Antonio Terceiro wrote: > On Wed, Nov 14, 2012 at 11:41:07PM +0100, Cédric Boutillier wrote: > > Since the json gem ships several gemspec files in addition to the > > json.gemspec (in particular json_pure.gemspec). Would i

Re: rubygems integration for packages shipping more than one gemspec file

2013-01-04 Thread Antonio Terceiro
ll pull json_pure gem whereas it could have > use the library provided by ruby-json Debian package instead. > > Since the json gem ships several gemspec files in addition to the > json.gemspec (in particular json_pure.gemspec). Would it make sense to > make gem2deb install maybe not al

rubygems integration for packages shipping more than one gemspec file

2012-11-14 Thread Cédric Boutillier
nd if I want to install a gem which depends on json_pure, which contains just the pure Ruby implementation, rubygems will pull json_pure gem whereas it could have use the library provided by ruby-json Debian package instead. Since the json gem ships several gemspec files in addition to the json.ge