Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 297830

Summary: dev-ruby/hoe-2.4.0 rekeywording request
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED FIXED    
Severity: normal Keywords: KEYWORDREQ
Priority: Highest    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 297828    
Bug Blocks: 297832, 298896    

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-12-21 19:49:03 UTC
More dependencies.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-12-23 01:23:33 UTC
Marked ~hppa.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2009-12-23 13:27:23 UTC
Marked ~ppc.
Comment 3 Hans de Graaff gentoo-dev Security 2009-12-25 09:35:37 UTC
Add missing x86 arch which also needs to re-keyword.
Comment 4 Markus Meier gentoo-dev 2010-01-04 23:04:47 UTC
x86 keyword restored
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2010-01-06 18:51:36 UTC
~ia64/~sparc done
Comment 6 Brent Baude (RETIRED) gentoo-dev 2010-01-13 16:21:04 UTC
~ppc64 done
Comment 7 Alexis Ballier gentoo-dev 2010-04-12 13:46:04 UTC
cant do anything here, ruby-fakegems.eclass is broken on bsd. it doesnt unpack the .gem file:

>>> Unpacking hoe-2.5.0.gem to /var/tmp/portage/dev-ruby/hoe-2.5.0/work/all
unpack hoe-2.5.0.gem: file format not recognized. Ignoring.
>>> Source unpacked in /var/tmp/portage/dev-ruby/hoe-2.5.0/work


it seems its due to the wc -w output parsing:

$ wc -w <<< hoe-2.5.0.gem
       1

note the tab/spaces. A possible fix would be to pipe it to awk '{ print $1 ; }'
Comment 8 Hans de Graaff gentoo-dev Security 2010-04-24 19:11:26 UTC
Hmm, my portable shell is a bit rusty, but wouldn't it be simpler to use 

	if [[ $(wc -w <<< ${A}) -eq 1 ]] &&

Don't have a BSD system around right now to test this on, but this does seem to have the desired effect.
Comment 9 Naohiro Aota gentoo-dev 2011-12-13 11:56:40 UTC
Now passed on BSD. ~x86-fbsd added.