pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/waf Updated waf to 1.9.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2ac5f2a1db3e
branches:  trunk
changeset: 349258:2ac5f2a1db3e
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jul 03 11:07:31 2016 +0000

description:
Updated waf to 1.9.0.

NEW IN WAF 1.9
--------------

* General enhancements:
  - Detect Clang first on many platforms, in particular on FreeBSD #1528
  - Remove Node.cache_sig and Node.sig so that dependencies involve file contents by default #1580
  - Change cflags in the beginning / cppflags at the end #1505
  - Merge ${FOO}${BAR} flags in commands executed without a shell (no spaces inserted)
  - Interpret empty command-line defines as integer values for dependency calculation #1704
  - Waf tools are not cached on "waf configure" by default anymore; pass conf.load(.., cache=True)
  - Enable a consistent progress bar output #1641
  - Add ${VAR?X} constructs in script expressions to enable simple conditional outputs
  - Enable 'waf dist' to package arbitrary symlinks in tarballs #1719
  - Enable regexp objects in @extension besides strings for file extensions
  - Match extensions in the order of last definition
  - Task generators are now processed group-by-group, so the next task generators are
    processed when all tasks in a previous group are complete; bld.post_mode=POST_LAZY
    becomes thus the default (playground/dynamic_build/ examples)
  - Process Qt5 files in the way suggested by the Qt documentation
  - Installation methods install_files/install_as/symlink_as create regular task generators
    and regular tasks so that installation outputs can be re-used easily
  - Subclass waflib.Build.ConfiguredContext to enable configuration-dependent user commands
  - Enable @argfile procesing in Task.exec_command when argument limits are exceeded
  - Apply optional tsk.env.PATH values in Task.exec_command
  - Enable ut_str to process scriptlet expressions for C/C++ unit tests
  - Minimize the amount of paths added to unit test environment variable
  - Restore configuration values with Configure.autoconfig='clobber' #1758
  - Rebuilds are applied on file contents so that update_outputs is no longer needed

* Performance highlights:
  - Reduce the key size in bld.task_sigs by adding bld.node_sigs and bld.imp_sigs
  - Remove __hash__ and __eq__ from Context, Node and Task #1629
  - Detect visual studio versions lazily by default
  - Remove the uses of run_once that can consume a lot of memory; add a proper LRU cache
  - Enable pre-forked builds by default to achieve faster builds, up to 2x speedup on short-lived processes
  - Enable faster consumers in Runner.py
  - Add the tool 'nobuild.py' to help with performance troubleshooting
  - Enable profiling with the --profile command-line option

* API changes:
  - The minimum Python version required is Python 2.5
  - Add Task.get_cwd()
  - Remove the command called 'update'
  - Remove unused variables and functions:
    - TaskBase.attr()
    - Build.POST_BOTH
    - Options.platform
    - Options.cmds
    - Task.dep_vars (define Task.vars on instances if necessary)
    - Utils.nogc
    - Configure.err_handler
    - All duplicate split() functions from Utils
  - Remove the unused attribute 'mac_resources', use 'mac_files' instead (see demos/mac_app)
  - Remove qt4 and kde4 from the default modules
  - Refactor msvc.py
  - Task.sig_vars, Task.sig_explit_deps and Task.sig_implicit_deps return None
  - Use relative paths in apply_incpaths by default (and absolute ones when paths cross drives)
  - Modify Utils.run_once so that it accepts a list of *args
  - Better consistency between check_cfg and check_cc variables
  - task_gen.mapping and task_gen.prec are not defined by default on instances anymore, but
    instances can still define their own mappings to override the defaults, but in
    that case all mappings/precedences must be present. These features were not used in Waf 1.8.
  - Do not truncate _task suffixes from Task class names if present

diffstat:

 devel/waf/Makefile |   4 ++--
 devel/waf/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r 3d3704880d47 -r 2ac5f2a1db3e devel/waf/Makefile
--- a/devel/waf/Makefile        Sun Jul 03 11:05:56 2016 +0000
+++ b/devel/waf/Makefile        Sun Jul 03 11:07:31 2016 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.21 2016/05/29 21:31:54 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2016/07/03 11:07:31 wiz Exp $
 
-DISTNAME=      waf-1.8.21
+DISTNAME=      waf-1.9.0
 CATEGORIES=    devel
 MASTER_SITES=  https://waf.io/
 EXTRACT_SUFX=  .tar.bz2
diff -r 3d3704880d47 -r 2ac5f2a1db3e devel/waf/distinfo
--- a/devel/waf/distinfo        Sun Jul 03 11:05:56 2016 +0000
+++ b/devel/waf/distinfo        Sun Jul 03 11:07:31 2016 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.23 2016/05/29 21:31:54 wiz Exp $
+$NetBSD: distinfo,v 1.24 2016/07/03 11:07:31 wiz Exp $
 
-SHA1 (waf-1.8.21.tar.bz2) = 240e8c9b3e9d8a2cc75a694fde5929f0ead1746a
-RMD160 (waf-1.8.21.tar.bz2) = 9485f89b24acd30717ee79299f4265e8ffee5b4e
-SHA512 (waf-1.8.21.tar.bz2) = 53f39472acc24bd31a904651a1fda7dbe71f5fdd559248ceef9b70c862c141b3fbfa46340c897a89e3d11d645e5be260a17801e77294bd4ade4a36cd4b653192
-Size (waf-1.8.21.tar.bz2) = 1365817 bytes
+SHA1 (waf-1.9.0.tar.bz2) = 832df63b5f76fc8f8577ebd24d298253c848f7f1
+RMD160 (waf-1.9.0.tar.bz2) = 156a4599981c58d2d192e9c74ac61a2a1e9b1fc2
+SHA512 (waf-1.9.0.tar.bz2) = ed83e219905e43e65f245bc5bab50403cbf2d72aefcb824ee3471a86d726ddf8feaa488abbdb2bbf1f260e09918ff3304b8dc9dd60c736031747eebae8d7ec27
+Size (waf-1.9.0.tar.bz2) = 1361593 bytes



Home | Main Index | Thread Index | Old Index