pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/43418: [devel/scons] Update to 1.3.0



>Number:         43418
>Category:       pkg
>Synopsis:       [devel/scons] Update to 1.3.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 05 14:55:00 +0000 2010
>Originator:     Wen Heping
>Release:        NetBSD-5.0.2
>Organization:
Private
>Environment:
NetBSD nb502.wenjing.com 5.0.2 NetBSD 5.0.2 (GENERIC) #0: Sat Feb  6 17:53:27 
UTC 2010  
builds%b7.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-2-RELEASE/i386/201002061851Z-obj/home/builds/ab/netbsd-5-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC
 i386

>Description:
RELEASE 1.3.0 - Tue, 23 Mar 2010 21:44:19 -0400

  From Steven Knight:

    - Update man page and documentation.

  From William Deegan (plus minor patch from Gary Oberbrunner):

    - Support Visual Studio 8.0 Express

RELEASE 1.2.0.d20100306 - Sat, 06 Mar 2010 16:18:33 -0800

  From Luca Falavigna:

    - Fix typos in the man page.

  From Gottfried Ganssauge:

    - Support execution when SCons is installed via easy_install.

  From Steven Knight:

    - Make the messages for Configure checks of compilers consistent.

    - Issue an error message if a BUILDERS entry is not a Builder
      object or a callable wrapper.

  From Rob Managan:

    - Update tex builder to handle the case where a \input{foo}
      command tries to work with a directory named foo instead of the
      file foo.tex. The builder now ignores a directory and continues
      searching to find the correct file. Thanks to Lennart Sauerbeck
      for the test case and initial patch

      Also allow the \include of files in subdirectories when variantDir
      is used with duplicate=0. Previously latex would crash since
      the directory in which the .aux file is written was not created.
      Thanks to Stefan Hepp for finding this and part of the solution.

  From James Teh:
    - Patches to fix some issues using MS SDK V7.0

  From William Deegan:
    - Lots of testing and minor patches to handle mixed MS VC and SDK
      installations, as well as having only the SDK installed.
RELEASE 1.2.0.d20100117 - Sun, 17 Jan 2010 14:26:59 -0800

  From Jim Randall:
    - Fixed temp filename race condition on Windows with long cmd lines.

  From David Cournapeau:
    - Fixed tryRun when sconf directory is in a variant dir.
    - Do not add -fPIC for ifort tool on non-posix platforms (darwin and
      windows).
    - Fix bug 2294 (spurious CheckCC failures).
    - Fix scons bootstrap process on windows 64 (wrong wininst name)

  From William Deegan:
    - Final merge from vs_revamp branch to main

    - Added definition and usage of HOST_OS, HOST_ARCH, TARGET_OS,
      TARGET_ARCH, currently only defined/used by Visual Studio
      Compilers. This will be rolled out to other platforms/tools
      in the future.

    - Add check for python >= 3.0.0 and exit gracefully.
      For 1.3 python >= 1.5.2 and < 3.0.0 are supported

    - Fix bug 1944 - Handle non-existent .i file in swig emitter, previously
      it would crash with an IOError exception. Now it will try to make an
      educated guess on the module name based on the filename.

  From Lukas Erlinghagen:

    - Have AddOption() remove variables from the list of
      seen-but-unknown variables (which are reported later).

    - An option name and aliases can now be specified as a tuple.

  From Hartmut Goebel:

    - Textfile builder.

  From Jared Grubb:

    - use "is/is not" in comparisons with None instead of "==" or "!=".

  From Jim Hunziker:

    - Avoid adding -gphobos to a command line multiple times
      when initializing use of the DMD compiler.

  From Jason Kenney:

    - Sugguested HOST/TARGET OS/ARCH separation.

  From Steven Knight:

    - Fix the -n option when used with VariantDir(duplicate=1)
      and the variant directory doesn't already exist.

    - Fix scanning of Unicode files for both UTF-16 endian flavors.

    - Fix a TypeError on #include of file names with Unicode characters.

    - Fix an exception if a null command-line argument is passed in.

    - Evaluate Requires() prerequisites before a Node's direct children
      (sources and dependencies).

  From Greg Noel:

    - Remove redundant __metaclass__ initializations in Environment.py.

    - Correct the documentation of text returned by sconf.Result().

    - Document that filenames with '.' as the first character are
      ignored by Glob() by default (matching UNIX glob semantics).

    - Fix SWIG testing infrastructure to work on Mac OS X.

    - Restructure a test that occasionally hung so that the test would
      detect when it was stuck and fail instead.

    - Substfile builder.

  From Gary Oberbrunner:

    - When reporting a target that SCons doesn't know how to make,
      specify whether it's a File, Dir, etc.

  From Ben Webb:

    - Fix use of $SWIGOUTDIR when generating Python wrappers.

    - Add $SWIGDIRECTORSUFFIX and $SWIGVERSION construction variables.

  From Rob Managan:

    - Add -recorder flag to Latex commands and updated internals to
      use the output to find files TeX creates. This allows the MiKTeX
      installations to find the created files

    - Notify user of Latex errors that would get buried in the
      Latex output

    - Remove LATEXSUFFIXES from environments that don't initialize Tex.

    - Add support for the glosaaries package for glossaries and acronyms

    - Fix problem that pdftex, latex, and pdflatex tools by themselves did
      not create the actions for bibtex, makeindex,... by creating them
      and other environment settings in one routine called by all four
      tex tools.

    - Fix problem with filenames of sideeffects when the user changes
      the name of the output file from the latex default

    - Add scanning of files included in Latex by means of \lstinputlisting{}
      Patch from Stefan Hepp.

    - Change command line for epstopdf to use --outfile= instead of -o
      since this works on all platforms.
      Patch from Stefan Hepp.

    - Change scanner to properly search for included file from the
      directory of the main file instead of the file it is included from.
      Also update the emitter to add the .aux file associated with
      \include{filename} commands. This makes sure the required directories
      if any are created for variantdir cases.
      Half of the patch from Stefan Hepp.

RELEASE 1.2.0.d20090223 - Mon, 23 Feb 2009 08:41:06 -0800

  From Stanislav Baranov:

    - Make suffix-matching for scanners case-insensitive on Windows.

  From David Cournapeau:

    - Change the way SCons finds versions of Visual C/C++ and Visual
      Studio to find and use the Microsoft v*vars.bat files.

  From Robert P. J. Day:

    - User's Guide updates.

  From Dan Eaton:

    - Fix generation of Visual Studio 8 project files on x64 platforms.

  From Allan Erskine:

    - Set IncludeSearchPath and PreprocessorDefinitions in generated
      Visual Studio 8 project files, to help IntelliSense work.

  From Mateusz Gruca:

    - Fix deletion of broken symlinks by the --clean option.

  From Steven Knight:

    - Fix the error message when use of a non-existent drive on Windows
      is detected.

    - Add sources for files whose targets don't exist in $CHANGED_SOURCES.

    - Detect implicit dependencies on commands even when the command is
      quoted.

    - Fix interaction of $CHANGED_SOURCES with the --config=force option.

    - Fix finding #include files when the string contains escaped
      backslashes like "C:\\some\\include.h".

    - Pass $CCFLAGS to Visual C/C++ precompiled header compilation.

    - Remove unnecessary nested $( $) around $_LIBDIRFLAGS on link lines
      for the Microsoft linker, the OS/2 ilink linker and the Phar Lap
      linkloc linker.

    - Spell the Windows environment variables consistently "SystemDrive"
      and "SystemRoot" instead of "SYSTEMDRIVE" and "SYSTEMROOT".



RELEASE 1.2.0.d20090113 - Tue, 13 Jan 2009 02:50:30 -0800

  From Stanislav Baranov, Ted Johnson and Steven Knight:

    - Add support for batch compilation of Visual Studio C/C++ source
      files, controlled by a new $MSVC_BATCH construction variable.

  From Steven Knight:

    - 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.

  From Arve Knudsen:

    - Make linker tools differentiate properly between SharedLibrary
      and LoadableModule.

    - Document TestCommon.shobj_prefix variable.

    - Support $SWIGOUTDIR values with spaces.

  From Rob Managan:

    - 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).

  From Gary Oberbrunner:

    - 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.

  From Zia Sobhani:

    - Fix typos in the User's Guide.

  From Greg Spencer:

    - Support implicit dependency scanning of files encoded in utf-8
      and utf-16.

  From Roberto de Vecchi:

    - 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.

  From Ben Webb:

    - Handle quoted module names in SWIG source files.

    - Emit *_wrap.h when SWIG generates header file for directors

  From Matthew Wesley:

    - Copy file attributes so we identify, and can link a shared library
      from, shared object files in a Repository.



RELEASE 1.2.0 - Sat, 20 Dec 2008 22:47:29 -0800

  From Steven Knight:

    - Don't fail if can't import a _subprocess module on Windows.

    - Add warnings for use of the deprecated Options object.



RELEASE 1.1.0.d20081207 - Sun, 07 Dec 2008 19:17:23 -0800

  From Benoit Belley:

    - Improve the robustness of GetBuildFailures() by refactoring
      SCons exception handling (especially BuildError exceptions).

    - Have the --taskmastertrace= option print information about
      individual Task methods, not just the Taskmaster control flow.

    - Eliminate some spurious dependency cycles by being more aggressive
      about pruning pending children from the Taskmaster walk.

    - Suppress mistaken reports of a dependency cycle when a child
      left on the pending list is a single Node in EXECUTED state.

  From David Cournapeau:

    - Fix $FORTRANMODDIRPREFIX for the ifort (Intel Fortran) tool.

  From Brad Fitzpatrick:

    - Don't pre-generate an exception message (which will likely be
      ignored anyway) when an EntryProxy re-raises an AttributeError.

  From Jared Grubb:

    - Clean up coding style and white space in Node/FS.py.

    - Fix a typo in the documentation for $_CPPDEFFLAGS.

    - Issue 2401: Fix usage of comparisons with None.

  From Ludwig Hähne:

    - Handle Java inner classes declared within a method.

  From Steven Knight:

    - 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: ...).

    - Fix use of Glob() when a repository or source directory contains
      an in-memory Node without a corresponding on-disk file or directory.

    - Add a warning about future reservation of $CHANGED_SOURCES,
      $CHANGED_TARGETS, $UNCHANGED_SOURCES and $UNCHANGED_TARGETS.

    - Enable by default the existing warnings about setting the resource
      $SOURCE, $SOURCES, $TARGET and $TARGETS variable.

  From Rob Managan:

    - 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.

    - Handle requiring searched-for TeX input graphics files to have
      extensions (to avoid trying to build a .eps from itself, e.g.).

  From Greg Noel:

    - Make the Action() function handle positional parameters consistently.

    - Clarify use of Configure.CheckType().

    - Make the File.{Dir,Entry,File}() methods create their entries
      relative to the calling File's directory, not the SConscript
      directory.

    - Use the Python os.devnull variable to discard error output when
      looking for the $CC or $CXX version.

    - Mention LoadableModule() in the SharedLibrary() documentation.

  From Gary Oberbrunner:

    - Update the User's Guide to clarify use of the site_scons/
      directory and the site_init.py module.

    - Make env.AppendUnique() and env.PrependUnique remove duplicates
      within a passed-in list being added, too.

  From Randall Spangler:

    - Fix Glob() so an on-disk file or directory beginning with '#'
      doesn't throw an exception.





>How-To-Repeat:

>Fix:
diff -urN scons/Makefile scons.new/Makefile
--- scons/Makefile      2010-02-11 03:17:36.000000000 +0800
+++ scons.new/Makefile  2010-06-06 06:22:33.000000000 +0800
@@ -6,7 +6,6 @@

 .include "../../devel/scons/Makefile.common"

-SCONS_VERSION=         1.1.0
-PKGREVISION=           3
+SCONS_VERSION=         1.3.0

 .include "../../mk/bsd.pkg.mk"
diff -urN scons/PLIST scons.new/PLIST
--- scons/PLIST 2009-06-15 01:49:13.000000000 +0800
+++ scons.new/PLIST     2010-06-06 06:35:29.000000000 +0800
@@ -173,6 +173,27 @@
 lib/${PKGNAME}/SCons/Tool/JavaCommon.py
 lib/${PKGNAME}/SCons/Tool/JavaCommon.pyc
 lib/${PKGNAME}/SCons/Tool/JavaCommon.pyo
+lib/${PKGNAME}/SCons/Tool/MSCommon/__init__.py
+lib/${PKGNAME}/SCons/Tool/MSCommon/__init__.pyc
+lib/${PKGNAME}/SCons/Tool/MSCommon/__init__.pyo
+lib/${PKGNAME}/SCons/Tool/MSCommon/arch.py
+lib/${PKGNAME}/SCons/Tool/MSCommon/arch.pyc
+lib/${PKGNAME}/SCons/Tool/MSCommon/arch.pyo
+lib/${PKGNAME}/SCons/Tool/MSCommon/common.py
+lib/${PKGNAME}/SCons/Tool/MSCommon/common.pyc
+lib/${PKGNAME}/SCons/Tool/MSCommon/common.pyo
+lib/${PKGNAME}/SCons/Tool/MSCommon/netframework.py
+lib/${PKGNAME}/SCons/Tool/MSCommon/netframework.pyc
+lib/${PKGNAME}/SCons/Tool/MSCommon/netframework.pyo
+lib/${PKGNAME}/SCons/Tool/MSCommon/sdk.py
+lib/${PKGNAME}/SCons/Tool/MSCommon/sdk.pyc
+lib/${PKGNAME}/SCons/Tool/MSCommon/sdk.pyo
+lib/${PKGNAME}/SCons/Tool/MSCommon/vc.py
+lib/${PKGNAME}/SCons/Tool/MSCommon/vc.pyc
+lib/${PKGNAME}/SCons/Tool/MSCommon/vc.pyo
+lib/${PKGNAME}/SCons/Tool/MSCommon/vs.py
+lib/${PKGNAME}/SCons/Tool/MSCommon/vs.pyc
+lib/${PKGNAME}/SCons/Tool/MSCommon/vs.pyo
 lib/${PKGNAME}/SCons/Tool/Perforce.py
 lib/${PKGNAME}/SCons/Tool/Perforce.pyc
 lib/${PKGNAME}/SCons/Tool/Perforce.pyo
@@ -308,6 +329,9 @@
 lib/${PKGNAME}/SCons/Tool/intelc.py
 lib/${PKGNAME}/SCons/Tool/intelc.pyc
 lib/${PKGNAME}/SCons/Tool/intelc.pyo
+lib/${PKGNAME}/SCons/Tool/ipkg.py
+lib/${PKGNAME}/SCons/Tool/ipkg.pyc
+lib/${PKGNAME}/SCons/Tool/ipkg.pyo
 lib/${PKGNAME}/SCons/Tool/jar.py
 lib/${PKGNAME}/SCons/Tool/jar.pyc
 lib/${PKGNAME}/SCons/Tool/jar.pyo
@@ -347,6 +371,9 @@
 lib/${PKGNAME}/SCons/Tool/mslink.py
 lib/${PKGNAME}/SCons/Tool/mslink.pyc
 lib/${PKGNAME}/SCons/Tool/mslink.pyo
+lib/${PKGNAME}/SCons/Tool/mssdk.py
+lib/${PKGNAME}/SCons/Tool/mssdk.pyc
+lib/${PKGNAME}/SCons/Tool/mssdk.pyo
 lib/${PKGNAME}/SCons/Tool/msvc.py
 lib/${PKGNAME}/SCons/Tool/msvc.pyc
 lib/${PKGNAME}/SCons/Tool/msvc.pyo
@@ -452,6 +479,9 @@
 lib/${PKGNAME}/SCons/Tool/tar.py
 lib/${PKGNAME}/SCons/Tool/tar.pyc
 lib/${PKGNAME}/SCons/Tool/tar.pyo
+lib/${PKGNAME}/SCons/Tool/textfile.py
+lib/${PKGNAME}/SCons/Tool/textfile.pyc
+lib/${PKGNAME}/SCons/Tool/textfile.pyo
 lib/${PKGNAME}/SCons/Tool/tex.py
 lib/${PKGNAME}/SCons/Tool/tex.pyc
 lib/${PKGNAME}/SCons/Tool/tex.pyo
diff -urN scons/distinfo scons.new/distinfo
--- scons/distinfo      2008-11-15 09:16:49.000000000 +0800
+++ scons.new/distinfo  2010-06-06 06:48:05.000000000 +0800
@@ -1,6 +1,6 @@
 $NetBSD: distinfo,v 1.5 2008/11/15 01:16:49 bjs Exp $

-SHA1 (scons-1.1.0.tar.gz) = bb34a048e907f9a0c20f84ecc21a6ea0479fab99
-RMD160 (scons-1.1.0.tar.gz) = c89fbe94484695b79256b89b76b9ba3030f029c9
-Size (scons-1.1.0.tar.gz) = 558557 bytes
-SHA1 (patch-aa) = b22ac407f953d72cc964c355efafd24fea764a2a
+SHA1 (scons-1.3.0.tar.gz) = 7694fa60d2a2598c92ef141d04760db29a2a3094
+RMD160 (scons-1.3.0.tar.gz) = ebcfd666098d1229ad987264d0e4109d183b37bd
+Size (scons-1.3.0.tar.gz) = 598416 bytes
+SHA1 (patch-aa) = 87da1fe330d6254e6900ed8742d7c4afec02e3db
diff -urN scons/patches/patch-aa scons.new/patches/patch-aa
--- scons/patches/patch-aa      2008-11-15 09:16:49.000000000 +0800
+++ scons.new/patches/patch-aa  2010-06-06 06:46:27.000000000 +0800
@@ -1,12 +1,12 @@
-$NetBSD: patch-aa,v 1.1 2008/11/15 01:16:49 bjs Exp $
+$NetBSD$

---- setup.py.orig      2008-11-04 11:12:26.000000000 -0500
+--- setup.py.orig      2010-03-24 02:14:32.000000000 +0000
 +++ setup.py
 @@ -29,7 +29,7 @@ import stat
  import string
  import sys

--Version = "1.1.0"
+-Version = "1.3.0"
 +Version = os.getenv("PKGVERSION_NOREV")

  man_pages = [



Home | Main Index | Thread Index | Old Index