Hello community,

here is the log from the commit of package gyp for openSUSE:Factory checked in 
at 2017-01-25 22:33:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gyp (Old)
 and      /work/SRC/openSUSE:Factory/.gyp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gyp"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gyp/gyp.changes  2016-08-31 00:01:15.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.gyp.new/gyp.changes     2017-01-25 
22:33:17.440239887 +0100
@@ -1,0 +2,9 @@
+Fri Jan 13 16:11:11 UTC 2017 - [email protected]
+
+- Update to version 0+git.20161117:
+  * fix common "NameError"s
+  * Hash intermediate file name to avoid ENAMETOOLONG
+  * msvs: Allow target platform version without WinRT
+  * Update shared library extension on AIX to .a.
+
+-------------------------------------------------------------------

Old:
----
  gyp-0+git.20160810.tar.xz

New:
----
  _servicedata
  gyp-0+git.20161117.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gyp.spec ++++++
--- /var/tmp/diff_new_pack.gJOnpe/_old  2017-01-25 22:33:18.052147301 +0100
+++ /var/tmp/diff_new_pack.gJOnpe/_new  2017-01-25 22:33:18.060146090 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gyp
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2015 SUSE LINUX Products GmbH, Nurenberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,7 +18,7 @@
 
 
 Name:           gyp
-Version:        0+git.20160810
+Version:        0+git.20161117
 Release:        0
 Summary:        Generate Your Projects
 License:        BSD-3-Clause

++++++ _servicedata ++++++
<servicedata>
<service name="tar_scm">
                <param 
name="url">https://chromium.googlesource.com/external/gyp</param>
              <param 
name="changesrevision">940a15ee3f1c89f193cb4c19373b3f6e9ad15b95</param></service></servicedata>++++++
 gyp-0+git.20160810.tar.xz -> gyp-0+git.20161117.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gyp-0+git.20160810/AUTHORS 
new/gyp-0+git.20161117/AUTHORS
--- old/gyp-0+git.20160810/AUTHORS      2016-08-10 22:13:45.000000000 +0200
+++ new/gyp-0+git.20161117/AUTHORS      2016-11-18 00:28:41.000000000 +0100
@@ -1,9 +1,10 @@
 # Names should be added to this file like so:
 # Name or Organization <email address>
 
-Google Inc.
-Bloomberg Finance L.P.
-Yandex LLC
+Google Inc. <*@google.com>
+Bloomberg Finance L.P. <*@bloomberg.net>
+IBM Inc. <*@*.ibm.com>
+Yandex LLC <*@yandex-team.ru>
 
 Steven Knight <[email protected]>
 Ryan Norton <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gyp-0+git.20160810/PRESUBMIT.py 
new/gyp-0+git.20161117/PRESUBMIT.py
--- old/gyp-0+git.20160810/PRESUBMIT.py 2016-08-10 22:13:45.000000000 +0200
+++ new/gyp-0+git.20161117/PRESUBMIT.py 2016-11-18 00:28:41.000000000 +0100
@@ -73,23 +73,15 @@
 ]
 
 
-def CheckChangeOnUpload(input_api, output_api):
-  report = []
-  report.extend(input_api.canned_checks.PanProjectChecks(
-      input_api, output_api))
-  return report
-
-
-def CheckChangeOnCommit(input_api, output_api):
-  report = []
-
+def _LicenseHeader(input_api):
   # Accept any year number from 2009 to the current year.
   current_year = int(input_api.time.strftime('%Y'))
   allowed_years = (str(s) for s in reversed(xrange(2009, current_year + 1)))
+
   years_re = '(' + '|'.join(allowed_years) + ')'
 
   # The (c) is deprecated, but tolerate it until it's removed from all files.
-  license = (
+  return (
       r'.*? Copyright (\(c\) )?%(year)s Google Inc\. All rights reserved\.\n'
       r'.*? Use of this source code is governed by a BSD-style license that '
         r'can be\n'
@@ -98,8 +90,18 @@
       'year': years_re,
   }
 
+def CheckChangeOnUpload(input_api, output_api):
+  report = []
+  report.extend(input_api.canned_checks.PanProjectChecks(
+      input_api, output_api, license_header=_LicenseHeader(input_api)))
+  return report
+
+
+def CheckChangeOnCommit(input_api, output_api):
+  report = []
+
   report.extend(input_api.canned_checks.PanProjectChecks(
-      input_api, output_api, license_header=license))
+      input_api, output_api, license_header=_LicenseHeader(input_api)))
   report.extend(input_api.canned_checks.CheckTreeIsOpen(
       input_api, output_api,
       'http://gyp-status.appspot.com/status',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gyp-0+git.20160810/gyptest.py 
new/gyp-0+git.20161117/gyptest.py
--- old/gyp-0+git.20160810/gyptest.py   2016-08-10 22:13:45.000000000 +0200
+++ new/gyp-0+git.20161117/gyptest.py   2016-11-18 00:28:41.000000000 +0100
@@ -10,6 +10,7 @@
 
 import os
 import optparse
+import shlex
 import subprocess
 import sys
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gyp-0+git.20160810/pylib/gyp/generator/make.py 
new/gyp-0+git.20161117/pylib/gyp/generator/make.py
--- old/gyp-0+git.20160810/pylib/gyp/generator/make.py  2016-08-10 
22:13:45.000000000 +0200
+++ new/gyp-0+git.20161117/pylib/gyp/generator/make.py  2016-11-18 
00:28:41.000000000 +0100
@@ -31,6 +31,8 @@
 from gyp.common import GetEnvironFallback
 from gyp.common import GypError
 
+import hashlib
+
 generator_default_variables = {
   'EXECUTABLE_PREFIX': '',
   'EXECUTABLE_SUFFIX': '',
@@ -90,7 +92,10 @@
     if flavor == 'android':
       operating_system = 'linux'  # Keep this legacy behavior for now.
     default_variables.setdefault('OS', operating_system)
-    default_variables.setdefault('SHARED_LIB_SUFFIX', '.so')
+    if flavor == 'aix':
+      default_variables.setdefault('SHARED_LIB_SUFFIX', '.a')
+    else:
+      default_variables.setdefault('SHARED_LIB_SUFFIX', '.so')
     default_variables.setdefault('SHARED_LIB_DIR','$(builddir)/lib.$(TOOLSET)')
     default_variables.setdefault('LIB_DIR', '$(obj).$(TOOLSET)')
 
@@ -1347,7 +1352,10 @@
       if target[:3] == 'lib':
         target = target[3:]
       target_prefix = 'lib'
-      target_ext = '.so'
+      if self.flavor == 'aix':
+        target_ext = '.a'
+      else:
+        target_ext = '.so'
     elif self.type == 'none':
       target = '%s.stamp' % target
     elif self.type != 'executable':
@@ -1743,7 +1751,10 @@
       #   actual command.
       # - The intermediate recipe will 'touch' the intermediate file.
       # - The multi-output rule will have an do-nothing recipe.
-      intermediate = "%s.intermediate" % (command if command else self.target)
+
+      # Hash the target name to avoid generating overlong filenames.
+      cmddigest = hashlib.sha1(command if command else self.target).hexdigest()
+      intermediate = "%s.intermediate" % (cmddigest)
       self.WriteLn('%s: %s' % (' '.join(outputs), intermediate))
       self.WriteLn('\t%s' % '@:');
       self.WriteLn('%s: %s' % ('.INTERMEDIATE', intermediate))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gyp-0+git.20160810/pylib/gyp/generator/msvs.py 
new/gyp-0+git.20161117/pylib/gyp/generator/msvs.py
--- old/gyp-0+git.20160810/pylib/gyp/generator/msvs.py  2016-08-10 
22:13:45.000000000 +0200
+++ new/gyp-0+git.20161117/pylib/gyp/generator/msvs.py  2016-11-18 
00:28:41.000000000 +0100
@@ -2679,6 +2679,18 @@
      os.environ.get('PROCESSOR_ARCHITEW6432') == 'AMD64':
     properties[0].append(['PreferredToolArchitecture', 'x64'])
 
+  if spec.get('msvs_target_platform_version'):
+    target_platform_version = spec.get('msvs_target_platform_version')
+    properties[0].append(['WindowsTargetPlatformVersion',
+                          target_platform_version])
+    if spec.get('msvs_target_platform_minversion'):
+      target_platform_minversion = spec.get('msvs_target_platform_minversion')
+      properties[0].append(['WindowsTargetPlatformMinVersion',
+                            target_platform_minversion])
+    else:
+      properties[0].append(['WindowsTargetPlatformMinVersion',
+                            target_platform_version])
+
   if spec.get('msvs_enable_winrt'):
     properties[0].append(['DefaultLanguage', 'en-US'])
     properties[0].append(['AppContainerApplication', 'true'])
@@ -2687,18 +2699,6 @@
       properties[0].append(['ApplicationTypeRevision', app_type_revision])
     else:
       properties[0].append(['ApplicationTypeRevision', '8.1'])
-
-    if spec.get('msvs_target_platform_version'):
-      target_platform_version = spec.get('msvs_target_platform_version')
-      properties[0].append(['WindowsTargetPlatformVersion',
-                            target_platform_version])
-      if spec.get('msvs_target_platform_minversion'):
-        target_platform_minversion = 
spec.get('msvs_target_platform_minversion')
-        properties[0].append(['WindowsTargetPlatformMinVersion',
-                              target_platform_minversion])
-      else:
-        properties[0].append(['WindowsTargetPlatformMinVersion',
-                              target_platform_version])
     if spec.get('msvs_enable_winphone'):
       properties[0].append(['ApplicationType', 'Windows Phone'])
     else:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gyp-0+git.20160810/pylib/gyp/mac_tool.py 
new/gyp-0+git.20161117/pylib/gyp/mac_tool.py
--- old/gyp-0+git.20160810/pylib/gyp/mac_tool.py        2016-08-10 
22:13:45.000000000 +0200
+++ new/gyp-0+git.20161117/pylib/gyp/mac_tool.py        2016-11-18 
00:28:41.000000000 +0100
@@ -147,7 +147,7 @@
     fp = open(file_name, 'rb')
     try:
       header = fp.read(3)
-    except e:
+    except:
       fp.close()
       return None
     fp.close()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gyp-0+git.20160810/test/lib/TestGyp.py 
new/gyp-0+git.20161117/test/lib/TestGyp.py
--- old/gyp-0+git.20160810/test/lib/TestGyp.py  2016-08-10 22:13:45.000000000 
+0200
+++ new/gyp-0+git.20161117/test/lib/TestGyp.py  2016-11-18 00:28:41.000000000 
+0100
@@ -6,6 +6,7 @@
 TestGyp.py:  a testing framework for GYP integration tests.
 """
 
+import errno
 import collections
 from contextlib import contextmanager
 import itertools


Reply via email to