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

Re: require rubygems question



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



Le 10/3/11 2:23 PM, Cédric Boutillier a écrit :
> On Mon, Oct 03, 2011 at 09:34:00AM +0200, Olivier Sallou wrote:
>
>> This is a new package I am creating . My gem "Cassiopee" depends on gem
>> "Text" (both are not yet packaged).
>> The "problem" is with the gem2deb command on gem Cassiopee.
>> I have for the moment, in my gem lib, a require "rubygems" and a require
>> "Text". The rubygem require raises an error in the gem2deb command.
>
>> I'd like to remove the require "rubygems" as I saw it was a better way.
>> Though it could be ok in Debian, with the Depends control, I expect my
>> gem to work also out of Debian world. If I remove the rubygem require,
>> then test suite fails because it does not find the external dependency.
>
>> So I wonder how to remove the require rubygems and keep my lib working.
>
> Did you have a look at the following page:
> http://wiki.debian.org/Teams/Ruby/RubyExtras/UpstreamDevelopers
> on the Debian wiki?
> It gives some guidelines for upstream authors that would ease
> integration of the software into Debian. Note that many upstream authors
> (still) ship their software with require "rubygems" statements. The
> corresponding source is patched at build time to remove these
> statements to create the Debian package.
Thanks, it gives some nice hints.

>
>
> Best wishes,
>
> Cédric

- -- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (pgp.mit.edu)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

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

iQIcBAEBCAAGBQJOibKTAAoJEHjcaNsybYQ4I+4P/2Ida1RZW9myff4JIlqIEW8q
KZ33iNNMVkWuB68CP6H6ReRMOvKe65o2IFrWQp0Y0dz2WDCuaeSX2cYADQMmNvaM
KcwH818xFvkGTxm6TdBYbc0Aps/AW25Chm4KNUcsD5yR9sFYXWeyR0WNM1EGyjIt
Cl/Z26ISYH3IuofmT2cDE7bKPQSLqIsgWsikhdHUa57JEMyInt0yHTt/VKSPf0K8
3FhYwYjfzAHA2sfXzPoUiSHeRxfoyrhwza1qjSy1rw/wPqetzqszJgTwTKGq0kvw
NS+BB4ZJIkJtEhJNZRFTHwAg8FmiDwoRpLugXbqCdaAGjvF5mOV6ip1eBCtVERH+
Am8nzOfgs2AO7+3ljZkDjELSi9jnbfsa9pv8hGMvWxsW+Hq3Yo3E5m6qBPvfNQsD
Fct7+1mdfMD1E1aZxaYYGmFR2RpIagfj3FJg51rJCuDf9Ovv1H44FDfFNOt2GnAW
dI0lIOed9K3iqiBlfiCT/Jy4N6AcJN5o+Kva3f7UX8WIFsO2OquLzR+lz8PaEz1j
P2ghMiscRhhLWbzTsHOj4wTpT1CQz8cXIxxmreyanzP8aS0NXjvIaoxLQWmnzS3x
7PG2QJ6VpV+cK95ivhCAPtgrlQ0lEpi4Hbze4DlLgic4JtBndmDTcngfZ1xtIZta
7s0sCVuG4mLwwgHiqsXO
=08f8
-----END PGP SIGNATURE-----


Reply to: