Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282059 - >=dev-python/matplotlib-0.98.5.2 KeyError: 'freebsd7' not found in setupext.py basedir
Summary: >=dev-python/matplotlib-0.98.5.2 KeyError: 'freebsd7' not found in setupext.p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 FreeBSD
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-20 02:15 UTC by Michael Yang
Modified: 2009-08-20 15:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild patch (matplotlib-0.99.0.ebuild.patch,362 bytes, patch)
2009-08-20 02:15 UTC, Michael Yang
Details | Diff
adds freebsd7 to basedir (setupext-freebsd7.patch,267 bytes, patch)
2009-08-20 02:15 UTC, Michael Yang
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Yang 2009-08-20 02:15:04 UTC
setupext.py is lacking freebsd7 although it has freebsd{5,6} in 'basedir'

Reproducible: Always

Steps to Reproduce:
1. emerge matplotlib

Actual Results:  
Traceback (most recent call last):
  ...
0.99.0/work/matplotlib-0.99.0/setupext.py", line 316, in add_base_flags
    [os.path.join(p, 'include') for p in basedir[sys.platform] ])
KeyError: 'freebsd7'

Expected Results:  
success
Comment 1 Michael Yang 2009-08-20 02:15:25 UTC
Created attachment 201758 [details, diff]
ebuild patch
Comment 2 Michael Yang 2009-08-20 02:15:46 UTC
Created attachment 201760 [details, diff]
adds freebsd7 to basedir
Comment 3 Fabian Groffen gentoo-dev 2009-08-20 08:01:28 UTC
I took the liberty to fix it for FreeBSD 8 at the same time :)

do you want the x86-freebsd keyword to the ebuild as well?
Comment 4 Michael Yang 2009-08-20 13:35:58 UTC
yeah, sure
Comment 5 Fabian Groffen gentoo-dev 2009-08-20 15:30:06 UTC
done