OBS User unknown 2009-01-22 12:17:23 +00:00 committed by Git OBS Bridge
parent 8b856a11f0
commit 8eb4a62b39
6 changed files with 307 additions and 16 deletions

View File

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

View File

@ -1,6 +1,6 @@
--- setup.py
+++ setup.py
@@ -336,7 +336,7 @@
@@ -353,7 +353,7 @@
if is_win32:
dir = 'Doc'
else:
@ -9,9 +9,9 @@
self.data_files = [(dir, man_pages)]
man_dir = os.path.join(self.install_dir, dir)
msg = "Installed SCons man pages into %s" % man_dir
@@ -384,7 +384,7 @@
"SCons.Sig",
"SCons.Tool"],
@@ -405,7 +405,7 @@
"SCons.Variables",
],
'package_dir' : {'' : 'engine'},
- 'data_files' : [('man/man1', man_pages)],
+ 'data_files' : [('share/man/man1', man_pages)],

View File

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

View File

@ -1,3 +1,154 @@
-------------------------------------------------------------------
Mon Jan 19 15:23:52 CET 2009 - prusnak@suse.cz
- updated to 1.2.0.d20090113
- Add support for batch compilation of Visual Studio C/C++ source
files, controlled by a new $MSVC_BATCH construction variable.
- Print the message, "scons: Build interrupted." on error output,
not standard output.
- Add a --warn=future-deprecated option for advance warnings about
deprecated features that still have warnings hidden by default.
- Fix use of $SOURCE and $SOURCES attributes when there are no
sources specified in the Builder call.
- Add support for new $CHANGED_SOURCES, $CHANGED_TARGETS,
$UNCHANGED_SOURCES and $UNCHANGED_TARGETS variables.
- Add general support for batch builds through new batch_key= and
targets= keywords to Action object creation.
- Make linker tools differentiate properly between SharedLibrary
and LoadableModule.
- Document TestCommon.shobj_prefix variable.
- Support $SWIGOUTDIR values with spaces.
- Don't automatically try to build .pdf graphics files for
.eps files in \includegraphics{} calls in TeX/LaTeX files
when building with the PDF builder (and thus using pdflatex).
- Allow AppendENVPath() and PrependENVPath() to interpret '#'
for paths relative to the top-level SConstruct directory.
- Use the Borland ilink -e option to specify the output file name.
- Document that the msvc Tool module uses $PCH, $PCHSTOP and $PDB.
- Allow WINDOWS_INSERT_DEF=0 to disable --output-def when linking
under MinGW.
- Fix typos in the User's Guide.
- Support implicit dependency scanning of files encoded in utf-8
and utf-16.
- Remove $CCFLAGS from the the default definitions of $CXXFLAGS for
Visual C/C++ and MIPSpro C++ on SGI so, they match other tools
and avoid flag duplication on C++ command lines.
- Handle quoted module names in SWIG source files.
- Copy file attributes so we identify, and can link a shared library
from, shared object files in a Repository.
- updated to 1.2.0
- Don't fail if can't import a _subprocess module on Windows.
- Add warnings for use of the deprecated Options object.
-------------------------------------------------------------------
Wed Dec 3 14:43:41 CET 2008 - prusnak@suse.cz
- updated to 1.1.0.d20081125
- Improve the robustness of GetBuildFailures() by refactoring
SCons exception handling (especially BuildError exceptions).
- Fix $FORTRANMODDIRPREFIX for the ifort (Intel Fortran) tool.
- Don't pre-generate an exception message (which will likely be
ignored anyway) when an EntryProxy re-raises an AttributeError.
- Handle Java inner classes declared within a method.
- Fix label placement by the "scons-time.py func" subcommand
when a profile value was close to (or equal to) 0.0.
- Fix env.Append() and env.Prepend()'s ability to add a string to
list-like variables like $CCFLAGS under Python 2.6.
- Other Python2.6 portability: don't use "as" (a Python 2.6 keyword).
Don't use the deprecated Exception.message attribute.
- Support using the -f option to search for a different top-level
file name when walking up with the -D, -U or -u options.
- Fix use of VariantDir when the -n option is used and doesn't,
therefore, actually create the variant directory.
- Fix a stack trace from the --debug=includes option when passed a
static or shared library as an argument.
- Speed up the internal find_file() function (used for searching
CPPPATH, LIBPATH, etc.).
- Add support for using the Python "in" keyword on construction
environments (for example, if "CPPPATH" in env: ...).
- Scan for TeX files in the paths specified in the $TEXINPUTS
construction variable and the $TEXINPUTS environment variable.
- Configure the PDF() and PostScript() Builders as single_source so
they know each source file generates a separate target file.
- Add $EPSTOPDF, $EPSTOPDFFLAGS and $EPSTOPDFCOM
- Add .tex as a valid extension for the PDF() builder.
- Add regular expressions to find \input, \include and
\includegraphics.
- Support generating a .pdf file from a .eps source.
- Recursive scan included input TeX files.
- Make the Action() function handle positional parameters consistently.
- Fix Glob() so an on-disk file or directory beginning with '#'
doesn't throw an exception.
- updated to 1.1.0
- Use the specified environment when checking for the GCC compiler
version.
- Fix Glob() polluting LIBPATH by returning copy of list
- Add CheckCC, CheckCXX, CheckSHCC and CheckSHCXX tests to
configuration contexts.
- Have the --profile= argument use the much faster cProfile module
(if it's available in the running Python version).
- Reorder MSVC compilation arguments so the /Fo is first.
- Add scanning Windows resource (.rc) files for implicit dependencies.
- When scanning for a #include file, don't use a directory that
has the same name as the file.
- Suppress error output when checking for the GCC compiler version.
- Fix VariantDir duplication of #included files in subdirectories.
- Reduce memory usage when a directory is used as a dependency of
another Node (such as an Alias) by returning a concatenation
of the children's signatures + names, not the children's contents,
as the directory contents.
- Raise AttributeError, not KeyError, when a Builder can't be found.
- Invalidate cached Node information (such as the contenst returned
by the get_contents() method) when calling actions with Execute().
- Avoid object reference cycles from frame objects.
- Reduce memory usage from Null Executor objects.
- Compute MD5 checksums of large files without reading the entire
file contents into memory. Add a new --md5-chunksize option to
control the size of each chunk read into memory.
- Fix the ability of the add_src_builder() method to add a new
source builder to any other builder.
- Avoid an infinite loop on non-Windows systems trying to find the
SCons library directory if the Python library directory does not
begin with the string "python".
- Search for the SCons library directory in "scons-local" (with
no version number) after "scons-local-{VERSION}".
- Fix the user's ability to interrupt the TeX build chain.
- Fix the TeX builder's allowing the user to specify the target name,
instead of always using its default output name based on the source.
- Iterate building TeX output files until all warning are gone
and the auxiliary files stop changing, or until we reach the
(configurable) maximum number of retries.
- Add TeX scanner support for: glossaries, nomenclatures, lists of
figures, lists of tables, hyperref and beamer.
- Use the $BIBINPUTS, $BSTINPUTS, $TEXINPUTS and $TEXPICTS construction
variables as search paths for the relevant types of input file.
- Fix building TeX with VariantDir(duplicate=0) in effect.
- Fix the LaTeX scanner to search for graphics on the TEXINPUTS path.
- Have the PDFLaTeX scanner search for .gif files as well.
- Fix typos and format bugs in the man page.
- Add a first draft of a wrapper module for Python's subprocess
module.
- Refactor use of the SCons.compat module so other modules don't
have to import it individually.
- Add .sx as a suffix for assembly language files that use the
C preprocessor.
- Make Glob() sort the returned list of Files or Nodes
to prevent spurious rebuilds.
- Add a delete_existing keyword argument to the AppendENVPath()
and PrependENVPath() Environment methods.
- Add ability to use "$SOURCE" when specifying a target to a builder
- Add a test case to verify that SConsignFile() files can be
created in previously non-existent subdirectories.
- Make the subdirectory in which the SConsignFile() file will
live, if the subdirectory doesn't already exist.
- Add a test to verify duplication of files in VariantDir subdirectories.
-------------------------------------------------------------------
Mon Sep 8 12:04:36 CEST 2008 - prusnak@suse.cz

View File

@ -1,7 +1,7 @@
#
# spec file for package scons (Version 1.0.1)
# spec file for package scons (Version 1.2.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -20,9 +20,10 @@
Name: scons
Summary: Replacement for Make
Version: 1.0.1
Version: 1.2.0
Release: 1
Source0: %{name}-%{version}.tar.bz2
%define fullversion %{version}.d20090113
Source0: %{name}-%{fullversion}.tar.bz2
Source1: scons-user.html
Patch0: %{name}-%{version}-fix-install.patch
Patch1: %{name}-%{version}-noenv.patch
@ -54,14 +55,14 @@ Authors:
Christoph Wiedemann
%prep
%setup -q
%setup -q -n %{name}-%{fullversion}
%patch0
%patch1
# fix libdir for qt
patch -p0 <<EOF
--- engine/SCons/Tool/qt.py
+++ engine/SCons/Tool/qt.py
@@ -252,1 +252,1 @@
@@ -247,1 +247,1 @@
- QT_LIBPATH = os.path.join('\$QTDIR', 'lib'),
+ QT_LIBPATH = os.path.join('\$QTDIR', '%_lib'),
EOF
@ -75,9 +76,9 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --install-lib=%{py_sitedir} --record-rpm=INSTALLED_FILES
# fix duplicates in bindir
ln -sf scons $RPM_BUILD_ROOT%{_bindir}/scons-%{version}
ln -sf scons-time $RPM_BUILD_ROOT%{_bindir}/scons-time-%{version}
ln -sf sconsign $RPM_BUILD_ROOT%{_bindir}/sconsign-%{version}
ln -sf scons $RPM_BUILD_ROOT%{_bindir}/scons-%{fullversion}
ln -sf scons-time $RPM_BUILD_ROOT%{_bindir}/scons-time-%{fullversion}
ln -sf sconsign $RPM_BUILD_ROOT%{_bindir}/sconsign-%{fullversion}
# fix manpages
for prg in scons scons-time sconsign; do
sed -i "s@%{_mandir}/man1/$prg.1@%{_mandir}/man1/$prg.1.gz@" INSTALLED_FILES
@ -91,6 +92,145 @@ rm -rf $RPM_BUILD_ROOT
%doc CHANGES.txt LICENSE.txt README.txt RELEASE.txt scons-user.html
%changelog
* Mon Jan 19 2009 prusnak@suse.cz
- updated to 1.2.0.d20090113
- Add support for batch compilation of Visual Studio C/C++ source
files, controlled by a new $MSVC_BATCH construction variable.
- Print the message, "scons: Build interrupted." on error output,
not standard output.
- Add a --warn=future-deprecated option for advance warnings about
deprecated features that still have warnings hidden by default.
- Fix use of $SOURCE and $SOURCES attributes when there are no
sources specified in the Builder call.
- Add support for new $CHANGED_SOURCES, $CHANGED_TARGETS,
$UNCHANGED_SOURCES and $UNCHANGED_TARGETS variables.
- Add general support for batch builds through new batch_key= and
targets= keywords to Action object creation.
- Make linker tools differentiate properly between SharedLibrary
and LoadableModule.
- Document TestCommon.shobj_prefix variable.
- Support $SWIGOUTDIR values with spaces.
- Don't automatically try to build .pdf graphics files for
.eps files in \includegraphics{} calls in TeX/LaTeX files
when building with the PDF builder (and thus using pdflatex).
- Allow AppendENVPath() and PrependENVPath() to interpret '#'
for paths relative to the top-level SConstruct directory.
- Use the Borland ilink -e option to specify the output file name.
- Document that the msvc Tool module uses $PCH, $PCHSTOP and $PDB.
- Allow WINDOWS_INSERT_DEF=0 to disable --output-def when linking
under MinGW.
- Fix typos in the User's Guide.
- Support implicit dependency scanning of files encoded in utf-8
and utf-16.
- Remove $CCFLAGS from the the default definitions of $CXXFLAGS for
Visual C/C++ and MIPSpro C++ on SGI so, they match other tools
and avoid flag duplication on C++ command lines.
- Handle quoted module names in SWIG source files.
- Copy file attributes so we identify, and can link a shared library
from, shared object files in a Repository.
- updated to 1.2.0
- Don't fail if can't import a _subprocess module on Windows.
- Add warnings for use of the deprecated Options object.
* Wed Dec 03 2008 prusnak@suse.cz
- updated to 1.1.0.d20081125
- Improve the robustness of GetBuildFailures() by refactoring
SCons exception handling (especially BuildError exceptions).
- Fix $FORTRANMODDIRPREFIX for the ifort (Intel Fortran) tool.
- Don't pre-generate an exception message (which will likely be
ignored anyway) when an EntryProxy re-raises an AttributeError.
- Handle Java inner classes declared within a method.
- Fix label placement by the "scons-time.py func" subcommand
when a profile value was close to (or equal to) 0.0.
- Fix env.Append() and env.Prepend()'s ability to add a string to
list-like variables like $CCFLAGS under Python 2.6.
- Other Python2.6 portability: don't use "as" (a Python 2.6 keyword).
Don't use the deprecated Exception.message attribute.
- Support using the -f option to search for a different top-level
file name when walking up with the -D, -U or -u options.
- Fix use of VariantDir when the -n option is used and doesn't,
therefore, actually create the variant directory.
- Fix a stack trace from the --debug=includes option when passed a
static or shared library as an argument.
- Speed up the internal find_file() function (used for searching
CPPPATH, LIBPATH, etc.).
- Add support for using the Python "in" keyword on construction
environments (for example, if "CPPPATH" in env: ...).
- Scan for TeX files in the paths specified in the $TEXINPUTS
construction variable and the $TEXINPUTS environment variable.
- Configure the PDF() and PostScript() Builders as single_source so
they know each source file generates a separate target file.
- Add $EPSTOPDF, $EPSTOPDFFLAGS and $EPSTOPDFCOM
- Add .tex as a valid extension for the PDF() builder.
- Add regular expressions to find \input, \include and
\includegraphics.
- Support generating a .pdf file from a .eps source.
- Recursive scan included input TeX files.
- Make the Action() function handle positional parameters consistently.
- Fix Glob() so an on-disk file or directory beginning with '#'
doesn't throw an exception.
- updated to 1.1.0
- Use the specified environment when checking for the GCC compiler
version.
- Fix Glob() polluting LIBPATH by returning copy of list
- Add CheckCC, CheckCXX, CheckSHCC and CheckSHCXX tests to
configuration contexts.
- Have the --profile= argument use the much faster cProfile module
(if it's available in the running Python version).
- Reorder MSVC compilation arguments so the /Fo is first.
- Add scanning Windows resource (.rc) files for implicit dependencies.
- When scanning for a #include file, don't use a directory that
has the same name as the file.
- Suppress error output when checking for the GCC compiler version.
- Fix VariantDir duplication of #included files in subdirectories.
- Reduce memory usage when a directory is used as a dependency of
another Node (such as an Alias) by returning a concatenation
of the children's signatures + names, not the children's contents,
as the directory contents.
- Raise AttributeError, not KeyError, when a Builder can't be found.
- Invalidate cached Node information (such as the contenst returned
by the get_contents() method) when calling actions with Execute().
- Avoid object reference cycles from frame objects.
- Reduce memory usage from Null Executor objects.
- Compute MD5 checksums of large files without reading the entire
file contents into memory. Add a new --md5-chunksize option to
control the size of each chunk read into memory.
- Fix the ability of the add_src_builder() method to add a new
source builder to any other builder.
- Avoid an infinite loop on non-Windows systems trying to find the
SCons library directory if the Python library directory does not
begin with the string "python".
- Search for the SCons library directory in "scons-local" (with
no version number) after "scons-local-{VERSION}".
- Fix the user's ability to interrupt the TeX build chain.
- Fix the TeX builder's allowing the user to specify the target name,
instead of always using its default output name based on the source.
- Iterate building TeX output files until all warning are gone
and the auxiliary files stop changing, or until we reach the
(configurable) maximum number of retries.
- Add TeX scanner support for: glossaries, nomenclatures, lists of
figures, lists of tables, hyperref and beamer.
- Use the $BIBINPUTS, $BSTINPUTS, $TEXINPUTS and $TEXPICTS construction
variables as search paths for the relevant types of input file.
- Fix building TeX with VariantDir(duplicate=0) in effect.
- Fix the LaTeX scanner to search for graphics on the TEXINPUTS path.
- Have the PDFLaTeX scanner search for .gif files as well.
- Fix typos and format bugs in the man page.
- Add a first draft of a wrapper module for Python's subprocess
module.
- Refactor use of the SCons.compat module so other modules don't
have to import it individually.
- Add .sx as a suffix for assembly language files that use the
C preprocessor.
- Make Glob() sort the returned list of Files or Nodes
to prevent spurious rebuilds.
- Add a delete_existing keyword argument to the AppendENVPath()
and PrependENVPath() Environment methods.
- Add ability to use "$SOURCE" when specifying a target to a builder
- Add a test case to verify that SConsignFile() files can be
created in previously non-existent subdirectories.
- Make the subdirectory in which the SConsignFile() file will
live, if the subdirectory doesn't already exist.
- Add a test to verify duplication of files in VariantDir subdirectories.
* Mon Sep 08 2008 prusnak@suse.cz
- updated to 1.0.1
* Add a FindFile() section to the User's Guide.