public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-ruby/rubygems: ChangeLog rubygems-1.1.0-r0.ebuild
       [not found] <E1Jfcn7-0004GH-24@stork.gentoo.org>
@ 2008-03-30  5:36 ` Donnie Berkholz
  2008-03-31 21:13   ` Richard Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Donnie Berkholz @ 2008-03-30  5:36 UTC (permalink / raw
  To: gentoo-dev, rbrown

On 15:16 Sat 29 Mar     , Richard Brown (rbrown) wrote:
> 1.1                  dev-ruby/rubygems/rubygems-1.1.0-r0.ebuild
> 
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rubygems/rubygems-1.1.0-r0.ebuild?rev=1.1&view=markup
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rubygems/rubygems-1.1.0-r0.ebuild?rev=1.1&content-type=text/plain
> 
> Index: rubygems-1.1.0-r0.ebuild

What was the purpose of bumping this to an -r0? I didn't see any 
previous rubygems ebuilds doing this.

I'm probably wrong about this, but my naive impression is that it looks 
to me like an attempt to force someone else to bring up the issue that 
indeed did come up, rather than doing it yourself.

> 	dosym /usr/bin/gem18 /usr/bin/gem || die "dosym gem failed"

No big deal, but it would be nice to do a relative symlink here.

> 	#This is used to update rubygems, do not want.
> 	rm "${D}/usr/bin/update_rubygems18"
> 
> 	dodoc README
> 	if use examples; then
> 		cp -pPR examples "${D}/usr/share/doc/${PF}"
> 	fi
> 
> 	cp "${FILESDIR}/auto_gem.rb" "${D}"/$(${RUBY} -r rbconfig -e 'print Config::CONFIG["sitedir"]')
> 	doenvd "${FILESDIR}/10rubygems"
> 
> 	if use server; then
> 		newinitd "${FILESDIR}/init.d-gem_server" gem_server
> 		newconfd "${FILESDIR}/conf.d-gem_server" gem_server
> 	fi

Might be nice to die if some of these fail.

> }
> 
> pkg_postinst()
> {
> 	ver=$(${RUBY} -r rbconfig -e 'print Config::CONFIG["ruby_version"]')

Shouldn't this be preserved in the environment from src_install()? Rerunning it seems like 
it could allow a change in ruby version to cause issues.

Thanks,
Donnie
-- 
gentoo-dev@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-ruby/rubygems: ChangeLog rubygems-1.1.0-r0.ebuild
  2008-03-30  5:36 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-ruby/rubygems: ChangeLog rubygems-1.1.0-r0.ebuild Donnie Berkholz
@ 2008-03-31 21:13   ` Richard Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Brown @ 2008-03-31 21:13 UTC (permalink / raw
  To: Donnie Berkholz; +Cc: gentoo-dev

On Sun, Mar 30, 2008 at 6:36 AM, Donnie Berkholz <dberkholz@gentoo.org> wrote:
>  What was the purpose of bumping this to an -r0? I didn't see any
>  previous rubygems ebuilds doing this.

As I said to _Mr_Bones and ferringb, I was just absentminded when
renaming it from a later revision in my overlay.

>  I'm probably wrong about this, but my naive impression is that it looks
>  to me like an attempt to force someone else to bring up the issue that
>  indeed did come up, rather than doing it yourself.

Your naïveté only makes you more attractive to me.

>  [SNIP]
>  Ebuild Review

All fixed, thanks.


-- 
Richard Brown
--
gentoo-dev@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-31 21:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1Jfcn7-0004GH-24@stork.gentoo.org>
2008-03-30  5:36 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-ruby/rubygems: ChangeLog rubygems-1.1.0-r0.ebuild Donnie Berkholz
2008-03-31 21:13   ` Richard Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox