commit gyp for openSUSE:Factory
Hello community, here is the log from the commit of package gyp for openSUSE:Factory checked in at 2020-08-31 16:47:58 Comparing /work/SRC/openSUSE:Factory/gyp (Old) and /work/SRC/openSUSE:Factory/.gyp.new.3399 (New) Package is "gyp" Mon Aug 31 16:47:58 2020 rev:13 rq:830707 version:0+git.20200512 Changes: --- /work/SRC/openSUSE:Factory/gyp/gyp.changes 2017-11-09 13:49:59.592171848 +0100 +++ /work/SRC/openSUSE:Factory/.gyp.new.3399/gyp.changes2020-08-31 16:49:12.096323917 +0200 @@ -1,0 +2,45 @@ +Mon Aug 31 08:51:44 UTC 2020 - Martin Pluskal + +- Convert to singlespec +- Update to version 0+git.20200512: + * Add support for CLANG_ENABLE_OBJC_WEAK + * Prevent propogation to configurations of nested 'dependent-settings' directives + * Add .tbd to the .xcodeproj generator’s extension map + * fix encoding issues with inputs for better Python 3 support + * fix make output checks under C locale + * Fix Python 3 incompatibilities + * Add missing b'' qualifier from da63cb0f. + * Misc python3 fixes in xcode_emulation. + * Fix incorrect depfile path relativization + * Add flake8 checks to travis configuration. + * Changes for windows and easy xml to get gyp to run under python 3. + * More miscellaneous fixes for Python3 compatibility. + * src,win: add VS2019 version + * Fixes needed for Python3 on Win32. + * Fix one dangling utf8 decode call needed for python 3. + * Mostly mechanical changes for Python3 support. + * Update simple_copy.py for Python3 types. + * Use ast module instead of compiler module for parsing files. + * Make Visual Studio 2017 Community Edition work w/ GYP. + * Add a copyright header to TestCmd.py. + * Fix issue with missing resources in Xcode ui tests targets. + * Patch GYP so that building with Xcode 10 works. + * infra: remove cq.cfg, which is no longer used. + * Make Travis build only the master branch + * Disable some tests that fail on bots to try to get a green build + * and try clang + * readd osx + * try a wrapper script + * see if ninja is getting pulled + * see if ninja is getting pulled + * try other order for sync: + * try exporting PATH and only build ninja for now + * fiddling with directories + * set +x on buildbot/travis-checkout.sh + * add copyright to .sh + * . + * osx + * . + * Add prototype of Travis config + +--- Old: gyp-0+git.20171012.tar.xz New: gyp-0+git.20200512.tar.xz Other differences: -- ++ gyp.spec ++ --- /var/tmp/diff_new_pack.z5gqUF/_old 2020-08-31 16:49:15.024325336 +0200 +++ /var/tmp/diff_new_pack.z5gqUF/_new 2020-08-31 16:49:15.028325338 +0200 @@ -1,7 +1,7 @@ # # spec file for package gyp # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2015 SUSE LINUX Products GmbH, Nurenberg, Germany. # # All modifications and additions to the file contributed by third parties @@ -13,24 +13,29 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: gyp -Version:0+git.20171012 +Version:0+git.20200512 Release:0 Summary:Generate Your Projects License:BSD-3-Clause Group: Development/Tools/Building -Url:https://gyp.gsrc.io +URL:https://gyp.gsrc.io Source: %{name}-%{version}.tar.xz Patch0: gyp-rpmoptflags.patch +BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: python2-devel -BuildRequires: python2-setuptools -Requires: python2-setuptools +Requires: ninja +Requires: python-setuptools +Requires(post): update-alternatives +Requires(postun): update-alternatives +Provides: gyp = %{version} +Obsoletes: gyp < %{version} BuildArch: noarch +%python_subpackages %description GYP is a tool to generates native Visual Studio, Xcode and SCons and/or make @@ -48,15 +53,23 @@ sed -i '/^#!/d' ./pylib/%{name}/generator/*.py %build -python2 setup.py build +%python_build %install -python2 setup.py install --root %{buildroot} --prefix=%{_prefix} -%fdupes -s %{buildroot}%{python_sitelib} - -%files -%doc AUTHORS LICENSE -%{_bindir}/%{name} +%python_install +%python_clone -a %{buildroot}%{_bindir}/gyp +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%post +%python_install_alternative gyp + +%postun +%python_uninstall_alternative gyp + +%files %{python_files} +%license LICENSE +%doc AUTHORS +%python_alternative %{_bindir}/gyp %{python_sitelib}/*
commit gyp for openSUSE:Factory
Hello community, here is the log from the commit of package gyp for openSUSE:Factory checked in at 2017-11-09 13:49:57 Comparing /work/SRC/openSUSE:Factory/gyp (Old) and /work/SRC/openSUSE:Factory/.gyp.new (New) Package is "gyp" Thu Nov 9 13:49:57 2017 rev:12 rq:538436 version:0+git.20171012 Changes: --- /work/SRC/openSUSE:Factory/gyp/gyp.changes 2017-09-07 22:11:01.113542117 +0200 +++ /work/SRC/openSUSE:Factory/.gyp.new/gyp.changes 2017-11-09 13:49:59.592171848 +0100 @@ -1,0 +2,10 @@ +Thu Nov 2 16:04:35 UTC 2017 - mplus...@suse.com + +- Update to version 0+git.20171012: + * Remove Rietveld CQ config. + * Flip to LUCI for tryjobs. + * Provide backward compatibility for python 2.7.6 on z/OS + * Add LIBS to the link command on z/OS + * Change z/OS platform flavor name based on python 2.7.13 + +--- Old: gyp-0+git.20170904.tar.xz New: gyp-0+git.20171012.tar.xz Other differences: -- ++ gyp.spec ++ --- /var/tmp/diff_new_pack.PQ0IsD/_old 2017-11-09 13:50:00.240148249 +0100 +++ /var/tmp/diff_new_pack.PQ0IsD/_new 2017-11-09 13:50:00.240148249 +0100 @@ -18,7 +18,7 @@ Name: gyp -Version:0+git.20170904 +Version:0+git.20171012 Release:0 Summary:Generate Your Projects License:BSD-3-Clause @@ -27,9 +27,9 @@ Source: %{name}-%{version}.tar.xz Patch0: gyp-rpmoptflags.patch BuildRequires: fdupes -BuildRequires: python-devel -BuildRequires: python-setuptools -Requires: python-setuptools +BuildRequires: python2-devel +BuildRequires: python2-setuptools +Requires: python2-setuptools BuildArch: noarch %description @@ -48,16 +48,15 @@ sed -i '/^#!/d' ./pylib/%{name}/generator/*.py %build -python setup.py build +python2 setup.py build %install -python setup.py install --root %{buildroot} --prefix=%{_prefix} +python2 setup.py install --root %{buildroot} --prefix=%{_prefix} %fdupes -s %{buildroot}%{python_sitelib} %files %doc AUTHORS LICENSE %{_bindir}/%{name} -%{python_sitelib}/%{name} -%{python_sitelib}/%{name}-*-py%{py_ver}.egg-info +%{python_sitelib}/* %changelog ++ _servicedata ++ --- /var/tmp/diff_new_pack.PQ0IsD/_old 2017-11-09 13:50:00.284146647 +0100 +++ /var/tmp/diff_new_pack.PQ0IsD/_new 2017-11-09 13:50:00.284146647 +0100 @@ -1,4 +1,4 @@ https://chromium.googlesource.com/external/gyp - c6f471687407bf28ddfc63f1a8f47aeb7bf54edc \ No newline at end of file + 5e2b3ddde7cda5eb6bc09a5546a76b00e49d888f \ No newline at end of file ++ gyp-0+git.20170904.tar.xz -> gyp-0+git.20171012.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20170904/infra/config/cq.cfg new/gyp-0+git.20171012/infra/config/cq.cfg --- old/gyp-0+git.20170904/infra/config/cq.cfg 2017-09-04 04:28:46.0 +0200 +++ new/gyp-0+git.20171012/infra/config/cq.cfg 2017-10-13 00:23:44.0 +0200 @@ -7,15 +7,8 @@ git_repo_url: "https://chromium.googlesource.com/external/gyp.git"; gerrit {} -rietveld { - url: "https://codereview.chromium.org"; -} verifiers { - reviewer_lgtm { -committer_list: "project-gyp-committers" -dry_run_access_list: "project-gyp-tryjob-access" - } gerrit_cq_ability { committer_list: "project-gyp-committers" dry_run_access_list: "project-gyp-tryjob-access" @@ -23,10 +16,10 @@ try_job { buckets { - name: "master.client.gyp" - builders { name: "linux_try" } - builders { name: "mac_try" } - builders { name: "win_try" } + name: "luci.gyp.try" + builders { name: "linux" } + builders { name: "mac" } + builders { name: "win" } } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20170904/pylib/gyp/common.py new/gyp-0+git.20171012/pylib/gyp/common.py --- old/gyp-0+git.20170904/pylib/gyp/common.py 2017-09-04 04:28:46.0 +0200 +++ new/gyp-0+git.20171012/pylib/gyp/common.py 2017-10-13 00:23:44.0 +0200 @@ -429,8 +429,10 @@ return 'netbsd' if sys.platform.startswith('aix'): return 'aix' + if sys.platform.startswith('zos'): +return 'zos' if sys.platform.startswith('os390'): -return 'os390' +return 'zos' return 'linux' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20170904/pylib/gyp/generator/make.py new/gyp-0+git.20171012/pylib/gyp/generator/make.py --- old/gyp-0+git.20170904/pylib/gyp/generator/make.py 2017-09-04 04:28:46.0 +0200 +++ new/gyp-0+git.20171012/pylib/gyp/generator/make.py
commit gyp for openSUSE:Factory
Hello community, here is the log from the commit of package gyp for openSUSE:Factory checked in at 2017-09-07 22:10:58 Comparing /work/SRC/openSUSE:Factory/gyp (Old) and /work/SRC/openSUSE:Factory/.gyp.new (New) Package is "gyp" Thu Sep 7 22:10:58 2017 rev:11 rq:520702 version:0+git.20170904 Changes: --- /work/SRC/openSUSE:Factory/gyp/gyp.changes 2017-04-29 10:47:21.556484482 +0200 +++ /work/SRC/openSUSE:Factory/.gyp.new/gyp.changes 2017-09-07 22:11:01.113542117 +0200 @@ -1,0 +2,20 @@ +Mon Sep 4 11:57:17 UTC 2017 - mplus...@suse.com + +- Update to version 0+git.20170904: + * [win-test] loosen win-driver-target-type test + * [win] Add support for MS VS2017 (via Registry) + * Update test/no-cpp/gyptest-no-cpp. + * Disable a bunch of tests on Mac. + * Clean up gyptest.py. + * win,ninja: ninja generator better on windows + * Disable flaky test/copies/gyptest-all under msvs. + * Fix MSVC++ 32-on-32 builds after b62d04ff85e6 + * win ninja/make: Always use a native compiler executable with MSVS 2017 + * win: mkdir even when copying directory + * mac_tool.py: Handle non-zero ibtool return code. + * gyp: update xml string encoding conversion + * gyp: show descriptive Windows SDK detection error + * Support z/OS platform + * make,ninja: Add support for an LDFLAGS_host environment variable. + +--- Old: gyp-0+git.20170303.tar.xz New: gyp-0+git.20170904.tar.xz Other differences: -- ++ gyp.spec ++ --- /var/tmp/diff_new_pack.xYWlP7/_old 2017-09-07 22:11:02.177392176 +0200 +++ /var/tmp/diff_new_pack.xYWlP7/_new 2017-09-07 22:11:02.177392176 +0200 @@ -18,7 +18,7 @@ Name: gyp -Version:0+git.20170303 +Version:0+git.20170904 Release:0 Summary:Generate Your Projects License:BSD-3-Clause @@ -55,7 +55,6 @@ %fdupes -s %{buildroot}%{python_sitelib} %files -%defattr(-,root,root,-) %doc AUTHORS LICENSE %{_bindir}/%{name} %{python_sitelib}/%{name} ++ _servicedata ++ --- /var/tmp/diff_new_pack.xYWlP7/_old 2017-09-07 22:11:02.229384848 +0200 +++ /var/tmp/diff_new_pack.xYWlP7/_new 2017-09-07 22:11:02.229384848 +0200 @@ -1,4 +1,4 @@ https://chromium.googlesource.com/external/gyp - aae1e3efb50786df20e9572621fb746865f0df53 \ No newline at end of file + c6f471687407bf28ddfc63f1a8f47aeb7bf54edc \ No newline at end of file ++ gyp-0+git.20170303.tar.xz -> gyp-0+git.20170904.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20170303/AUTHORS new/gyp-0+git.20170904/AUTHORS --- old/gyp-0+git.20170303/AUTHORS 2017-03-03 15:50:27.0 +0100 +++ new/gyp-0+git.20170904/AUTHORS 2017-09-04 04:28:46.0 +0200 @@ -12,3 +12,5 @@ Eric N. Vander Weele Tom Freudenberg Julien Brianceau +Refael Ackermann +Jiajie Hu diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20170303/gyptest.py new/gyp-0+git.20170904/gyptest.py --- old/gyp-0+git.20170303/gyptest.py 2017-03-03 15:50:27.0 +0100 +++ new/gyp-0+git.20170904/gyptest.py 2017-09-04 04:28:46.0 +0200 @@ -1,134 +1,19 @@ #!/usr/bin/env python - # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -__doc__ = """ -gyptest.py -- test runner for GYP tests. -""" +"""gyptest.py -- test runner for GYP tests.""" + +from __future__ import print_function +import argparse +import math import os -import optparse -import shlex +import platform import subprocess import sys - -class CommandRunner(object): - """ - Executor class for commands, including "commands" implemented by - Python functions. - """ - verbose = True - active = True - - def __init__(self, dictionary={}): -self.subst_dictionary(dictionary) - - def subst_dictionary(self, dictionary): -self._subst_dictionary = dictionary - - def subst(self, string, dictionary=None): -""" -Substitutes (via the format operator) the values in the specified -dictionary into the specified command. - -The command can be an (action, string) tuple. In all cases, we -perform substitution on strings and don't worry if something isn't -a string. (It's probably a Python function to be executed.) -""" -if dictionary is None: - dictionary = self._subst_dictionary -if dictionary: - try: -string = string % dictionary - except TypeError: -pass -return string - - def display(self, command, stdout=None, stderr=None): -if not self.verbose
commit gyp for openSUSE:Factory
Hello community, here is the log from the commit of package gyp for openSUSE:Factory checked in at 2017-04-29 10:47:17 Comparing /work/SRC/openSUSE:Factory/gyp (Old) and /work/SRC/openSUSE:Factory/.gyp.new (New) Package is "gyp" Sat Apr 29 10:47:17 2017 rev:10 rq:487543 version:0+git.20170303 Changes: --- /work/SRC/openSUSE:Factory/gyp/gyp.changes 2017-01-25 22:33:17.440239887 +0100 +++ /work/SRC/openSUSE:Factory/.gyp.new/gyp.changes 2017-04-29 10:47:21.556484482 +0200 @@ -1,0 +2,8 @@ +Wed Apr 5 10:25:03 UTC 2017 - mplus...@suse.com + +- Update to version 0+git.20170303: + * Set up a CQ for gyp + * Make Gerrit the default code review system for gyp + * CQ config: add gerrit CQAbility verifier. + +--- Old: gyp-0+git.20161117.tar.xz New: gyp-0+git.20170303.tar.xz Other differences: -- ++ gyp.spec ++ --- /var/tmp/diff_new_pack.KBjq88/_old 2017-04-29 10:47:22.200393514 +0200 +++ /var/tmp/diff_new_pack.KBjq88/_new 2017-04-29 10:47:22.204392949 +0200 @@ -18,7 +18,7 @@ Name: gyp -Version:0+git.20161117 +Version:0+git.20170303 Release:0 Summary:Generate Your Projects License:BSD-3-Clause ++ _servicedata ++ --- /var/tmp/diff_new_pack.KBjq88/_old 2017-04-29 10:47:22.272383344 +0200 +++ /var/tmp/diff_new_pack.KBjq88/_new 2017-04-29 10:47:22.276382779 +0200 @@ -1,4 +1,4 @@ https://chromium.googlesource.com/external/gyp - 940a15ee3f1c89f193cb4c19373b3f6e9ad15b95 \ No newline at end of file + aae1e3efb50786df20e9572621fb746865f0df53 \ No newline at end of file ++ gyp-0+git.20161117.tar.xz -> gyp-0+git.20170303.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20161117/PRESUBMIT.py new/gyp-0+git.20170303/PRESUBMIT.py --- old/gyp-0+git.20161117/PRESUBMIT.py 2016-11-18 00:28:41.0 +0100 +++ new/gyp-0+git.20170303/PRESUBMIT.py 2017-03-03 15:50:27.0 +0100 @@ -124,16 +124,3 @@ finally: sys.path = old_sys_path return report - - -TRYBOTS = [ -'linux_try', -'mac_try', -'win_try', -] - - -def GetPreferredTryMasters(_, change): - return { - 'client.gyp': { t: set(['defaulttests']) for t in TRYBOTS }, - } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20161117/codereview.settings new/gyp-0+git.20170303/codereview.settings --- old/gyp-0+git.20161117/codereview.settings 2016-11-18 00:28:41.0 +0100 +++ new/gyp-0+git.20170303/codereview.settings 2017-03-03 15:50:27.0 +0100 @@ -1,10 +1,6 @@ -# This file is used by gcl to get repository specific information. -CODE_REVIEW_SERVER: codereview.chromium.org +# This file is used by git cl to get repository specific information. CC_LIST: gyp-develo...@googlegroups.com -VIEW_VC: https://chromium.googlesource.com/external/gyp/+/ -TRY_ON_UPLOAD: False -TRYSERVER_PROJECT: gyp -TRYSERVER_PATCHLEVEL: 1 -TRYSERVER_ROOT: gyp -TRYSERVER_SVN_URL: svn://svn.chromium.org/chrome-try/try-nacl +CODE_REVIEW_SERVER: codereview.chromium.org +GERRIT_HOST: True PROJECT: gyp +VIEW_VC: https://chromium.googlesource.com/external/gyp/+/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20161117/infra/config/cq.cfg new/gyp-0+git.20170303/infra/config/cq.cfg --- old/gyp-0+git.20161117/infra/config/cq.cfg 1970-01-01 01:00:00.0 +0100 +++ new/gyp-0+git.20170303/infra/config/cq.cfg 2017-03-03 15:50:27.0 +0100 @@ -0,0 +1,32 @@ +# Commit Queue configuration file. The documentation of the format can be found +# at http://luci-config.appspot.com/schemas/projects/refs:cq.cfg. + +version: 1 +cq_name: "gyp" +cq_status_url: "https://chromium-cq-status.appspot.com"; +git_repo_url: "https://chromium.googlesource.com/external/gyp.git"; + +gerrit {} +rietveld { + url: "https://codereview.chromium.org"; +} + +verifiers { + reviewer_lgtm { +committer_list: "project-gyp-committers" +dry_run_access_list: "project-gyp-tryjob-access" + } + gerrit_cq_ability { +committer_list: "project-gyp-committers" +dry_run_access_list: "project-gyp-tryjob-access" + } + + try_job { +buckets { + name: "master.client.gyp" + builders { name: "linux_try" } + builders { name: "mac_try" } + builders { name: "win_try" } +} + } +}
commit gyp for openSUSE:Factory
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.0 +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 - mplus...@suse.com + +- 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 ++ https://chromium.googlesource.com/external/gyp 940a15ee3f1c89f193cb4c19373b3f6e9ad15b95++ 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.0 +0200 +++ new/gyp-0+git.20161117/AUTHORS 2016-11-18 00:28:41.0 +0100 @@ -1,9 +1,10 @@ # Names should be added to this file like so: # Name or Organization -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 Ryan Norton 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.0 +0200 +++ new/gyp-0+git.20161117/PRESUBMIT.py 2016-11-18 00:28:41.0 +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.0 +0200 +++ new/gyp-0+git.20161117/gyptest.py 2016-11-18 00:28:41.0 +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/m
commit gyp for openSUSE:Factory
Hello community, here is the log from the commit of package gyp for openSUSE:Factory checked in at 2016-08-31 00:01:13 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-07-20 09:16:05.0 +0200 +++ /work/SRC/openSUSE:Factory/.gyp.new/gyp.changes 2016-08-31 00:01:15.0 +0200 @@ -1,0 +2,15 @@ +Sun Aug 28 12:09:58 UTC 2016 - mplus...@suse.com + +- Update to version 0+git.20160810: + * Adds support for a new target spec: 'mac_xcuitest_bundle'. This allows us to create UI testing bundles. + * Enabling /ZW (CompileAsWinRT) option for msvs + * ninja/mac: Add horrible workaround for horrible Xcode 7.3 ld bug. + * [gyp-ninja] Set simulator and device SDKROOT for iOS. + * Ignore more Xcode stderr logging information. + * Only call CopyStringsFile if convert_to_binary is False. + * Fix :rfc1034identifier when the value contains underscore. + * Complete PBXCopyFilesBuildPhase TODO in xcodeproj_file.py. + * Make the ninja backend transitively check for C++ sources to use the C++ compiler for linking + * Add new target type called windows_driver. * Modify GYP to set the PlatformToolset, the DriverType and the TargetVersion * Add msvs_target_version configuration + +--- Old: gyp-0+git.20160620.tar.xz New: gyp-0+git.20160810.tar.xz Other differences: -- ++ gyp.spec ++ --- /var/tmp/diff_new_pack.Bl5nXM/_old 2016-08-31 00:01:16.0 +0200 +++ /var/tmp/diff_new_pack.Bl5nXM/_new 2016-08-31 00:01:16.0 +0200 @@ -18,7 +18,7 @@ Name: gyp -Version:0+git.20160620 +Version:0+git.20160810 Release:0 Summary:Generate Your Projects License:BSD-3-Clause ++ gyp-0+git.20160620.tar.xz -> gyp-0+git.20160810.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20160620/pylib/gyp/MSVSUtil.py new/gyp-0+git.20160810/pylib/gyp/MSVSUtil.py --- old/gyp-0+git.20160620/pylib/gyp/MSVSUtil.py2016-07-06 14:15:59.0 +0200 +++ new/gyp-0+git.20160810/pylib/gyp/MSVSUtil.py2016-08-10 22:13:45.0 +0200 @@ -14,6 +14,7 @@ 'loadable_module': 'dll', 'shared_library': 'dll', 'static_library': 'lib', + 'windows_driver': 'sys', } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20160620/pylib/gyp/generator/msvs.py new/gyp-0+git.20160810/pylib/gyp/generator/msvs.py --- old/gyp-0+git.20160620/pylib/gyp/generator/msvs.py 2016-07-06 14:15:59.0 +0200 +++ new/gyp-0+git.20160810/pylib/gyp/generator/msvs.py 2016-08-10 22:13:45.0 +0200 @@ -46,6 +46,8 @@ generator_default_variables = { +'DRIVER_PREFIX': '', +'DRIVER_SUFFIX': '.sys', 'EXECUTABLE_PREFIX': '', 'EXECUTABLE_SUFFIX': '.exe', 'STATIC_LIB_PREFIX': '', @@ -272,6 +274,10 @@ tool[setting] = value +def _ConfigTargetVersion(config_data): + return config_data.get('msvs_target_version', 'Windows7') + + def _ConfigPlatform(config_data): return config_data.get('msvs_configuration_platform', 'Win32') @@ -919,6 +925,8 @@ toolset = default_config.get('msbuild_toolset') if not toolset and version.DefaultToolset(): toolset = version.DefaultToolset() + if spec['type'] == 'windows_driver': +toolset = 'WindowsKernelModeDriver10.0' return toolset @@ -1102,6 +1110,7 @@ 'shared_library': '2', # .dll 'loadable_module': '2', # .dll 'static_library': '4', # .lib +'windows_driver': '5', # .sys 'none': '10', # Utility type }[spec['type']] except KeyError: @@ -1286,6 +1295,7 @@ 'executable': ('VCLinkerTool', 'Link', '$(OutDir)', '.exe'), 'shared_library': ('VCLinkerTool', 'Link', '$(OutDir)', '.dll'), 'loadable_module': ('VCLinkerTool', 'Link', '$(OutDir)', '.dll'), + 'windows_driver': ('VCLinkerTool', 'Link', '$(OutDir)', '.sys'), 'static_library': ('VCLibrarianTool', 'Lib', '$(OutDir)lib\\', '.lib'), } output_file_props = output_file_map.get(spec['type']) @@ -1348,7 +1358,8 @@ def _GetModuleDefinition(spec): def_file = '' - if spec['type'] in ['shared_library', 'loadable_module', 'executable']: + if spec['type'] in ['shared_library', 'loadable_module', 'executable', + 'windows_driver']: def_files = [s for s in spec.get('sources', []) if s.endswith('.def')] if len(def_files) == 1: def_file = _FixPath(def_files[0]) @@ -2710,14 +2721,20 @@ return properties + def _GetMSBuildC
commit gyp for openSUSE:Factory
Hello community, here is the log from the commit of package gyp for openSUSE:Factory checked in at 2016-07-20 09:16:03 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-06-29 15:03:45.0 +0200 +++ /work/SRC/openSUSE:Factory/.gyp.new/gyp.changes 2016-07-20 09:16:05.0 +0200 @@ -1,0 +2,7 @@ +Wed Jul 06 12:16:00 UTC 2016 - mplus...@suse.com + +- Update to version 0+git.20160620: + * [gyp-ninja] Set simulator and device SDKROOT for iOS. + * Ignore more Xcode stderr logging information. + +--- Old: gyp-0+git.20160513.tar.xz New: gyp-0+git.20160620.tar.xz Other differences: -- ++ gyp.spec ++ --- /var/tmp/diff_new_pack.4U7XY0/_old 2016-07-20 09:16:06.0 +0200 +++ /var/tmp/diff_new_pack.4U7XY0/_new 2016-07-20 09:16:06.0 +0200 @@ -18,7 +18,7 @@ Name: gyp -Version:0+git.20160513 +Version:0+git.20160620 Release:0 Summary:Generate Your Projects License:BSD-3-Clause ++ gyp-0+git.20160513.tar.xz -> gyp-0+git.20160620.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20160513/pylib/gyp/xcode_emulation.py new/gyp-0+git.20160620/pylib/gyp/xcode_emulation.py --- old/gyp-0+git.20160513/pylib/gyp/xcode_emulation.py 2016-06-14 09:51:04.0 +0200 +++ new/gyp-0+git.20160620/pylib/gyp/xcode_emulation.py 2016-07-06 14:15:59.0 +0200 @@ -1712,11 +1712,12 @@ for target_dict in targets.itervalues(): toolset = target_dict['toolset'] configs = target_dict['configurations'] -for config_name, config_dict in dict(configs).iteritems(): - iphoneos_config_dict = copy.deepcopy(config_dict) +for config_name, simulator_config_dict in dict(configs).iteritems(): + iphoneos_config_dict = copy.deepcopy(simulator_config_dict) configs[config_name + '-iphoneos'] = iphoneos_config_dict - configs[config_name + '-iphonesimulator'] = config_dict + configs[config_name + '-iphonesimulator'] = simulator_config_dict if toolset == 'target': +simulator_config_dict['xcode_settings']['SDKROOT'] = 'iphonesimulator' iphoneos_config_dict['xcode_settings']['SDKROOT'] = 'iphoneos' return targets diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20160513/test/ios/app-bundle/test-archs.gyp new/gyp-0+git.20160620/test/ios/app-bundle/test-archs.gyp --- old/gyp-0+git.20160513/test/ios/app-bundle/test-archs.gyp 2016-06-14 09:51:04.0 +0200 +++ new/gyp-0+git.20160620/test/ios/app-bundle/test-archs.gyp 2016-07-06 14:15:59.0 +0200 @@ -21,7 +21,7 @@ '-fobjc-abi-version=2', ], 'CODE_SIGNING_REQUIRED': 'NO', - 'SDKROOT': 'iphonesimulator', # -isysroot + 'SDKROOT': 'iphoneos', # -isysroot 'TARGETED_DEVICE_FAMILY': '1,2', 'INFOPLIST_FILE': 'TestApp/TestApp-Info.plist', 'IPHONEOS_DEPLOYMENT_TARGET': '7.0', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20160513/test/ios/deployment-target/deployment-target.gyp new/gyp-0+git.20160620/test/ios/deployment-target/deployment-target.gyp --- old/gyp-0+git.20160513/test/ios/deployment-target/deployment-target.gyp 2016-06-14 09:51:04.0 +0200 +++ new/gyp-0+git.20160620/test/ios/deployment-target/deployment-target.gyp 2016-07-06 14:15:59.0 +0200 @@ -8,51 +8,27 @@ ], 'targets': [ { - 'target_name': 'iphoneos-version-min-4.3', + 'target_name': 'version-min-4.3', 'type': 'static_library', 'sources': [ 'check-version-min.c', ], 'defines': [ 'GYPTEST_IOS_VERSION_MIN=40300', ], 'xcode_settings': { 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', -'ARCHS': [ 'armv7' ], 'SDKROOT': 'iphoneos', 'IPHONEOS_DEPLOYMENT_TARGET': '4.3', }, }, { - 'target_name': 'iphoneos-version-min-5.0', + 'target_name': 'version-min-5.0', 'type': 'static_library', 'sources': [ 'check-version-min.c', ], 'defines': [ 'GYPTEST_IOS_VERSION_MIN=5', ], 'xcode_settings': { 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', -'ARCHS': [ 'armv7' ], 'SDKROOT': 'iphoneos', 'IPHONEOS_DEPLOYMENT_TARGET': '5.0', }, -}, -{ - 'target_name': 'iphonesimulator-version-min-4.3', - 'type': 'static_library', - 'sources': [ 'check-version-min.c', ], - 'de
commit gyp for openSUSE:Factory
Hello community, here is the log from the commit of package gyp for openSUSE:Factory checked in at 2016-06-29 15:03:43 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-05-19 12:03:29.0 +0200 +++ /work/SRC/openSUSE:Factory/.gyp.new/gyp.changes 2016-06-29 15:03:45.0 +0200 @@ -1,0 +2,15 @@ +Tue Jun 14 07:51:05 UTC 2016 - mplus...@suse.com + +- Update to version 0+git.20160513: + * Fix mac_tool.py copy-bundle-resource errors. + * [iOS/OS X] Copy file instead of hard-linking them. + * gyp-win-tool: Let LinkWrapper only transmogrify / when the host platform is Windows. + * gyp-win-tool: Fix regression from my last change. + * gyp-win-tool: Don't use shell=True on non-Windows hosts. + * Fix header map nextPowerOf2 method. + * [ios-ninja] Support xctests in devices in release. + * Adds support for a new target spec: 'mac_xcuitest_bundle'. This allows us to create UI testing bundles. + * Enabling /ZW (CompileAsWinRT) option for msvs + * ninja/mac: Add horrible workaround for horrible Xcode 7.3 ld bug. + +--- Old: gyp-0+git.20160504.tar.xz New: gyp-0+git.20160513.tar.xz Other differences: -- ++ gyp.spec ++ --- /var/tmp/diff_new_pack.pz0Ds5/_old 2016-06-29 15:03:46.0 +0200 +++ /var/tmp/diff_new_pack.pz0Ds5/_new 2016-06-29 15:03:46.0 +0200 @@ -18,7 +18,7 @@ Name: gyp -Version:0+git.20160504 +Version:0+git.20160513 Release:0 Summary:Generate Your Projects License:BSD-3-Clause ++ _service ++ --- /var/tmp/diff_new_pack.pz0Ds5/_old 2016-06-29 15:03:46.0 +0200 +++ /var/tmp/diff_new_pack.pz0Ds5/_new 2016-06-29 15:03:46.0 +0200 @@ -1,14 +1,14 @@ - + https://chromium.googlesource.com/external/gyp git gyp enable 0+git.%cd - + *.tar xz - + ++ gyp-0+git.20160504.tar.xz -> gyp-0+git.20160513.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20160504/pylib/gyp/xcode_emulation.py new/gyp-0+git.20160513/pylib/gyp/xcode_emulation.py --- old/gyp-0+git.20160504/pylib/gyp/xcode_emulation.py 2016-05-05 16:11:24.0 +0200 +++ new/gyp-0+git.20160513/pylib/gyp/xcode_emulation.py 2016-06-14 09:51:04.0 +0200 @@ -848,7 +848,8 @@ ldflags.append('-arch ' + archs[0]) # Xcode adds the product directory by default. -ldflags.append('-L' + product_dir) +# Rewrite -L. to -L./ to work around http://www.openradar.me/25313838 +ldflags.append('-L' + (product_dir if product_dir != '.' else './')) install_name = self.GetInstallName() if install_name and self.spec['type'] != 'loadable_module':
commit gyp for openSUSE:Factory
Hello community, here is the log from the commit of package gyp for openSUSE:Factory checked in at 2016-05-19 12:03:28 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-04-30 23:28:30.0 +0200 +++ /work/SRC/openSUSE:Factory/.gyp.new/gyp.changes 2016-05-19 12:03:29.0 +0200 @@ -1,0 +2,21 @@ +Thu May 05 14:11:25 UTC 2016 - mplus...@suse.com + +- Update to version 0+git.20160504: + * [GN] Use hard-link if possible when copying to bundle. + +--- +Tue May 03 20:11:28 UTC 2016 - mplus...@suse.com + +- Update to version 0+git.20160426: + * Support DEVELOPER_DIR in gyp-ninja for mac. + * [GN] Use hard-link if possible when copying to bundle. + * Fix mac_tool.py copy-bundle-resource errors. + * [iOS/OS X] Copy file instead of hard-linking them. + * gyp-win-tool: Let LinkWrapper only transmogrify / when the host platform is Windows. + * gyp-win-tool: Fix regression from my last change. + * gyp-win-tool: Don't use shell=True on non-Windows hosts. + * Fix header map nextPowerOf2 method. + * [ios-ninja] Support xctests in devices in release. + * Adds support for a new target spec: 'mac_xcuitest_bundle'. This allows us to create UI testing bundles. + +--- Old: gyp-0+git.20160413.tar.xz New: gyp-0+git.20160504.tar.xz Other differences: -- ++ gyp.spec ++ --- /var/tmp/diff_new_pack.F5pISy/_old 2016-05-19 12:03:30.0 +0200 +++ /var/tmp/diff_new_pack.F5pISy/_new 2016-05-19 12:03:30.0 +0200 @@ -17,10 +17,8 @@ # -%define version_unconverted 0+git.20160413 - Name: gyp -Version:0+git.20160413 +Version:0+git.20160504 Release:0 Summary:Generate Your Projects License:BSD-3-Clause ++ _service ++ --- /var/tmp/diff_new_pack.F5pISy/_old 2016-05-19 12:03:30.0 +0200 +++ /var/tmp/diff_new_pack.F5pISy/_new 2016-05-19 12:03:30.0 +0200 @@ -4,7 +4,7 @@ git gyp enable -0+git.%ad +0+git.%cd *.tar ++ gyp-0+git.20160413.tar.xz -> gyp-0+git.20160504.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20160413/pylib/gyp/MSVSSettings.py new/gyp-0+git.20160504/pylib/gyp/MSVSSettings.py --- old/gyp-0+git.20160413/pylib/gyp/MSVSSettings.py2016-04-15 16:30:32.0 +0200 +++ new/gyp-0+git.20160504/pylib/gyp/MSVSSettings.py2016-05-05 16:11:24.0 +0200 @@ -592,6 +592,7 @@ _Same(_compile, 'UseFullPaths', _boolean) # /FC _Same(_compile, 'WholeProgramOptimization', _boolean) # /GL _Same(_compile, 'XMLDocumentationFileName', _file_name) +_Same(_compile, 'CompileAsWinRT', _boolean) # /ZW _Same(_compile, 'AssemblerOutput', _Enumeration(['NoListing', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20160413/pylib/gyp/generator/msvs.py new/gyp-0+git.20160504/pylib/gyp/generator/msvs.py --- old/gyp-0+git.20160413/pylib/gyp/generator/msvs.py 2016-04-15 16:30:32.0 +0200 +++ new/gyp-0+git.20160504/pylib/gyp/generator/msvs.py 2016-05-05 16:11:24.0 +0200 @@ -257,6 +257,8 @@ if not tools.get(tool_name): tools[tool_name] = dict() tool = tools[tool_name] + if 'CompileAsWinRT' == setting: +return if tool.get(setting): if only_if_unset: return if type(tool[setting]) == list and type(value) == list: @@ -286,6 +288,21 @@ return '%s|%s' % (_ConfigBaseName(config_name, platform_name), platform_name) +def _ConfigWindowsTargetPlatformVersion(config_data): + ver = config_data.get('msvs_windows_sdk_version') + + for key in [r'HKLM\Software\Microsoft\Microsoft SDKs\Windows\%s', + r'HKLM\Software\Wow6432Node\Microsoft\Microsoft SDKs\Windows\%s']: +sdk_dir = MSVSVersion._RegistryGetValue(key % ver, 'InstallationFolder') +if not sdk_dir: + continue +version = MSVSVersion._RegistryGetValue(key % ver, 'ProductVersion') or '' +# Find a matching entry in sdk_dir\include. +names = sorted([x for x in os.listdir(r'%s\include' % sdk_dir) +if x.startswith(version)], reverse=True) +return names[0] + + def _BuildCommandLineForRuleRaw(spec, cmd, cygwin_shell, has_input_path, quote_cmd, do_setup_env): @@ -2676,6 +2693,21 @@ else: properties[0].append(['ApplicationType', 'Windows Store']) + platform_name = None + msvs_windows_sdk_version = None + for configuration in spec['confi
commit gyp for openSUSE:Factory
Hello community, here is the log from the commit of package gyp for openSUSE:Factory checked in at 2016-04-30 23:28:29 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-03-26 15:09:53.0 +0100 +++ /work/SRC/openSUSE:Factory/.gyp.new/gyp.changes 2016-04-30 23:28:30.0 +0200 @@ -1,0 +2,15 @@ +Fri Apr 15 14:30:35 UTC 2016 - mplus...@suse.com + +- Update to version 0+git.20160413: + * ninja: Add target_rpath generator flag + * Add support for iOS Frameworks with header maps. + * Detect and warn on missing vcvarsall.bat + * Support DEVELOPER_DIR in gyp-ninja for mac. + * [GN] Use hard-link if possible when copying to bundle. + * Fix mac_tool.py copy-bundle-resource errors. + * [iOS/OS X] Copy file instead of hard-linking them. + * gyp-win-tool: Let LinkWrapper only transmogrify / when the host platform is Windows. + * gyp-win-tool: Fix regression from my last change. + * gyp-win-tool: Don't use shell=True on non-Windows hosts. + +--- Old: gyp-0~git.20160318.tar.xz New: gyp-0+git.20160413.tar.xz Other differences: -- ++ gyp.spec ++ --- /var/tmp/diff_new_pack.8r9JQ3/_old 2016-04-30 23:28:31.0 +0200 +++ /var/tmp/diff_new_pack.8r9JQ3/_new 2016-04-30 23:28:31.0 +0200 @@ -17,10 +17,10 @@ # -%define version_unconverted 0~git.20160318 +%define version_unconverted 0+git.20160413 Name: gyp -Version:0~git.20160318 +Version:0+git.20160413 Release:0 Summary:Generate Your Projects License:BSD-3-Clause @@ -42,7 +42,7 @@ %prep %setup -q -%patch0 -p1 +%patch0 for i in $(find pylib -name '*.py'); do sed -e '\,#![ \t]*/.*python,{d}' $i > $i.new && touch -r $i $i.new && mv $i.new $i done ++ _service ++ --- /var/tmp/diff_new_pack.8r9JQ3/_old 2016-04-30 23:28:31.0 +0200 +++ /var/tmp/diff_new_pack.8r9JQ3/_new 2016-04-30 23:28:31.0 +0200 @@ -4,7 +4,7 @@ git gyp enable -0~git.%ad +0+git.%ad *.tar ++ gyp-rpmoptflags.patch ++ --- /var/tmp/diff_new_pack.8r9JQ3/_old 2016-04-30 23:28:31.0 +0200 +++ /var/tmp/diff_new_pack.8r9JQ3/_new 2016-04-30 23:28:31.0 +0200 @@ -1,7 +1,7 @@ -Index: gyp-0~git.20160318/pylib/gyp/generator/make.py +Index: pylib/gyp/generator/make.py === gyp-0~git.20160318.orig/pylib/gyp/generator/make.py -+++ gyp-0~git.20160318/pylib/gyp/generator/make.py +--- pylib/gyp/generator/make.py.orig pylib/gyp/generator/make.py @@ -1183,6 +1183,7 @@ $(obj).$(TOOLSET)/$(TARGET)/%%.o: $(obj) # Write configuration-specific variables for CFLAGS, etc. for configname in sorted(configs.keys()):
commit gyp for openSUSE:Factory
Hello community, here is the log from the commit of package gyp for openSUSE:Factory checked in at 2016-03-26 15:09:52 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-03-16 10:43:25.0 +0100 +++ /work/SRC/openSUSE:Factory/.gyp.new/gyp.changes 2016-03-26 15:09:53.0 +0100 @@ -1,0 +2,16 @@ +Sun Mar 20 09:08:17 UTC 2016 - mplus...@suse.com + +- Update to version 0~git.20160318: + + Revert "Update Xcode emulation extra plist items." + + Re-land update Xcode emulation extra plist items for Xcode 7.2 + + Support sdk_version of None. + + Don't recompute environment for mac bundles unnecessarily. + + Make login.keychain and 'Provisioning Profiles' symlinks. + + Fix tests with Xcode 7. + + Xcode-ninja: Add excluded files to the project sources_for_indexing.xcodeproj + + ninja/win: Use qualified paths for precompiled headers. + + Adjust pretty_gyp to align comments with the appropriate braces. + + ninja: Add target_rpath generator flag +- Small spec file cleanup + +--- Old: gyp-0~git.20160304.tar.xz New: gyp-0~git.20160318.tar.xz Other differences: -- ++ gyp.spec ++ --- /var/tmp/diff_new_pack.u7yK4c/_old 2016-03-26 15:09:54.0 +0100 +++ /var/tmp/diff_new_pack.u7yK4c/_new 2016-03-26 15:09:54.0 +0100 @@ -17,8 +17,10 @@ # +%define version_unconverted 0~git.20160318 + Name: gyp -Version:0~git.20160304 +Version:0~git.20160318 Release:0 Summary:Generate Your Projects License:BSD-3-Clause @@ -52,13 +54,13 @@ %install python setup.py install --root %{buildroot} --prefix=%{_prefix} -%fdupes %{buildroot}%{python_sitelib} +%fdupes -s %{buildroot}%{python_sitelib} %files %defattr(-,root,root,-) %doc AUTHORS LICENSE -%dir %{python_sitelib}/%{name} -%{python_sitelib}/* %{_bindir}/%{name} +%{python_sitelib}/%{name} +%{python_sitelib}/%{name}-*-py%{py_ver}.egg-info %changelog ++ gyp-0~git.20160304.tar.xz -> gyp-0~git.20160318.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0~git.20160304/AUTHORS new/gyp-0~git.20160318/AUTHORS --- old/gyp-0~git.20160304/AUTHORS 2016-03-09 17:33:09.0 +0100 +++ new/gyp-0~git.20160318/AUTHORS 2016-03-20 10:08:16.0 +0100 @@ -10,3 +10,4 @@ David J. Sankel Eric N. Vander Weele Tom Freudenberg +Julien Brianceau diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0~git.20160304/pylib/gyp/generator/ninja.py new/gyp-0~git.20160318/pylib/gyp/generator/ninja.py --- old/gyp-0~git.20160304/pylib/gyp/generator/ninja.py 2016-03-09 17:33:09.0 +0100 +++ new/gyp-0~git.20160318/pylib/gyp/generator/ninja.py 2016-03-20 10:08:16.0 +0100 @@ -379,6 +379,8 @@ # should be used for linking. self.uses_cpp = False +self.target_rpath = generator_flags.get('target_rpath', r'\$$ORIGIN/lib/') + self.is_mac_bundle = gyp.xcode_emulation.IsMacBundle(self.flavor, spec) self.xcode_settings = self.msvs_settings = None if self.flavor == 'mac': @@ -1193,7 +1195,9 @@ rpath = 'lib/' if self.toolset != 'target': rpath += self.toolset -ldflags.append(r'-Wl,-rpath=\$$ORIGIN/%s' % rpath) + ldflags.append(r'-Wl,-rpath=\$$ORIGIN/%s' % rpath) +else: + ldflags.append('-Wl,-rpath=%s' % self.target_rpath) ldflags.append('-Wl,-rpath-link=%s' % rpath) self.WriteVariableList(ninja_file, 'ldflags', map(self.ExpandSpecial, ldflags)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0~git.20160304/test/linux/gyptest-target-rpath.py new/gyp-0~git.20160318/test/linux/gyptest-target-rpath.py --- old/gyp-0~git.20160304/test/linux/gyptest-target-rpath.py 1970-01-01 01:00:00.0 +0100 +++ new/gyp-0~git.20160318/test/linux/gyptest-target-rpath.py 2016-03-20 10:08:16.0 +0100 @@ -0,0 +1,43 @@ +#!/usr/bin/env python + +# Copyright (c) 2013 Google Inc. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +""" +Check target_rpath generator flag for ninja. +""" + +import TestGyp + +import re +import subprocess +import sys + +if sys.platform.startswith('linux'): + test = TestGyp.TestGyp(formats=['ninja']) + + CHDIR = 'target-rpath' + test.run_gyp('test.gyp', '-G', 'target_rpath=/usr/lib/gyptest/', chdir=CHDIR) + test.build('test.gyp', test.ALL, chdir=C
commit gyp for openSUSE:Factory
Hello community, here is the log from the commit of package gyp for openSUSE:Factory checked in at 2016-03-16 10:43:23 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 2015-08-12 15:12:18.0 +0200 +++ /work/SRC/openSUSE:Factory/.gyp.new/gyp.changes 2016-03-16 10:43:25.0 +0100 @@ -1,0 +2,19 @@ +Wed Mar 09 16:38:28 UTC 2016 - mplus...@suse.com + +- Update to version 0~git.20160304: + + [Mac/iOS] Add custom fonts, target device and minimum +ployment target to _CopyXIBFile + + Update Xcode emulation extra plist items. + + Revert "Update Xcode emulation extra plist items." + + Re-land update Xcode emulation extra plist items for Xcode 7.2 + + Support sdk_version of None. + + Don't recompute environment for mac bundles unnecessarily. + + Make login.keychain and 'Provisioning Profiles' symlinks. + + Fix tests with Xcode 7. + + Xcode-ninja: Add excluded files to the project +urces_for_indexing.xcodeproj + + ninja/win: Use qualified paths for precompiled headers. +- Add _service +- Cleanup spec file with spec-cleaner + +--- Old: gyp.tar.xz New: _service gyp-0~git.20160304.tar.xz Other differences: -- ++ gyp.spec ++ --- /var/tmp/diff_new_pack.PkqXey/_old 2016-03-16 10:43:26.0 +0100 +++ /var/tmp/diff_new_pack.PkqXey/_new 2016-03-16 10:43:26.0 +0100 @@ -1,6 +1,7 @@ # # spec file for package gyp # +# Copyright (c) 2016 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 @@ -15,21 +16,20 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%define rev_date 20150804 Name: gyp -Summary: Generate Your Projects -Version: 0.git%{rev_date} +Version:0~git.20160304 Release: 0 +Summary:Generate Your Projects License: BSD-3-Clause Group: Development/Tools/Building -Url: http://code.google.com/p/gyp -Source:%{name}.tar.xz -Patch: gyp-rpmoptflags.patch +Url:https://gyp.gsrc.io +Source: %{name}-%{version}.tar.xz +Patch0: gyp-rpmoptflags.patch +BuildRequires: fdupes BuildRequires: python-devel BuildRequires: python-setuptools Requires: python-setuptools -BuildRequires: fdupes BuildArch: noarch %description @@ -39,8 +39,8 @@ flexibility to accommodate irreconcilable differences %prep -%setup -q -n %{name} -%patch -p1 +%setup -q +%patch0 -p1 for i in $(find pylib -name '*.py'); do sed -e '\,#![ \t]*/.*python,{d}' $i > $i.new && touch -r $i $i.new && mv $i.new $i done @@ -52,7 +52,7 @@ %install python setup.py install --root %{buildroot} --prefix=%{_prefix} -%fdupes $RPM_BUILD_ROOT%{python_sitelib} +%fdupes %{buildroot}%{python_sitelib} %files %defattr(-,root,root,-) ++ _service ++ https://chromium.googlesource.com/external/gyp git gyp enable 0~git.%ad *.tar xz