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

Bug 310485

Summary: dev-libs/libgamin-0.1.10-r2 shows deprecation warning
Product: Gentoo Linux Reporter: Sebastian L. <gentoo.org_4>
Component: New packagesAssignee: Freedesktop bugs <freedesktop-bugs>
Status: RESOLVED DUPLICATE    
Severity: trivial CC: barzog, m.kefeder
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: removed deprecated/useless python functions

Description Sebastian L. 2010-03-21 08:45:54 UTC
emerging dev-libs/libgamin-0.1.10-r2 shows the following deprecation warning:

 * Deprecation Warning: python_version() is deprecated and will be banned on 2010-07-01.
 * Use PYTHON() instead of python variable. Use python_get_*() instead of PYVER* variables.
 * The ebuild needs to be fixed. Please report a bug, if it has not been already reported. 


Reproducible: Didn't try

Steps to Reproduce:
Comment 1 Michael Kefeder 2010-05-17 13:57:12 UTC
I can confirm this. I removed the pkg_postinst() completely from the ebuild, since it does nothing useful. find my ebuild attached to this bug, i kept a fixed version of pkg_postinst() as a comment in it, but it spews errors for some other site-packages and it does nothing of practical use - so i disabled it.

fyi, first import of the gamin module will compile it anyways...
Comment 2 Michael Kefeder 2010-05-17 13:59:20 UTC
Created attachment 231815 [details]
removed deprecated/useless python functions
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-06-16 18:44:53 UTC

*** This bug has been marked as a duplicate of bug 312187 ***