Accepting request 680634 from home:AndreasStieger:branches:devel:tools:building

scons 3.0.4

OBS-URL: https://build.opensuse.org/request/show/680634
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/scons?expand=0&rev=76
This commit is contained in:
Tomáš Chvátal 2019-03-01 19:30:11 +00:00 committed by Git OBS Bridge
parent afa00fa2cf
commit 8159e958e2
7 changed files with 21629 additions and 25 deletions

View File

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

3
3.0.4.tar.gz Normal file
View File

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

21596
scons-user.html Normal file

File diff suppressed because one or more lines are too long

View File

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

View File

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

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Mar 1 19:09:41 UTC 2019 - Andreas Stieger <andreas.stieger@gmx.de>
- scons 3.0.4:
* Add TEMPFILESUFFIX to allow a customizable filename extension
* Update TempFileMunge class to use PRINT_CMD_LINE_FUNC
* Enhance cpp scanner regex logic to detect if/elif expressions
without whitespaces but parenthesis like "#if(defined FOO)" or
"#elif!(BAR)" correctly.
-------------------------------------------------------------------
Tue Jan 15 15:10:42 UTC 2019 - astieger@suse.com

View File

@ -17,10 +17,7 @@
%define modname scons
%global flavor @BUILD_FLAVOR@%{nil}
%bcond_with test
# Tests on non-Intel archs have too many failing tests
# https://pairlist4.pair.net/pipermail/scons-users/2018-October/007311.html
%ifnarch aarch64 armv7l ppc64 ppc64le s390x
@ -28,13 +25,8 @@
%bcond_without test
%endif
%endif
%if %{with test}
Name: %{modname}-%{flavor}
%else
Name: %{modname}
%endif
Version: 3.0.3
%bcond_with test
Version: 3.0.4
Release: 0
Summary: Replacement for Make
License: MIT
@ -53,24 +45,29 @@ BuildRequires: python3-lxml
BuildRequires: python3-setuptools
Requires: python3-base >= 3.5
%if %{with test}
Name: %{modname}-%{flavor}
%else
Name: %{modname}
%endif
%if %{with test}
# texlive texlive-latex3 biber texmaker ghostscript
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
# For tests
BuildRequires: clang
BuildRequires: docbook-xsl-pdf2index
BuildRequires: docbook5-xsl-stylesheets
BuildRequires: gcc-c++
BuildRequires: git
BuildRequires: libtool
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: libxslt-tools
BuildRequires: xmlgraphics-fop
# texlive texlive-latex3 biber texmaker ghostscript
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
BuildRequires: git
BuildRequires: libtool
BuildRequires: pcre-devel
BuildRequires: subversion
BuildRequires: swig
BuildRequires: xmlgraphics-fop
%endif
%description
@ -89,17 +86,18 @@ sed -i -e '/QT_LIBPATH = os.path.join.*QTDIR/s/lib/%{_lib}/' \
sed -i 's|%{_bindir}/env python|%{_bindir}/python3|' src/script/*
cp %{SOURCE2} grep-filter-list.txt
chmod -x src/CHANGES.txt README.rst src/RELEASE.txt
%build
python3 bootstrap.py build/scons
cd build/scons
%py3_build
%{py3_build}
%install
%if !%{with test}
cd build/scons
ls -lh build/lib
%py3_install \
%{py3_install} \
--standard-lib \
--no-install-bat \
--no-version-script \