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

Re: [DRE-maint] RFS: ruby-omniauth



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Sunday 28 August 2011 09:32 AM, Antonio Terceiro wrote:
> Lucas Nussbaum escreveu isso aí:
>> On 27/08/11 at 03:08 +0530, Muneeb Shaikh wrote:
>>> Dear mentors,
>>> 
>>> I am looking for a sponsor for my package "ruby-omniauth".
>>> 
>>> * Package name    : ruby-omniauth Version         : 0.2.6-1 
>>> Upstream Author : Michael Bleigh <michael@intridea.com>, Erik
>>> Michaels-Ober <sferik@gmail.com>
>>> 
>>> * URL             : http://github.com/intridea/omniauth *
>>> License         : MIT Section         : ruby
>>> 
>>> It builds those binary packages:
>>> 
>>> ruby-omniauth - Rack middleware for standardized
>>> multi-provider authentication
>>> 
>>> To access further information about this package, please visit
>>> the following URL:
>>> 
>>> http://mentors.debian.net/package/ruby-omniauth
>>> 
>>> Alternatively, one can download the package with dget using
>>> this command:
>>> 
>>> dget -x 
>>> http://mentors.debian.net/debian/pool/main/r/ruby-omniauth/ruby-omniauth_0.2.6-1.dsc
>>>
>>>
>>> 
I would be glad if someone uploaded this package for me.
>> 
>> Hi,
>> 
>> The gem has dependencies on oa-basic (= 0.2.6), oa-enterprise (= 
>> 0.2.6), oa-core (= 0.2.6), oa-more (= 0.2.6), oa-oauth (=
>> 0.2.6), oa-openid (= 0.2.6). Are you sure that the package can
>> work standalone like that? If it's the case, please remove the
>> commented line in debian/control
> 
> I doubt it will work the way it is now:
> 
> $ cat lib/omniauth.rb require 'omniauth/core' require
> 'omniauth/basic' require 'omniauth/oauth' require
> 'omniauth/openid' require 'omniauth/enterprise' require
> 'omniauth/more'
> 
>> Ah, now I see that the package builds several gems. I don't think
>> that it's a layout that we support at the moment, so it might
>> require changes in gem2deb itself. Antonio, what do you think?
> 
> I'm not sure yet about the best way to support this, or even about 
> supporting it directly at all. The problem is that each package has
> a different strategy for implementing multiple package.
> 
> For example this one package has both code under lib/ _and_
> subpackages under subdirectories. What I would do is keep using
> gem2deb but add a special installation step before the default
> gem2deb installation step, something like this:
> 
> PACKAGES = \ oa-basic \ oa-core \ oa-enterprise \ oa-more \ 
> oa-oauth \ oa-openid
> 
> override_dh_auto_install: for pkg in $(PACKAGES); do dh_install -p
> ruby-$$pkg $$pkg/lib/*  /usr/lib/ruby/vendor_ruby; done 
> dh_auto_install
> 
> Of course, you will need to add the appropriate binary package
> stanzas to debian/control, and check the dependencies for each
> sub-package, and make sure the tests for all of them are run during
> package build.
> 

I'll try to do this modification and see if it works though I'm
totally new in this I'll try my best.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJOWlYUAAoJEJfoSJNlYL1R02kP/1J7/uqbVk0ZMZcrUjufl/9g
tNeh+lrgePzkvZj6/GyRM8eZzBTDUUwf5V0nfLl4JcZqQcddhEDxwBTZ2zo+Rg6+
2GDSIBQPBbOVSqr/Q9Ja+lBn1UoFdh2GcOucwiGE51G3inPI7wabUhARXxFVwko9
bEFrYk/LkO99Sre0yBeSETzBnNeb+q2MinMX1TPwsJ13c09uYD4hA4ONXibJjLgQ
kMdtsHALWxRj1LVdPD3wJYTBgrP49oPO7wbAt7i5T3fT2LhDn6tRT1uzz0Xn8JKP
yv/VmY1LZIE6krcEjOIuNtpcahc1hlRBHqLToVgKEoG+yrRQycAdcleEzH/qmT2t
h/Cl6vUKM2YjvlAc6WS4+83q0w7VROOAEMlzKeH+ZpFCvMJu/o6rS5xAXET0cKQv
2OxcEZNDBinD/o9OtO9HycfaJ33r0h0n7oWkBjOUDomA51YN2LoDGrVcuZCPyxpQ
0BNBzgCdha5SUZtfxyebVZJ99lNk9hWuiQncDq76pq99i22D6Mq+hluIoz7yJitL
kd9SmsntINWuyZ+rJFhr5oL6tVnRrpwOVBjtyxGXNfOgqwrFTGTv9NdCA5DwsGrT
46QPlKOBmKOjgj6kIZAGjYxWlkO+5JrFJXXJN3iAaSixh/exm0hYLWrOdjLzLJmh
Bu38nF3gAIWbS1gFVpW/
=xFAz
-----END PGP SIGNATURE-----


Reply to: