automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/6] Some python patches


From: Stefano Lattarini
Subject: Re: [PATCH 0/6] Some python patches
Date: Mon, 13 Jun 2011 00:06:25 +0200
User-agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; )

On Thursday 09 June 2011, Stefano Lattarini wrote:
> Hello automakers.
> 
> In the first patch of this series I'll present the promised patch
> ensuring that the py-compile script is run with $(SHELL) in the
> automake-generated Makefiles.
> 
> While writing that patch, I've noticed (and plucked) a couple of
> low-hanging fruits allowing small reductions in code duplication, and
> improvements in consistency and error reporting.  Also, I've added
> few test cases checking py-compile directly (not only through its use
> in generated Makefiles).
> 
> The changes introduced by these patches should IMHO go in a separate
> new branch 'python-work' based off of maint; we can later decide
> whether to merge this into maint, or only into master.
> 
> I will push in 72 hours if there is no comment by then.
> 
> Regards,
>   Stefano
> 
> Stefano Lattarini (6):
>   python: run the 'py-compile' script with $(SHELL)
>   py-compile: the '--destdir' option now accepts a blank argument
>   python tests: add "unit tests" on py-compile
>   py-compile: normalize error and help messages
>   py-compile: complain on unrecognized options
>   py-compile: '--' and non-option arguments terminate the option list
> 
>  ChangeLog                              |   61 ++++++++++++++++++++++++++
>  NEWS                                   |    5 ++
>  lib/am/python.am                       |   19 +++-----
>  lib/py-compile                         |   51 ++++++++++++++--------
>  tests/Makefile.am                      |    7 +++
>  tests/Makefile.in                      |    7 +++
>  tests/py-compile-basedir.test          |   51 +++++++++++++++++++++
>  tests/py-compile-basic.test            |   64 +++++++++++++++++++++++++++
>  tests/py-compile-basic2.test           |   71 ++++++++++++++++++++++++++++++
>  tests/py-compile-destdir.test          |   44 +++++++++++++++++++
>  tests/py-compile-env.test              |   60 +++++++++++++++++++++++++
>  tests/py-compile-option-terminate.test |   44 +++++++++++++++++++
>  tests/py-compile-usage.test            |   75 
> ++++++++++++++++++++++++++++++++
>  13 files changed, 529 insertions(+), 30 deletions(-)
>  create mode 100755 tests/py-compile-basedir.test
>  create mode 100755 tests/py-compile-basic.test
>  create mode 100755 tests/py-compile-basic2.test
>  create mode 100755 tests/py-compile-destdir.test
>  create mode 100755 tests/py-compile-env.test
>  create mode 100755 tests/py-compile-option-terminate.test
>  create mode 100755 tests/py-compile-usage.test
> 
> 
I've now pushed these patches to a new python-work branch.

Regards,
  Stefano



reply via email to

[Prev in Thread] Current Thread [Next in Thread]