Skip to content

Commit 2b8bd2a

Browse files
authored
Merge pull request SCons#4497 from SCons/rel_4.7.0
Rel 4.7.0
2 parents 84240a0 + 05f2992 commit 2b8bd2a

13 files changed

+142
-114
lines changed

CHANGES.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
NOTE: The 4.0.0 Release of SCons dropped Python 2.7 Support
88
NOTE: 4.3.0 now requires Python 3.6.0 and above. Python 3.5.x is no longer supported
99

10-
RELEASE VERSION/DATE TO BE FILLED IN LATER
10+
RELEASE 4.7.0 - Sun, 17 Mar 2024 17:22:20 -0700
1111

1212
From Ataf Fazledin Ahamed:
1313
- Use of NotImplemented instead of NotImplementedError for special methods
@@ -52,7 +52,7 @@ RELEASE VERSION/DATE TO BE FILLED IN LATER
5252
- Fix sphinx config to handle SCons versions with post such as: 4.6.0.post1
5353

5454
From Michał Górny:
55-
- Remove unecessary dependencies on pypi packages from setup.cfg
55+
- Remove unnecessary dependencies on pypi packages from setup.cfg
5656

5757
From Sten Grüner:
5858
- Fix of the --debug=sconscript option to return exist statements when using return
@@ -112,7 +112,7 @@ RELEASE VERSION/DATE TO BE FILLED IN LATER
112112
- Add locking around creation of CacheDir config file. Fixes #4489.
113113
- Clarify MergeFlags usage of a dict argument.
114114
- SCons documentation build can now be controlled through SKIP_DOC
115-
variable - rather than just true/false can now specifiy
115+
variable - rather than just true/false can now specify
116116
skip none, skip all, skip pdf docs, skip api docs.
117117

118118

README-SF.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ By default, the above commands will do the following:
134134
- Install scripts named "scons" and "sconsign" scripts in the default system
135135
script directory (/usr/bin or C:\\Python\*\\Scripts, for example).
136136

137-
- Install "scons-4.5.1.exe" and "scons.exe" executables in the Python
137+
- Install "scons-4.7.0.exe" and "scons.exe" executables in the Python
138138
prefix directory on Windows (C:\\Python\*, for example).
139139

140140
- Install the SCons build engine (a Python module) in the standard Python library directory
@@ -391,7 +391,7 @@ about `Executing SCons Without Installing`_)::
391391
Depending on the utilities installed on your system, any or all of the
392392
following packages will be built::
393393

394-
SCons-4.5.1-py3-none-any.whl
394+
SCons-4.7.0-py3-none-any.whl
395395
SCons-4.7.0ayyyymmdd.tar.gz
396396
SCons-4.7.0ayyyymmdd.zip
397397
scons-doc-4.7.0ayyyymmdd.tar.gz

README-package.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,5 +192,5 @@ For More Information
192192
Check the SCons web site at https://www.scons.org/
193193

194194

195-
Copyright (c) 2001 - 2021 The SCons Foundation
195+
Copyright (c) 2001 - 2024 The SCons Foundation
196196

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,4 +299,4 @@ many contributors, including but not at all limited to:
299299

300300
\... and many others.
301301

302-
Copyright (c) 2001 - 2021 The SCons Foundation
302+
Copyright (c) 2001 - 2024 The SCons Foundation

RELEASE.txt

Lines changed: 13 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
1-
If you are reading this in the git repository, the contents
2-
refer to *unreleased* changes since the last SCons release.
3-
Past official release announcements appear at:
4-
5-
https://scons.org/tag/releases.html
6-
7-
==================================================================
8-
9-
A new SCons release, 4.6.1, is now available on the SCons download page:
1+
A new SCons release, 4.7.0, is now available on the SCons download page:
102

113
https://scons.org/pages/download.html
124

13-
145
Here is a summary of the changes since 4.6.0:
156

167
NEW FUNCTIONALITY
@@ -20,12 +11,6 @@ NEW FUNCTIONALITY
2011
from a specified directory. An attempt to unlink a file is made only when the
2112
file exists; otherwise, the file is ignored.
2213

23-
24-
DEPRECATED FUNCTIONALITY
25-
------------------------
26-
27-
- List anything that's been deprecated since the last release
28-
2914
CHANGED/ENHANCED EXISTING FUNCTIONALITY
3015
---------------------------------------
3116

@@ -64,7 +49,6 @@ FIXES
6449
now returns None.
6550
- Add locking around creation of CacheDir config file. Fixes issue #4489.
6651

67-
6852
IMPROVEMENTS
6953
------------
7054

@@ -83,13 +67,12 @@ IMPROVEMENTS
8367
- Dumping an environment with `json` formatting will now explicitly specify if a given
8468
value cannot be serialized.
8569

86-
8770
PACKAGING
8871
---------
8972

90-
- Remove unecessary dependencies on pypi packages from setup.cfg
73+
- Remove unnecessary dependencies on pypi packages from setup.cfg
9174
- SCons documentation build can now be controlled through SKIP_DOC
92-
variable - rather than just true/false can now specifiy
75+
variable - rather than just true/false can now specify
9376
skip none, skip all, skip pdf docs, skip api docs.
9477

9578
DOCUMENTATION
@@ -108,8 +91,6 @@ DOCUMENTATION
10891
- Clarify how SCons finds the project top directory, and what that is used for.
10992
- Clarify MergeFlags usage of a dict argument.
11093

111-
112-
11394
DEVELOPMENT
11495
-----------
11596

@@ -122,3 +103,13 @@ Thanks to the following contributors listed below for their contributions to thi
122103
.. code-block:: text
123104

124105
git shortlog --no-merges -ns 4.6.0..HEAD
106+
26 Andrew Morrow
107+
24 Mats Wichmann
108+
14 William Deegan
109+
7 Joseph Brill
110+
6 StenGruener
111+
3 Prabhu S. Khalsa
112+
3 Thaddeus Crews
113+
2 fazledyn-or
114+
1 Michał Górny
115+
1 Piotr Siupa

SCons/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
__version__="4.6.1"
2-
__copyright__="Copyright (c) 2001 - 2023 The SCons Foundation"
1+
__version__="4.7.0"
2+
__copyright__="Copyright (c) 2001 - 2024 The SCons Foundation"
33
__developer__="bdbaddog"
4-
__date__="Sun, 19 Nov 2023 17:54:10 -0700"
4+
__date__="Sun, 17 Mar 2024 17:33:54 -0700"
55
__buildsys__="M1Dog2021"
6-
__revision__="70bcde6f38478a85a552ee624baaa2beb7b2bb92"
7-
__build__="70bcde6f38478a85a552ee624baaa2beb7b2bb92"
6+
__revision__="265be6883fadbb5a545612265acc919595158366"
7+
__build__="265be6883fadbb5a545612265acc919595158366"
88
# make sure compatibility is always in place
99
import SCons.compat # noqa

SConstruct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ copyright_years = strftime('2001 - %Y')
3636
# This gets inserted into the man pages to reflect the month of release.
3737
month_year = strftime('%B %Y')
3838
project = 'scons'
39-
default_version = '4.6.1'
39+
default_version = '4.7.0'
4040
copyright = f"Copyright (c) {copyright_years} The SCons Foundation"
4141

4242
# We let the presence or absence of various utilities determine whether

doc/generated/builders.gen

Lines changed: 41 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2216,13 +2216,24 @@ env.RPCGenClient('src/rpcif.x')
22162216
<term><replaceable>env</replaceable>.<methodname>SharedLibrary</methodname>()</term>
22172217
<listitem><para>
22182218
Builds a shared library
2219-
(<filename>.so</filename> on a POSIX system,
2220-
<filename>.dll</filename> on Windows)
22212219
given one or more object files
2222-
or C, C++, D or Fortran source files.
2223-
If any source files are given,
2224-
then they will be automatically
2225-
compiled to object files.
2220+
and/or C, C++, D or Fortran source files.
2221+
Any source files listed in the
2222+
<parameter>source</parameter> parameter
2223+
will be automatically
2224+
compiled to object files suitable
2225+
for use in a shared library.
2226+
Any object files listed in the
2227+
<parameter>source</parameter> parameter
2228+
must have been built for a shared library
2229+
(that is, using the
2230+
&b-SharedObject;
2231+
builder method).
2232+
&scons;
2233+
will raise an error if there is any mismatch.
2234+
</para>
2235+
2236+
<para>
22262237
The target library file prefix,
22272238
specified by the &cv-link-SHLIBPREFIX; &consvar;
22282239
(by default, <filename>lib</filename> on POSIX systems,
@@ -2231,7 +2242,13 @@ and suffix,
22312242
specified by the &cv-link-SHLIBSUFFIX; &consvar;
22322243
(by default, <filename>.dll</filename> on Windows systems,
22332244
<filename>.so</filename> on POSIX systems),
2234-
are automatically added to the target if not already present.
2245+
are automatically added (if not already present)
2246+
to the target name to make up the library filename.
2247+
On a POSIX system, if the &cv-link-SHLIBVERSION; &consvar; is set,
2248+
it is appended (following a period) to the resulting library name.
2249+
</para>
2250+
2251+
<para>
22352252
Example:
22362253
</para>
22372254

@@ -2261,16 +2278,6 @@ if there is not already a <filename>.dll.a</filename> file explicitly
22612278
listed in the targets.
22622279
</para>
22632280

2264-
<para>
2265-
Any object files listed in the
2266-
<parameter>source</parameter>
2267-
must have been built for a shared library
2268-
(that is, using the
2269-
&b-SharedObject;
2270-
builder method).
2271-
&scons;
2272-
will raise an error if there is any mismatch.
2273-
</para>
22742281

22752282
<para>
22762283
On some platforms, there is a distinction between a shared library
@@ -2280,7 +2287,7 @@ For maximum portability, use the &b-link-LoadableModule; builder for the latter.
22802287
</para>
22812288

22822289
<para>
2283-
When the &cv-link-SHLIBVERSION; &consvar; is defined, a versioned
2290+
If &cv-link-SHLIBVERSION; is defined, a versioned
22842291
shared library is created. This modifies &cv-link-SHLINKFLAGS; as required,
22852292
adds the version number to the library name, and creates any
22862293
symbolic links that are needed.
@@ -2291,17 +2298,25 @@ env.SharedLibrary(target='bar', source=['bar.c', 'foo.o'], SHLIBVERSION='1.5.2')
22912298
</example_commands>
22922299

22932300
<para>
2294-
On a POSIX system, versions with a single token create exactly one symlink:
2295-
<filename>libbar.so.6</filename> would have symlink <filename>libbar.so</filename> only.
2296-
On a POSIX system, versions with two or more
2297-
tokens create exactly two symlinks: <filename>libbar.so.2.3.1</filename> would have symlinks
2298-
<filename>libbar.so</filename> and <filename>libbar.so.2</filename>; on a Darwin (OSX) system the library would be
2299-
<filename>libbar.2.3.1.dylib</filename> and the link would be <filename>libbar.dylib</filename>.
2301+
On a POSIX system, supplying a simple version string (no dots)
2302+
creates exactly one symbolic link: <literal>SHLIBVERSION="1"</literal>
2303+
would create (for example) library <filename>libbar.so.1</filename>
2304+
and symbolic link <filename>libbar.so</filename>.
2305+
Supplying a dotted version string will create two symbolic links
2306+
(irrespective of the number of segments in the version):
2307+
<literal>SHLIBVERSION="1.5.2"</literal> for the same library
2308+
would create library <filename>libbar.so.1.5.2</filename>
2309+
and symbolic links <filename>libbar.so</filename> and
2310+
<filename>libbar.so.1</filename>. A Darwin (OSX)
2311+
system creates one symlink in either case,
2312+
for the second example the library would be
2313+
<filename>libbar.1.5.2.dylib</filename>
2314+
and the link would be <filename>libbar.dylib</filename>.
23002315
</para>
23012316

23022317
<para>
2303-
On Windows systems, specifying
2304-
<parameter>register=1</parameter>
2318+
On Windows systems, specifying the
2319+
<parameter>register=1</parameter> keyword argument
23052320
will cause the <filename>.dll</filename> to be
23062321
registered after it is built.
23072322
The command that is run is determined by the &cv-link-REGSVR; &consvar;

doc/generated/examples/caching_ex-random_1.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
cc -o f3.o -c f3.c
33
cc -o f5.o -c f5.c
44
cc -o f4.o -c f4.c
5-
cc -o f2.o -c f2.c
65
cc -o f1.o -c f1.c
6+
cc -o f2.o -c f2.c
77
cc -o prog f1.o f2.o f3.o f4.o f5.o
88
</screen>

doc/generated/examples/troubleshoot_explain1_3.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
cp file.in file.oout
33

44
scons: warning: Cannot find target file.out after building
5-
File "/Users/bdbaddog/devel/scons/git/mwichmann/scripts/scons.py", line 97, in &lt;module&gt;
5+
File "/Users/bdbaddog/devel/scons/git/as_scons/scripts/scons.py", line 97, in &lt;module&gt;
66
</screen>

0 commit comments

Comments
 (0)