Authentication-Results: name.execsw.org; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=j6lQxctJ; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=qeVPR54C Received: by mail.netbsd.org (Postfix, from userid 605) id 65D5784D8C; Sat, 6 Apr 2024 06:32:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1712385178; bh=IY4kkFznHppOp0RwWO/k3LAvJ1C4aU+pt1jcZ1yFGgA=; h=Date:From:Subject:To:Reply-To:List-Id:List-Unsubscribe; b=j6lQxctJ806RiZzymT5jXCH1wDxnHhdkSL8wcDUYGzEARi1M9sOUo+w2R38Q5YqNN JenWwiH2oy1L0kNzW1MynfYxwBQRnt1RIsW9gh55f0Nfx7BjQpnTL2dgZcC1nTYThh 47gwUaQSdnpcEXObfhJ/9lOV0IVM1v5xBQ9S19jU= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 560B984D6A for ; Sat, 6 Apr 2024 06:32:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Authentication-Results: mail.netbsd.org (amavisd-new); dkim=pass (1024-bit key) header.d=netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id q3ariK8s0-8A for ; Sat, 6 Apr 2024 06:32:56 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 5731784CE2 for ; Sat, 6 Apr 2024 06:32:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1712385176; bh=IY4kkFznHppOp0RwWO/k3LAvJ1C4aU+pt1jcZ1yFGgA=; h=Date:From:Subject:To:Reply-To; b=qeVPR54Cd+3TkuUP7huNfrApkkArkMZrIi5wg6m8m4ufjijW6eJb3zg0A3+xYQ+iG /MAItIn7p2RxGTiEzTfJno8qgsiMXo1d9YNRjMGWNoi/UOGwVA9ETSW+krwzDZzo47 FctJfO+qVCLPHjPcjJqkBasY9lw+Mttr2eEC/rbY= Received: by cvs.NetBSD.org (Postfix, from userid 500) id 46913FA2C; Sat, 6 Apr 2024 06:32:56 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1712385176217310" MIME-Version: 1.0 Date: Sat, 6 Apr 2024 06:32:56 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/devel/scons4 To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20240406063256.46913FA2C@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1712385176217310 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1712385176217310 Content-Disposition: inline Content-Length: 2446 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 --_----------=_1712385176217310--