[PATCH 7/8] python tests: support PEP-3147 installation layout

2012-11-19 Thread Stefano Lattarini
This fixes several spurious testsuite failures with python >= 3.2, introduced by recent commit v1.12.4-43-ge0e99ed, "python: improve support for modern python (CPython 3.2 and PyPy)". * t/ax/am-test-lib.sh (python_has_pep3147, pyc_location, py_installed): New functions. ($am_pep3147_tag): New vari

[PATCH 6/8] python: uninstall cater to PEP-3147

2012-11-19 Thread Stefano Lattarini
After recent commit commit v1.12.4-43-ge0e99ed, "python: improve support for modern python (CPython 3.2 and PyPy)", the python install rules have been made smart enough to install "*.pyc" byte-compiled files according to PEP-3147 with modern (post-3.2) pythons. However, the uninstall rules hadn't

[PATCH 4/8] tests: honour $PYTHON override

2012-11-19 Thread Stefano Lattarini
* t/ax/am-test-lib.sh (require_tool): Here. * t/python-too-old.sh: And here. * t/python-vars.sh: And here. * t/python-virtualenv.sh: And here. Also add some sanity checks while at it. Signed-off-by: Stefano Lattarini --- t/ax/am-test-lib.sh| 5 +++-- t/python-too-old.sh| 3 ++- t/python

[PATCH 2/8] news: document fix for bug#8847 (PEP-3147, __pycache__)

2012-11-19 Thread Stefano Lattarini
* NEWS (Bugs fixed in 1.12.5): Here. Signed-off-by: Stefano Lattarini --- NEWS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NEWS b/NEWS index 6377234..4da66f8 100644 --- a/NEWS +++ b/NEWS @@ -97,6 +97,9 @@ Bugs fixed in 1.12.5: finding classic 'libname.a' style libraries when 'nam

[PATCH 0/8] tests: support for PEP-3147, and testsuite fixes

2012-11-19 Thread Stefano Lattarini
Original patch: Yaakov Selkowitz (1): python: improve support for modern python (CPython 3.2 and PyPy) Stefano Lattarini (7): news: document fix for bug#8847 (PEP-3147, __pycache__) tests: typofix in message tests:

Re: [PATCH] Improve python support

2012-11-19 Thread Stefano Lattarini
Hi Yaakov. Thanks for the patch, and sorry for the delay. On 11/05/2012 06:45 PM, Yaakov (Cygwin/X) wrote: > From: Yaakov Selkowitz > > * m4/python.m4 (AM_PATH_PYTHON): Add python3.3 to _AM_PYTHON_INTERPRETER_LIST. > * lib/py-compile: Fix compiled filenames for PEP-3147, currently implemented >