From f54df5c88745232e9ab32a5b237d7d036794bbea Mon Sep 17 00:00:00 2001 From: DeeDeeG Date: Wed, 17 Feb 2021 21:59:22 -0500 Subject: [PATCH] gyp: update shebang lines from python to python3 This is mostly to make Fedora's .rpm builder happy. But it won't hurt now that Python 2 is unsupported in gyp-next. --- gyp_main.py | 2 +- pylib/gyp/MSVSSettings_test.py | 2 +- pylib/gyp/__init__.py | 2 +- pylib/gyp/common_test.py | 2 +- pylib/gyp/easy_xml_test.py | 2 +- pylib/gyp/flock_tool.py | 2 +- pylib/gyp/generator/msvs_test.py | 2 +- pylib/gyp/generator/ninja_test.py | 2 +- pylib/gyp/generator/xcode_test.py | 2 +- pylib/gyp/input_test.py | 2 +- pylib/gyp/mac_tool.py | 2 +- pylib/gyp/win_tool.py | 2 +- setup.py | 2 +- test_gyp.py | 2 +- tools/graphviz.py | 2 +- tools/pretty_gyp.py | 2 +- tools/pretty_sln.py | 2 +- tools/pretty_vcproj.py | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/gyp_main.py b/gyp_main.py index f1559089..f23dcdf8 100755 --- a/gyp_main.py +++ b/gyp_main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (c) 2009 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be diff --git a/pylib/gyp/MSVSSettings_test.py b/pylib/gyp/MSVSSettings_test.py index 7665c68e..6ca09687 100755 --- a/pylib/gyp/MSVSSettings_test.py +++ b/pylib/gyp/MSVSSettings_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be diff --git a/pylib/gyp/__init__.py b/pylib/gyp/__init__.py index 52549fff..6790ef96 100755 --- a/pylib/gyp/__init__.py +++ b/pylib/gyp/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be diff --git a/pylib/gyp/common_test.py b/pylib/gyp/common_test.py index 0310fb26..05344085 100755 --- a/pylib/gyp/common_test.py +++ b/pylib/gyp/common_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be diff --git a/pylib/gyp/easy_xml_test.py b/pylib/gyp/easy_xml_test.py index c21e0542..342f693a 100755 --- a/pylib/gyp/easy_xml_test.py +++ b/pylib/gyp/easy_xml_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (c) 2011 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be diff --git a/pylib/gyp/flock_tool.py b/pylib/gyp/flock_tool.py index c649a89e..1cb98152 100755 --- a/pylib/gyp/flock_tool.py +++ b/pylib/gyp/flock_tool.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (c) 2011 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. diff --git a/pylib/gyp/generator/msvs_test.py b/pylib/gyp/generator/msvs_test.py index 69a5c7ec..e80b57f0 100755 --- a/pylib/gyp/generator/msvs_test.py +++ b/pylib/gyp/generator/msvs_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # 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. diff --git a/pylib/gyp/generator/ninja_test.py b/pylib/gyp/generator/ninja_test.py index abadcd98..7d180685 100644 --- a/pylib/gyp/generator/ninja_test.py +++ b/pylib/gyp/generator/ninja_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be diff --git a/pylib/gyp/generator/xcode_test.py b/pylib/gyp/generator/xcode_test.py index 51fbca6a..49772d1f 100644 --- a/pylib/gyp/generator/xcode_test.py +++ b/pylib/gyp/generator/xcode_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (c) 2013 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be diff --git a/pylib/gyp/input_test.py b/pylib/gyp/input_test.py index 6672ddc0..a18f72e9 100755 --- a/pylib/gyp/input_test.py +++ b/pylib/gyp/input_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright 2013 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be diff --git a/pylib/gyp/mac_tool.py b/pylib/gyp/mac_tool.py index 1cd8e379..59647c9a 100755 --- a/pylib/gyp/mac_tool.py +++ b/pylib/gyp/mac_tool.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # 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. diff --git a/pylib/gyp/win_tool.py b/pylib/gyp/win_tool.py index 7e859467..4dbcda50 100755 --- a/pylib/gyp/win_tool.py +++ b/pylib/gyp/win_tool.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be diff --git a/setup.py b/setup.py index 4ff447fc..31f01171 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (c) 2009 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be diff --git a/test_gyp.py b/test_gyp.py index 8ee2e48c..757d2fc0 100755 --- a/test_gyp.py +++ b/test_gyp.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # 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. diff --git a/tools/graphviz.py b/tools/graphviz.py index 9005d2c5..f19426b6 100755 --- a/tools/graphviz.py +++ b/tools/graphviz.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (c) 2011 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be diff --git a/tools/pretty_gyp.py b/tools/pretty_gyp.py index c8c7578f..4ffa4445 100755 --- a/tools/pretty_gyp.py +++ b/tools/pretty_gyp.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be diff --git a/tools/pretty_sln.py b/tools/pretty_sln.py index 87c03b88..6ca0cd12 100755 --- a/tools/pretty_sln.py +++ b/tools/pretty_sln.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be diff --git a/tools/pretty_vcproj.py b/tools/pretty_vcproj.py index 23ef7c97..00d32deb 100755 --- a/tools/pretty_vcproj.py +++ b/tools/pretty_vcproj.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be