Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package scons for openSUSE:Factory checked in at 2023-03-30 22:50:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/scons (Old) and /work/SRC/openSUSE:Factory/.scons.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "scons" Thu Mar 30 22:50:37 2023 rev:46 rq:1075070 version:4.5.2 Changes: -------- --- /work/SRC/openSUSE:Factory/scons/scons.changes 2023-03-09 17:45:09.498722141 +0100 +++ /work/SRC/openSUSE:Factory/.scons.new.31432/scons.changes 2023-03-30 22:50:38.088371793 +0200 @@ -1,0 +2,8 @@ +Tue Mar 28 17:02:58 UTC 2023 - Andreas Stieger <andreas.stie...@gmx.de> + +- SCons 4.5.2 + * Fix a problem in 4.5.0/4.5.1 where ParseConfig could cause an + exception in MergeFlags when the result would be to add + preprocessor defines to existing CPPDEFINES + +------------------------------------------------------------------- Old: ---- SCons-4.5.1.tar.gz New: ---- SCons-4.5.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ scons.spec ++++++ --- /var/tmp/diff_new_pack.L7Ytpi/_old 2023-03-30 22:50:39.620379991 +0200 +++ /var/tmp/diff_new_pack.L7Ytpi/_new 2023-03-30 22:50:39.628380034 +0200 @@ -18,7 +18,7 @@ %define pythons python3 Name: scons -Version: 4.5.1 +Version: 4.5.2 Release: 0 Summary: Replacement for Make License: MIT ++++++ SCons-4.5.1.tar.gz -> SCons-4.5.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SCons-4.5.1/PKG-INFO new/SCons-4.5.2/PKG-INFO --- old/SCons-4.5.1/PKG-INFO 2023-03-07 05:32:57.292061000 +0100 +++ new/SCons-4.5.2/PKG-INFO 2023-03-21 17:11:43.491814900 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: SCons -Version: 4.5.1 +Version: 4.5.2 Summary: Open Source next-generation build tool. Home-page: https://www.scons.org/ Author: William Deegan diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SCons-4.5.1/SCons/Environment.py new/SCons-4.5.2/SCons/Environment.py --- old/SCons-4.5.1/SCons/Environment.py 2023-03-02 18:07:24.000000000 +0100 +++ new/SCons-4.5.2/SCons/Environment.py 2023-03-13 00:25:45.000000000 +0100 @@ -1043,6 +1043,12 @@ flags distributed into appropriate construction variables. See :meth:`ParseFlags`. + As a side effect, if *unique* is true, a new object is created + for each modified construction variable by the loop at the end. + This is silently expected by the :meth:`Override` *parse_flags* + functionality, which does not want to share the list (or whatever) + with the environment being overridden. + Args: args: flags to merge unique: merge flags rather than appending (default: True). @@ -1077,6 +1083,16 @@ try: orig = orig + value except (KeyError, TypeError): + # If CPPDEFINES is a deque, adding value (a list) + # results in TypeError, so we handle that case here. + # Just in case we got called from Override, make + # sure we make a copy, because we don't go through + # the cleanup loops at the end of the outer for loop, + # which implicitly gives us a new object. + if isinstance(orig, deque): + self[key] = self[key].copy() + self.AppendUnique(CPPDEFINES=value, delete_existing=True) + continue try: add_to_orig = orig.append except AttributeError: @@ -1095,6 +1111,7 @@ for v in orig[::-1]: if v not in t: t.insert(0, v) + self[key] = t @@ -1419,7 +1436,7 @@ if key == 'CPPDEFINES': _add_cppdefines(self._dict, val) continue - + try: orig = self._dict[key] except KeyError: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SCons-4.5.1/SCons/__init__.py new/SCons-4.5.2/SCons/__init__.py --- old/SCons-4.5.1/SCons/__init__.py 2023-03-07 05:32:39.000000000 +0100 +++ new/SCons-4.5.2/SCons/__init__.py 2023-03-21 17:11:28.000000000 +0100 @@ -1,9 +1,9 @@ -__version__="4.5.1" +__version__="4.5.2" __copyright__="Copyright (c) 2001 - 2023 The SCons Foundation" __developer__="bdbaddog" -__date__="Mon, 06 Mar 2023 23:32:38 -0400" +__date__="Tue, 21 Mar 2023 12:11:27 -0400" __buildsys__="M1DOG2021" -__revision__="49578b34582d9e92dac7d713a8e58599ae35aa63" -__build__="49578b34582d9e92dac7d713a8e58599ae35aa63" +__revision__="120fd4f633e9ef3cafbc0fec35306d7555ffd1db" +__build__="120fd4f633e9ef3cafbc0fec35306d7555ffd1db" # make sure compatibility is always in place import SCons.compat # noqa \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SCons-4.5.1/SCons.egg-info/PKG-INFO new/SCons-4.5.2/SCons.egg-info/PKG-INFO --- old/SCons-4.5.1/SCons.egg-info/PKG-INFO 2023-03-07 05:32:57.000000000 +0100 +++ new/SCons-4.5.2/SCons.egg-info/PKG-INFO 2023-03-21 17:11:43.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: SCons -Version: 4.5.1 +Version: 4.5.2 Summary: Open Source next-generation build tool. Home-page: https://www.scons.org/ Author: William Deegan diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SCons-4.5.1/pyproject.toml new/SCons-4.5.2/pyproject.toml --- old/SCons-4.5.1/pyproject.toml 2023-01-24 05:14:53.000000000 +0100 +++ new/SCons-4.5.2/pyproject.toml 2023-03-13 00:25:45.000000000 +0100 @@ -1,6 +1,6 @@ [build-system] build-backend = "setuptools.build_meta" -requires = ["setuptools", "wheel"] +requires = ["setuptools"] # for black and mypy, set the lowest Python version supported [tool.black] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SCons-4.5.1/scons-time.1 new/SCons-4.5.2/scons-time.1 --- old/SCons-4.5.1/scons-time.1 2023-03-07 05:30:49.000000000 +0100 +++ new/SCons-4.5.2/scons-time.1 2023-03-21 17:11:37.000000000 +0100 @@ -2,12 +2,12 @@ .\" Title: SCONS-TIME .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> -.\" Date: 03/06/2023 -.\" Manual: SCons 4.5.1 -.\" Source: SCons 4.5.1 +.\" Date: 03/21/2023 +.\" Manual: SCons 4.5.2 +.\" Source: SCons 4.5.2 .\" Language: English .\" -.TH "SCONS\-TIME" "1" "03/06/2023" "SCons 4\&.5\&.1" "SCons 4\&.5\&.1" +.TH "SCONS\-TIME" "1" "03/21/2023" "SCons 4\&.5\&.2" "SCons 4\&.5\&.2" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SCons-4.5.1/scons.1 new/SCons-4.5.2/scons.1 --- old/SCons-4.5.1/scons.1 2023-03-07 05:32:54.000000000 +0100 +++ new/SCons-4.5.2/scons.1 2023-03-21 17:11:40.000000000 +0100 @@ -2,12 +2,12 @@ .\" Title: SCONS .\" Author: The SCons Development Team .\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> -.\" Date: <pubdate>Released Mon, 06 Mar 2023 23:32:38 -0400</pubdate> -.\" Manual: SCons 4.5.1 -.\" Source: SCons 4.5.1 Version 4.5.1 +.\" Date: <pubdate>Released Tue, 21 Mar 2023 12:09:01 -0400</pubdate> +.\" Manual: SCons 4.5.2 +.\" Source: SCons 4.5.2 Version 4.5.2 .\" Language: English .\" -.TH "SCONS" "1" "<pubdate>Released Mon, 06 Mar 2023 23:32:38 -0400</pubdate>" "SCons 4\&.5\&.1 Version 4.5.1" "SCons 4\&.5\&.1" +.TH "SCONS" "1" "<pubdate>Released Tue, 21 Mar 2023 12:09:01 -0400</pubdate>" "SCons 4\&.5\&.2 Version 4.5.2" "SCons 4\&.5\&.2" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SCons-4.5.1/sconsign.1 new/SCons-4.5.2/sconsign.1 --- old/SCons-4.5.1/sconsign.1 2023-03-07 05:30:52.000000000 +0100 +++ new/SCons-4.5.2/sconsign.1 2023-03-21 17:11:41.000000000 +0100 @@ -2,12 +2,12 @@ .\" Title: SCONSIGN .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> -.\" Date: 03/06/2023 -.\" Manual: SCons 4.5.1 -.\" Source: SCons 4.5.1 +.\" Date: 03/21/2023 +.\" Manual: SCons 4.5.2 +.\" Source: SCons 4.5.2 .\" Language: English .\" -.TH "SCONSIGN" "1" "03/06/2023" "SCons 4\&.5\&.1" "SCons 4\&.5\&.1" +.TH "SCONSIGN" "1" "03/21/2023" "SCons 4\&.5\&.2" "SCons 4\&.5\&.2" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" -----------------------------------------------------------------