Created attachment 538546 [details] slimit-0.8.1-r1.ebuild Working on bug #606256 i realized that whenever the slimit module is imported it spews out lots of warnings like: Minifying deluge/ui/web/js/deluge-all WARNING: Couldn't write lextab module <module 'slimit.lextab' from '/usr/lib64/python2.7/site-packages/slimit/lextab.pyc'>. Won't overwrite existing lextab module WARNING: yacc table file version is out of date WARNING: Token 'IMPORT' defined, but not used WARNING: Token 'BLOCK_COMMENT' defined, but not used WARNING: Token 'ENUM' defined, but not used WARNING: Token 'EXTENDS' defined, but not used WARNING: Token 'LINE_COMMENT' defined, but not used WARNING: Token 'LINE_TERMINATOR' defined, but not used WARNING: Token 'CONST' defined, but not used WARNING: Token 'EXPORT' defined, but not used WARNING: Token 'CLASS' defined, but not used WARNING: Token 'SUPER' defined, but not used WARNING: There are 10 unused tokens WARNING: Couldn't create <module 'slimit.yacctab' from '/usr/lib64/python2.7/site-packages/slimit/yacctab.pyc'>. Won't overwrite existing tabmodule because AFAICS those files are pregenerated with an old version of ply. As per the last comment in https://github.com/rspivak/slimit/issues/97 those warnings can be removed by deleting the lextab.py and yacctab.py and regenerating them. This revbump does exactly that, and, as a side effect, speeds up tests considerably (from 8m32s to 56s on my machine). A github PR will follow ASAP.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c74caf635cd0485b39e9be44d00a01c740789848 commit c74caf635cd0485b39e9be44d00a01c740789848 Author: PPed72 <paolo.pedroni@iol.it> AuthorDate: 2018-07-06 13:18:35 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2018-07-10 21:15:22 +0000 dev-python/slimit: revbump to silence warning on module import Closes: https://bugs.gentoo.org/660510 Closes: https://github.com/gentoo/gentoo/pull/9068 Package-Manager: Portage-2.3.40, Repoman-2.3.9 .../slimit/{slimit-0.8.1.ebuild => slimit-0.8.1-r1.ebuild} | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-)