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

Bug 244607

Summary: dev-python/pycups should call python_need_rebuild
Product: Gentoo Linux Reporter: Ali Polatel (RETIRED) <hawking>
Component: New packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: enhancement CC: reavertm
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 244555    

Description Ali Polatel (RETIRED) gentoo-dev 2008-10-27 10:13:25 UTC
This package needs to be rebuilt after a python upgrade.
To let python-updater find such packages accurately I have added a new function
to python eclass with the name python_need_rebuild which marks packages that
needs to be rebuilt.
Please update your package to use this function.
Usage is simple just call python_need_rebuild in src_install without arguments.
TIA.

P.S: If your package has a python USE flag, you probably want to call
python_need_rebuild only if it's enabled.
Comment 1 Maciej Mrozowski gentoo-dev 2009-06-15 19:24:02 UTC
fixed by scarabeus in dev-python/pycups-1.9.45-r1