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

Bug 413745

Summary: sys-apps/dstat - Deprecation Warning: Usage of python_mod_optimize() in packages not supporting installation
Product: Gentoo Linux Reporter: Richard H. <chain>
Component: New packagesAssignee: Sven Wegener <swegener>
Status: RESOLVED FIXED    
Severity: normal CC: jlec, wschlich
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Richard H. 2012-04-27 15:54:32 UTC
I just installed dstat, and stumbled upon the following:

----------

WARN: postinst
Deprecation Warning: Usage of python_mod_optimize() in packages not supporting installation
for multiple Python ABIs in EAPI <=2 is deprecated and will be disallowed on 2011-08-01.
Use EAPI >=3 and call python_mod_optimize() with paths having appropriate syntax.
The ebuild needs to be fixed. Please report a bug, if it has not been already reported.

----------

which I am doing hereby :)
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2012-04-27 15:58:45 UTC
version ?
Comment 2 Richard H. 2012-04-27 16:00:43 UTC
(In reply to comment #1)
> version ?

0.6.9-r1, from x86. My portage tree should be quite fresh also.
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2012-04-27 16:04:54 UTC
+  27 Apr 2012; Justin Lecher <jlec@gentoo.org> dstat-0.6.9-r1.ebuild,
+  dstat-0.7.2-r1.ebuild:
+  Bump EAPI to 4 to use mod_optimize on non multi ABI installs, #413745
+