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

Bug 500540

Summary: dev-python/pycairo should not RDEPEND on x11-libs/xpyb
Product: Gentoo Linux Reporter: Nikoli <nikoli>
Component: [OLD] DevelopmentAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nikoli 2014-02-06 17:49:03 UTC
Ebuild has comment:
# Note: xpyb is used as the C header, not Python modules

so what x11-libs/xpyb is doing in RDEPEND?
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2014-03-25 10:30:21 UTC
good question.  However, it doesn't make for a broken ebuild.  While it's needed in DEPEND, it does no harm set in RDEPEND. Can you do a runtime. Nikoli read the doc/reference/surfaces.rst and it appears to me that it is indeed utilised at runtime. See 
.. class:: XCBSurface.

That indeed appears to give the answer.  In order to make a case that it not be included in RDEPEND you need to prove it's never utilised at runtime.
Comment 2 Tim Harder gentoo-dev 2017-05-21 02:48:10 UTC
Fixed in 1.13.1 in the tree.