Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69730 - portdbapi.cpv_exists() only checks syntax
Summary: portdbapi.cpv_exists() only checks syntax
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Conceptual/Abstract Ideas (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 71662 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-01 08:14 UTC by REdOG
Modified: 2005-02-12 18:24 UTC (History)
1 user (show)

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


Attachments
Quick hack, seems to work for me (portdbapi.cpv_exists_diff.patch,582 bytes, patch)
2004-11-01 08:59 UTC, REdOG
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description REdOG 2004-11-01 08:14:48 UTC
python -c 'import portage; print portage.db["/"]["porttree"].dbapi.cpv_exists("t
his-is/crap-0.0.1-r0");'



Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
1

Expected Results:  
As the doc string says 
"""Tells us whether an actual ebuild exists on disk (no masking)"""


cpv_exists is defined in 3 diffrent locations. The one in vartree seems to work.
Comment 1 REdOG 2004-11-01 08:59:45 UTC
Created attachment 43079 [details, diff]
Quick hack, seems to work for me

Ive tested this with ebuilds in the overlay and without It seems to work.
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2004-11-18 05:28:21 UTC
*** Bug 71662 has been marked as a duplicate of this bug. ***
Comment 3 REdOG 2005-02-12 18:24:07 UTC
Closeing
This has been fixed in a newer portage.