Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 419791 - dev-python/tpg-3.2.1 version bump request
Summary: dev-python/tpg-3.2.1 version bump request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-05 17:18 UTC by Ian Delaney (RETIRED)
Modified: 2012-06-06 08:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Delaney (RETIRED) gentoo-dev 2012-06-05 17:18:52 UTC
archtester tpg # USE_PYTHON="2.5 2.6 2.7 2.7-pypy-1.8" ebuild tpg-3.2.1.ebuild clean merge

>>> Original instance of package unmerged safely.
 * Compilation and optimization of Python modules for CPython 2.5       [ ok ]
 * Compilation and optimization of Python modules for CPython 2.6       [ ok ]
 * Compilation and optimization of Python modules for CPython 2.7       [ ok ]
 * Compilation and optimization of Python modules for PyPy 1.8 (Python 2.7) [ ok ]
>>> dev-python/tpg-3.2.1 merged.

however

archtester tpg # USE_PYTHON="2.5 2.6 2.7 2.7-pypy-1.8" ebuild tpg-3.2.1.ebuild clean test

* Parser ContextSensitiveLexer
**********************************************************************
Traceback (most recent call last):
  File "tpg_tests.py", line 42, in <module>
    class LexerOptionsTestCase(unittest.TestCase):
  File "tpg_tests.py", line 44, in LexerOptionsTestCase
    class WordBounded(PARSER):
  File "/mnt/gen2/TmpDir/portage/dev-python/tpg-3.2.1/work/TPG-3.2.1/tpg.py", line 872, in __init__
    for attribute, source, code in parser(grammar):
  File "/mnt/gen2/TmpDir/portage/dev-python/tpg-3.2.1/work/TPG-3.2.1/tpg.py", line 1723, in __call__
    docs = re.split(r"::[ \t]*$", input, maxsplit=1, flags=re.M)
TypeError: Error when calling the metaclass bases
    split() got an unexpected keyword argument 'flags'
 
for python2 2.5 2.6, leaving only python2.7 capable of handling tests.

PYTHON_TESTS_RESTRICTED_ABIS="2.5 2.6" ?? It appears the tests are in a format suiting only 2.7, however I can't possibly tell whether this warrants above or
PYTHON_DEPEND="2:2.7" 

Should be 1 or the other, I'm not committing this time either way
Comment 1 Patrick Lauer gentoo-dev 2012-06-06 08:07:23 UTC
+  06 Jun 2012; Patrick Lauer <patrick@gentoo.org> +tpg-3.2.1.ebuild:
+  Bump for #419791