dev-python/pylint version 1.0.0 has been released. This includes some better support for Python3, which would be really nice to have. Unfortunately, this also needs bumps (and renames!) of dependencies. Thanks!
Also please add python3_3 to PYTHON_TARGETS list.
Sorry I mean adding python3_3 to PYTHON_COMPAT list in the ebuild file. I apology for my mistake.
yegle, could you care to attach patch with this and updated dependencies? :) TIA.
Created attachment 369442 [details] dev-python/astroid logilab-astng was renamed to astroid, so is the ebuild file.
Created attachment 369444 [details] logilab-common-0.60.1.ebuild Add Python3.3 support
Created attachment 369446 [details] pylint-1.1.0.ebuild Change download link, add Python3.3 support
(In reply to yegle from comment #5) > Created attachment 369444 [details] > logilab-common-0.60.1.ebuild > > Add Python3.3 support The attached ebuilds work fine. Thanks a lot. :) However the logilab-common ebuild fails tests for python3.3 on my hardened ~amd64 machine like follows. ======================= unittest_umessage.py ======================= FF.F ====================================================================== FAIL: test_decode_QP (unittest_umessage.UMessageTC) ---------------------------------------------------------------------- Traceback (most recent call last) File "/var/tmp/portage/dev-python/logilab-common-0.60.1/work/logilab-common-0.60.1-python3_3/test/lib/logilab_common-0.60.1-py3.3.egg/logilab/common/test/unittest_umessage.py", line 59, in test_decode_QP self.assertEqual(test, 'Raphaël DUPONT<raphael.dupont@societe.fr>') File "/usr/lib64/python3.3/unittest/case.py", line 641, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib64/python3.3/unittest/case.py", line 1020, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib64/python3.3/unittest/case.py", line 508, in fail raise self.failureException(msg) AssertionError: 'Raphaël DUPONT<raphael.dupont@societe.fr>' != 'Raphaël DUPONT<raphael.dupont@societe.fr>' - Raphaël DUPONT<raphael.dupont@societe.fr> ? - + Raphaël DUPONT<raphael.dupont@societe.fr> no stdout no stderr ====================================================================== FAIL: test_get_all (unittest_umessage.UMessageTC) ---------------------------------------------------------------------- Traceback (most recent call last) File "/var/tmp/portage/dev-python/logilab-common-0.60.1/work/logilab-common-0.60.1-python3_3/test/lib/logilab_common-0.60.1-py3.3.egg/logilab/common/test/unittest_umessage.py", line 49, in test_get_all self.assertEqual(to, ['élément à accents <alf@logilab.fr>']) File "/usr/lib64/python3.3/unittest/case.py", line 641, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib64/python3.3/unittest/case.py", line 844, in assertListEqual self.assertSequenceEqual(list1, list2, msg, seq_type=list) File "/usr/lib64/python3.3/unittest/case.py", line 826, in assertSequenceEqual self.fail(msg) File "/usr/lib64/python3.3/unittest/case.py", line 508, in fail raise self.failureException(msg) AssertionError: Lists differ: ['élément à accents <alf@logi... != ['élément à accents <alf@logil... First differing element 0: élément à accents <alf@logilab.fr> élément à accents <alf@logilab.fr> - ['élément à accents <alf@logilab.fr>'] ? - + ['élément à accents <alf@logilab.fr>'] no stdout no stderr ====================================================================== FAIL: test_get_subject (unittest_umessage.UMessageTC) ---------------------------------------------------------------------- Traceback (most recent call last) File "/var/tmp/portage/dev-python/logilab-common-0.60.1/work/logilab-common-0.60.1-python3_3/test/lib/logilab_common-0.60.1-py3.3.egg/logilab/common/test/unittest_umessage.py", line 44, in test_get_subject self.assertEqual(subj, 'À LA MER') File "/usr/lib64/python3.3/unittest/case.py", line 641, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib64/python3.3/unittest/case.py", line 1020, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib64/python3.3/unittest/case.py", line 508, in fail raise self.failureException(msg) AssertionError: 'À LA MER' != 'À LA MER' - À LA MER ? - + À LA MER
*pylint-1.1.0 (16 Feb 2014) 16 Feb 2014; Ian Delaney <idella4@gentoo.org> +pylint-1.1.0.ebuild: bump; add IUSE doc & test, doc build & install, update deps, update test phase, tidy install phase