pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/scons4



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Apr  6 06:32:56 UTC 2024

Modified Files:
        pkgsrc/devel/scons4: Makefile PLIST distinfo

Log Message:
py-scons: update to 4.7.0.

NEW FUNCTIONALITY

    Method unlink_files was added to the TestCmd class that unlinks a list of files
    from a specified directory. An attempt to unlink a file is made only when the
    file exists; otherwise, the file is ignored.

CHANGED/ENHANCED EXISTING FUNCTIONALITY

    Add an optional argument list string to configure's CheckFunc method so
    that the generated function argument list matches the function's
    prototype when including a header file. Fixes GH Issue #4320
    Now supports pre-release Python 3.13
    Support for Python versions without support for the threading package has been removed
    Dropped three unused warning classes: DeprecatedSourceCodeWarning,
    TaskmasterNeedsExecuteWarning, DeprecatedMissingSConscriptWarning.
    Two warning classes that are actually used were added to manpage section on
    enabling warnings (cache-cleanup-error, future-reserved-variable).

FIXES

    Fix of the --debug=sconscript option to return exist statements when using return
    statement with stop flag enabled
    MSVS: prevent overwriting the SCons environment variable SCONS_HOME with the OS
    environment value of SCONS_HOME in the msvs tool.
    MSVC: Fix the detection of Visual Studio 2015 Express ('14.0Exp') by adding a
    registry key definition and updating the installation root-relative registry value
    at runtime for the location of the VC folder.
    MSVS: Fix the msvs project generation test for MSVS 6.0 to use the correct name of
    the generated project file.
    MSVS: Fix the msvs project generation test scripts so that "false positive" tests
    results are not possible when the initial build is successful and the command-line
    build of the project file fails.
    On Windows platform, when collecting command output (Configure checks),
    make sure decoding of bytes doesn't fail.
    Documentation indicated that both Pseudo() and env.Pseudo() were usable,
    but Pseudo() did not work; is now enabled.
    Improve handling of file data that SCons itself processes - as in
    scanners - try harder to decode non-UTF-8 text.
    PyPackageDir no longer fails if passed a module name which cannot be found,
    now returns None.
    Add locking around creation of CacheDir config file. Fixes issue #4489.

IMPROVEMENTS

    Use of NotImplemented instead of NotImplementedError for special methods
    of _ListVariable class
    The NewParallel scheduler is now the default, the tm_v2 flag is removed,
    and the old scheduler is opt-in under --experimental=legacy_sched. Additionally,
    the new scheduler is now used for -j1 builds as well.
    NOTE: This should significantly improve SCons performance for larger parallel builds
    (Larger -j values)
    CacheDir writes no longer happen within the taskmaster critical section, and therefore
    can run in parallel with both other CacheDir writes and the taskmaster DAG walk.
    The NewParallel scheduler now only adds threads as new work requiring execution
    is discovered, up to the limit set by -j. This should reduce resource utilization
    when the achievable parallelism in the DAG is less than the -j limit.
    Dumping an environment with json formatting will now explicitly specify if a given
    value cannot be serialized.

PACKAGING

    Remove unnecessary dependencies on pypi packages from setup.cfg
    SCons documentation build can now be controlled through SKIP_DOC
    variable - rather than just true/false can now specify
    skip none, skip all, skip pdf docs, skip api docs.

DOCUMENTATION

    Fixed the Scanner examples in the User Guide to be runnable and added
    some more explanation. Clarified discussion of the scanner function in
    the Scanner Objects section of the manpage.
    The manpage entry for Pseudo was clarified.
    The manpage entry for SharedLibrary was clarified.
    Update API docs for Warnings framework; add two warns to manpage
    enable/disable control.
    More consistent use of &Python; in the manpage. A few links added.
    A warning about overwriting env['ENV'] and one about Configure
    checks possibly not running in in no-exec mode also added.
    Clarify how SCons finds the project top directory, and what that is used for.
    Clarify MergeFlags usage of a dict argument.

DEVELOPMENT

    Fix sphinx config to handle SCons versions with post such as: 4.6.0.post1
    Created SCons.Util.sctyping to contain complex type information, allowing
    for repo-wide type hinting without causing cyclical dependencies.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/scons4/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/scons4/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/scons4/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/scons4/Makefile
diff -u pkgsrc/devel/scons4/Makefile:1.7 pkgsrc/devel/scons4/Makefile:1.8
--- pkgsrc/devel/scons4/Makefile:1.7    Tue Jan  2 08:43:10 2024
+++ pkgsrc/devel/scons4/Makefile        Sat Apr  6 06:32:56 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2024/01/02 08:43:10 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2024/04/06 06:32:56 wiz Exp $
 
-DISTNAME=      SCons-4.6.0.post1
+DISTNAME=      SCons-4.7.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=S/SCons/}

Index: pkgsrc/devel/scons4/PLIST
diff -u pkgsrc/devel/scons4/PLIST:1.2 pkgsrc/devel/scons4/PLIST:1.3
--- pkgsrc/devel/scons4/PLIST:1.2       Sat Dec 30 10:47:36 2023
+++ pkgsrc/devel/scons4/PLIST   Sat Apr  6 06:32:56 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2023/12/30 10:47:36 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2024/04/06 06:32:56 wiz Exp $
 bin/scons-${PYVERSSUFFIX}
 bin/scons-configure-cache-${PYVERSSUFFIX}
 bin/sconsign-${PYVERSSUFFIX}
@@ -1957,6 +1957,9 @@ ${PYSITELIB}/SCons/Util/hashes.pyo
 ${PYSITELIB}/SCons/Util/sctypes.py
 ${PYSITELIB}/SCons/Util/sctypes.pyc
 ${PYSITELIB}/SCons/Util/sctypes.pyo
+${PYSITELIB}/SCons/Util/sctyping.py
+${PYSITELIB}/SCons/Util/sctyping.pyc
+${PYSITELIB}/SCons/Util/sctyping.pyo
 ${PYSITELIB}/SCons/Util/stats.py
 ${PYSITELIB}/SCons/Util/stats.pyc
 ${PYSITELIB}/SCons/Util/stats.pyo

Index: pkgsrc/devel/scons4/distinfo
diff -u pkgsrc/devel/scons4/distinfo:1.3 pkgsrc/devel/scons4/distinfo:1.4
--- pkgsrc/devel/scons4/distinfo:1.3    Tue Jan  2 08:43:10 2024
+++ pkgsrc/devel/scons4/distinfo        Sat Apr  6 06:32:56 2024
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2024/01/02 08:43:10 wiz Exp $
+$NetBSD: distinfo,v 1.4 2024/04/06 06:32:56 wiz Exp $
 
-BLAKE2s (SCons-4.6.0.post1.tar.gz) = af2d1211e1dde6fd02bcabaf775c6c7a7df312bd8241a02c5570333bf11f624f
-SHA512 (SCons-4.6.0.post1.tar.gz) = 1829e5ed0fc7ab4b4d921717e81171c13c2c1f9d77988bc35a3986c6e474664bae5d3b70a2b9758439c992a6b4ad2b507bc37beeb9c14d2654ee9b43171e98af
-Size (SCons-4.6.0.post1.tar.gz) = 3217478 bytes
+BLAKE2s (SCons-4.7.0.tar.gz) = ed80366b527710b811653fd84e923a7298189562405d43996a18d10433e84cb5
+SHA512 (SCons-4.7.0.tar.gz) = 4d607114eb4ed91a33bb86f07af8d60f89d55402752ca524ad79a5af8bd73cbc0d4e3490894200c71fe5fb62fb35558a3f9edbd1b03f134592c52de7ab146730
+Size (SCons-4.7.0.tar.gz) = 3220727 bytes
 SHA1 (patch-SCons_Platform_____init____.py) = 944c044beea35d47f144a6a4ab8fe77e28aaf706



Home | Main Index | Thread Index | Old Index