blob: 01870011687350899825b54e06da10934b9d4255 [file] [log] [blame]
Andrew Geissler5f350902021-07-23 13:09:54 -04001From baa85a4dab2e8d64eb25d1181b6420db25ce919a Mon Sep 17 00:00:00 2001
2From: Trevor Gamblin <trevor.gamblin@windriver.com>
3Date: Tue, 22 Jun 2021 12:31:46 -0400
Andrew Geissler82c905d2020-04-13 13:39:40 -05004Subject: [PATCH] change shebang to python3
5
Andrew Geissler5f350902021-07-23 13:09:54 -04006Upstream-Status: Inappropriate (OE-specific)
Andrew Geissler82c905d2020-04-13 13:39:40 -05007
Andrew Geissler5f350902021-07-23 13:09:54 -04008Despite no longer supporting python2, some files in the pip source refer
9to "python" instead of "python3", so patch them as needed to ensure that
10they correctly reference the python3 binary.
Andrew Geissler82c905d2020-04-13 13:39:40 -050011
Andrew Geissler5f350902021-07-23 13:09:54 -040012Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Andrew Geissler82c905d2020-04-13 13:39:40 -050013---
Andrew Geissler5f350902021-07-23 13:09:54 -040014 src/pip/_vendor/appdirs.py | 2 +-
15 src/pip/_vendor/chardet/langbulgarianmodel.py | 2 +-
16 src/pip/_vendor/chardet/langgreekmodel.py | 2 +-
17 src/pip/_vendor/chardet/langhebrewmodel.py | 2 +-
18 src/pip/_vendor/chardet/langhungarianmodel.py | 2 +-
19 src/pip/_vendor/chardet/langrussianmodel.py | 2 +-
20 src/pip/_vendor/chardet/langthaimodel.py | 2 +-
21 src/pip/_vendor/chardet/langturkishmodel.py | 2 +-
22 src/pip/_vendor/chardet/metadata/languages.py | 2 +-
23 src/pip/_vendor/requests/certs.py | 2 +-
24 10 files changed, 10 insertions(+), 10 deletions(-)
Andrew Geissler82c905d2020-04-13 13:39:40 -050025
Andrew Geissler82c905d2020-04-13 13:39:40 -050026diff --git a/src/pip/_vendor/appdirs.py b/src/pip/_vendor/appdirs.py
Andrew Geissler5f350902021-07-23 13:09:54 -040027index 33a3b7741..60b9ef5f7 100644
Andrew Geissler82c905d2020-04-13 13:39:40 -050028--- a/src/pip/_vendor/appdirs.py
29+++ b/src/pip/_vendor/appdirs.py
30@@ -1,4 +1,4 @@
31-#!/usr/bin/env python
32+#!/usr/bin/env python3
33 # -*- coding: utf-8 -*-
34 # Copyright (c) 2005-2010 ActiveState Software Inc.
35 # Copyright (c) 2013 Eddy Petrișor
Andrew Geissler5f350902021-07-23 13:09:54 -040036diff --git a/src/pip/_vendor/chardet/langbulgarianmodel.py b/src/pip/_vendor/chardet/langbulgarianmodel.py
37index e963a5097..97ea6cea8 100644
38--- a/src/pip/_vendor/chardet/langbulgarianmodel.py
39+++ b/src/pip/_vendor/chardet/langbulgarianmodel.py
Andrew Geissler82c905d2020-04-13 13:39:40 -050040@@ -1,4 +1,4 @@
41-#!/usr/bin/env python
42+#!/usr/bin/env python3
Andrew Geissler5f350902021-07-23 13:09:54 -040043 # -*- coding: utf-8 -*-
44
45 from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel
46diff --git a/src/pip/_vendor/chardet/langgreekmodel.py b/src/pip/_vendor/chardet/langgreekmodel.py
47index d99528ede..4a127ea83 100644
48--- a/src/pip/_vendor/chardet/langgreekmodel.py
49+++ b/src/pip/_vendor/chardet/langgreekmodel.py
50@@ -1,4 +1,4 @@
51-#!/usr/bin/env python
52+#!/usr/bin/env python3
53 # -*- coding: utf-8 -*-
54
55 from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel
56diff --git a/src/pip/_vendor/chardet/langhebrewmodel.py b/src/pip/_vendor/chardet/langhebrewmodel.py
57index 484c652a4..676c1a711 100644
58--- a/src/pip/_vendor/chardet/langhebrewmodel.py
59+++ b/src/pip/_vendor/chardet/langhebrewmodel.py
60@@ -1,4 +1,4 @@
61-#!/usr/bin/env python
62+#!/usr/bin/env python3
63 # -*- coding: utf-8 -*-
64
65 from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel
66diff --git a/src/pip/_vendor/chardet/langhungarianmodel.py b/src/pip/_vendor/chardet/langhungarianmodel.py
67index bbc5cda64..042eae70a 100644
68--- a/src/pip/_vendor/chardet/langhungarianmodel.py
69+++ b/src/pip/_vendor/chardet/langhungarianmodel.py
70@@ -1,4 +1,4 @@
71-#!/usr/bin/env python
72+#!/usr/bin/env python3
73 # -*- coding: utf-8 -*-
74
75 from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel
76diff --git a/src/pip/_vendor/chardet/langrussianmodel.py b/src/pip/_vendor/chardet/langrussianmodel.py
77index 5594452b5..564b02e58 100644
78--- a/src/pip/_vendor/chardet/langrussianmodel.py
79+++ b/src/pip/_vendor/chardet/langrussianmodel.py
80@@ -1,4 +1,4 @@
81-#!/usr/bin/env python
82+#!/usr/bin/env python3
83 # -*- coding: utf-8 -*-
84
85 from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel
86diff --git a/src/pip/_vendor/chardet/langthaimodel.py b/src/pip/_vendor/chardet/langthaimodel.py
87index 9a37db573..c97487959 100644
88--- a/src/pip/_vendor/chardet/langthaimodel.py
89+++ b/src/pip/_vendor/chardet/langthaimodel.py
90@@ -1,4 +1,4 @@
91-#!/usr/bin/env python
92+#!/usr/bin/env python3
93 # -*- coding: utf-8 -*-
94
95 from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel
96diff --git a/src/pip/_vendor/chardet/langturkishmodel.py b/src/pip/_vendor/chardet/langturkishmodel.py
97index 43f4230ae..7e710c371 100644
98--- a/src/pip/_vendor/chardet/langturkishmodel.py
99+++ b/src/pip/_vendor/chardet/langturkishmodel.py
100@@ -1,4 +1,4 @@
101-#!/usr/bin/env python
102+#!/usr/bin/env python3
103 # -*- coding: utf-8 -*-
104
105 from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel
106diff --git a/src/pip/_vendor/chardet/metadata/languages.py b/src/pip/_vendor/chardet/metadata/languages.py
107index 3237d5abf..aa2ec7c35 100644
108--- a/src/pip/_vendor/chardet/metadata/languages.py
109+++ b/src/pip/_vendor/chardet/metadata/languages.py
110@@ -1,4 +1,4 @@
111-#!/usr/bin/env python
112+#!/usr/bin/env python3
113 # -*- coding: utf-8 -*-
Andrew Geissler82c905d2020-04-13 13:39:40 -0500114 """
Andrew Geissler5f350902021-07-23 13:09:54 -0400115 Metadata about languages used by our model training code for our
Andrew Geissler82c905d2020-04-13 13:39:40 -0500116diff --git a/src/pip/_vendor/requests/certs.py b/src/pip/_vendor/requests/certs.py
Andrew Geissler5f350902021-07-23 13:09:54 -0400117index 06a594e58..bfa7839a4 100644
Andrew Geissler82c905d2020-04-13 13:39:40 -0500118--- a/src/pip/_vendor/requests/certs.py
119+++ b/src/pip/_vendor/requests/certs.py
120@@ -1,4 +1,4 @@
121-#!/usr/bin/env python
122+#!/usr/bin/env python3
123 # -*- coding: utf-8 -*-
124
125 """
126--
Andrew Geissler5f350902021-07-23 13:09:54 -04001272.31.1
Andrew Geissler82c905d2020-04-13 13:39:40 -0500128