Accepting request 1186441 from devel:tools:building

OBS-URL: https://build.opensuse.org/request/show/1186441
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/scons?expand=0&rev=48
This commit is contained in:
Ana Guerrero 2024-07-10 14:47:59 +00:00 committed by Git OBS Bridge
commit f3e3954fc0
4 changed files with 30 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d9fcd831700ce373ecd30ac55e9d7eff20754215cff5967c4972237d614a326e
size 3220744

3
SCons-4.8.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e928fc97984e719814270f6863f2183b3b72180b0162a5ed09db68c9994100c
size 3243387

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Mon Jul 8 21:25:32 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- SCons 4.8.0:
* GetSConsVersion() added to retrieve the SCons version
* Python 3.6 support marked as deprecated
Build with Python 3.11 on Leap.
* Improved Dump() json format detail
* Possibly incompatible change: All exceptions during the
execution of an Action are now returned by value rather than by
raising an exception, for more consistent behavior.
With this change, user created Actions should now catch and
handle expected exceptions (whereas previously many of these
were silently caught and suppressed by the SCons Action
exection code).
* AddOption and the internal add_local_option which AddOption
calls now recognize a "settable" keyword argument to indicate a
project-added option can also be modified using SetOption.
If you were using ninja and using SetOption() for ninja options
in your SConscripts prior to loading the ninja tool, you will
now see an error. The fix is to move the SetOption() to after
you've loaded the ninja tool.
* Bug fixes and compatible improvements
-------------------------------------------------------------------
Tue Mar 19 07:07:00 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -18,8 +18,9 @@
%define pythons python3
%{?sle15_python_module_pythons}
Name: scons
Version: 4.7.0
Version: 4.8.0
Release: 0
Summary: Replacement for Make
License: MIT
@ -39,7 +40,7 @@ provides itself as well as the features. SCons allows you to use the
full power of Python to control compilation.
%prep
%autosetup -p1 -n SCons-%{version}
%autosetup -p1
sed -i -e '/QT3_LIBPATH = os.path.join.*QT3DIR/s/lib/%{_lib}/' \
SCons/Tool/qt3.py
@ -50,14 +51,11 @@ sed -i -e '/QT3_LIBPATH = os.path.join.*QT3DIR/s/lib/%{_lib}/' \
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
mkdir -p %{buildroot}%{_mandir}/man1
mv -v %{buildroot}%{_prefix}/*.1 %{buildroot}%{_mandir}/man1
%files
%license LICENSE
%{_bindir}/*
%{python_sitelib}/SCons
%{python_sitelib}/SCons-%{version}-py*.egg-info
%{_mandir}/man1/*.1%{?ext_man}
%changelog