public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] why do different ebuilds have the same version number?
@ 2005-04-27 13:09 Imran Sher Rafique
  2005-04-27 13:05 ` Caleb Tennis
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Imran Sher Rafique @ 2005-04-27 13:09 UTC (permalink / raw
  To: gentoo-dev

I hope this doesn't come across as too much of a rant.

Summary
-------
Is it accepted practice to allow for changes in an ebuild without changing the
ebuild version number?


Background
----------
After emerging the latest stable ruby (1.8.2-r1), I found that ruby could not
find some of its modules. The default library paths hardcoded into ruby were
incorrect. To demonstrate:

$ ruby -e '$LOAD_PATH.each {|j| puts "#{j}" }'
/usr/lib/ruby/site_ruby/1.8
/usr/lib/ruby/site_ruby/1.8/i686-linux
/usr/lib/ruby/site_ruby
${exec_prefix}/lib/ruby/1.8
${exec_prefix}/lib/ruby/1.8/i686-linux
-- 
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: [gentoo-dev] why do different ebuilds have the same version number?
@ 2005-04-27 20:36 Brian Harring
  0 siblings, 0 replies; 11+ messages in thread
From: Brian Harring @ 2005-04-27 20:36 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 594 bytes --]

Slightly shorter variant...

python -c $'
import portage, time
from itertools import chain, imap
target=long(time.strftime("%s",time.gmtime())) - 24*60*60
pdb=portage.portdb
for cpv in chain(*imap(pdb.cp_list, pdb.cp_all())):
	flagged=False
	try:	mtime, eclasses = pdb.aux_get(cpv,["_mtime_","INHERITED"])
	except SystemExit:	raise
	except:	continue
	if mtime >= target:	flagged=True
	else:
		try:
			for e in eclasses.split():
				if pdb.eclassdb.eclasses[e][1] >= target:
					flagged=True
					break
		except KeyError:	flagged=True
	if flagged:	print cpv
'

~brian


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2005-04-27 20:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-27 13:09 [gentoo-dev] why do different ebuilds have the same version number? Imran Sher Rafique
2005-04-27 13:05 ` Caleb Tennis
2005-04-27 13:06 ` Mike Frysinger
2005-04-27 13:56 ` [gentoo-dev] " Imran Sher Rafique
2005-04-27 17:53 ` [gentoo-dev] " marduk
2005-04-27 19:07   ` Brian Harring
2005-04-27 19:17   ` Francesco Riosa
2005-04-27 19:41     ` Brian Harring
2005-04-27 20:02       ` Francesco Riosa
2005-04-27 20:25         ` Brian Harring
  -- strict thread matches above, loose matches on Subject: below --
2005-04-27 20:36 Brian Harring

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