summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-10-19 17:33:24 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-23 17:42:25 +0100
commita8a97eb845473864ce92799b71022ec24d108787 (patch)
tree3f3fd1ef45e4b00ac17961709cddf6fa9dc2f2c0 /meta
parent1d345f0bc826fb42eb179b939cb8313d3f4afda1 (diff)
downloadpoky-a8a97eb845473864ce92799b71022ec24d108787.tar.gz
python3-pip: update 21.2.4 -> 21.3
Adjust patch as file is removed from source tree. (From OE-Core rev: e6fc7d2825d6c26f5dc65e38f3313cd9b3556238) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/python/python3-pip/0001-change-shebang-to-python3.patch37
-rw-r--r--meta/recipes-devtools/python/python3-pip_21.3.bb (renamed from meta/recipes-devtools/python/python3-pip_21.2.4.bb)2
2 files changed, 13 insertions, 26 deletions
diff --git a/meta/recipes-devtools/python/python3-pip/0001-change-shebang-to-python3.patch b/meta/recipes-devtools/python/python3-pip/0001-change-shebang-to-python3.patch
index 0187001168..d6c27b8461 100644
--- a/meta/recipes-devtools/python/python3-pip/0001-change-shebang-to-python3.patch
+++ b/meta/recipes-devtools/python/python3-pip/0001-change-shebang-to-python3.patch
@@ -1,4 +1,4 @@
1From baa85a4dab2e8d64eb25d1181b6420db25ce919a Mon Sep 17 00:00:00 2001 1From dca973830d4eee3e0f79e61237c44a9dd8201641 Mon Sep 17 00:00:00 2001
2From: Trevor Gamblin <trevor.gamblin@windriver.com> 2From: Trevor Gamblin <trevor.gamblin@windriver.com>
3Date: Tue, 22 Jun 2021 12:31:46 -0400 3Date: Tue, 22 Jun 2021 12:31:46 -0400
4Subject: [PATCH] change shebang to python3 4Subject: [PATCH] change shebang to python3
@@ -10,8 +10,8 @@ to "python" instead of "python3", so patch them as needed to ensure that
10they correctly reference the python3 binary. 10they correctly reference the python3 binary.
11 11
12Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> 12Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
13
13--- 14---
14 src/pip/_vendor/appdirs.py | 2 +-
15 src/pip/_vendor/chardet/langbulgarianmodel.py | 2 +- 15 src/pip/_vendor/chardet/langbulgarianmodel.py | 2 +-
16 src/pip/_vendor/chardet/langgreekmodel.py | 2 +- 16 src/pip/_vendor/chardet/langgreekmodel.py | 2 +-
17 src/pip/_vendor/chardet/langhebrewmodel.py | 2 +- 17 src/pip/_vendor/chardet/langhebrewmodel.py | 2 +-
@@ -21,20 +21,10 @@ Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
21 src/pip/_vendor/chardet/langturkishmodel.py | 2 +- 21 src/pip/_vendor/chardet/langturkishmodel.py | 2 +-
22 src/pip/_vendor/chardet/metadata/languages.py | 2 +- 22 src/pip/_vendor/chardet/metadata/languages.py | 2 +-
23 src/pip/_vendor/requests/certs.py | 2 +- 23 src/pip/_vendor/requests/certs.py | 2 +-
24 10 files changed, 10 insertions(+), 10 deletions(-) 24 9 files changed, 9 insertions(+), 9 deletions(-)
25 25
26diff --git a/src/pip/_vendor/appdirs.py b/src/pip/_vendor/appdirs.py
27index 33a3b7741..60b9ef5f7 100644
28--- 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
36diff --git a/src/pip/_vendor/chardet/langbulgarianmodel.py b/src/pip/_vendor/chardet/langbulgarianmodel.py 26diff --git a/src/pip/_vendor/chardet/langbulgarianmodel.py b/src/pip/_vendor/chardet/langbulgarianmodel.py
37index e963a5097..97ea6cea8 100644 27index e963a50..97ea6ce 100644
38--- a/src/pip/_vendor/chardet/langbulgarianmodel.py 28--- a/src/pip/_vendor/chardet/langbulgarianmodel.py
39+++ b/src/pip/_vendor/chardet/langbulgarianmodel.py 29+++ b/src/pip/_vendor/chardet/langbulgarianmodel.py
40@@ -1,4 +1,4 @@ 30@@ -1,4 +1,4 @@
@@ -44,7 +34,7 @@ index e963a5097..97ea6cea8 100644
44 34
45 from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel 35 from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel
46diff --git a/src/pip/_vendor/chardet/langgreekmodel.py b/src/pip/_vendor/chardet/langgreekmodel.py 36diff --git a/src/pip/_vendor/chardet/langgreekmodel.py b/src/pip/_vendor/chardet/langgreekmodel.py
47index d99528ede..4a127ea83 100644 37index d99528e..4a127ea 100644
48--- a/src/pip/_vendor/chardet/langgreekmodel.py 38--- a/src/pip/_vendor/chardet/langgreekmodel.py
49+++ b/src/pip/_vendor/chardet/langgreekmodel.py 39+++ b/src/pip/_vendor/chardet/langgreekmodel.py
50@@ -1,4 +1,4 @@ 40@@ -1,4 +1,4 @@
@@ -54,7 +44,7 @@ index d99528ede..4a127ea83 100644
54 44
55 from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel 45 from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel
56diff --git a/src/pip/_vendor/chardet/langhebrewmodel.py b/src/pip/_vendor/chardet/langhebrewmodel.py 46diff --git a/src/pip/_vendor/chardet/langhebrewmodel.py b/src/pip/_vendor/chardet/langhebrewmodel.py
57index 484c652a4..676c1a711 100644 47index 484c652..676c1a7 100644
58--- a/src/pip/_vendor/chardet/langhebrewmodel.py 48--- a/src/pip/_vendor/chardet/langhebrewmodel.py
59+++ b/src/pip/_vendor/chardet/langhebrewmodel.py 49+++ b/src/pip/_vendor/chardet/langhebrewmodel.py
60@@ -1,4 +1,4 @@ 50@@ -1,4 +1,4 @@
@@ -64,7 +54,7 @@ index 484c652a4..676c1a711 100644
64 54
65 from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel 55 from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel
66diff --git a/src/pip/_vendor/chardet/langhungarianmodel.py b/src/pip/_vendor/chardet/langhungarianmodel.py 56diff --git a/src/pip/_vendor/chardet/langhungarianmodel.py b/src/pip/_vendor/chardet/langhungarianmodel.py
67index bbc5cda64..042eae70a 100644 57index bbc5cda..042eae7 100644
68--- a/src/pip/_vendor/chardet/langhungarianmodel.py 58--- a/src/pip/_vendor/chardet/langhungarianmodel.py
69+++ b/src/pip/_vendor/chardet/langhungarianmodel.py 59+++ b/src/pip/_vendor/chardet/langhungarianmodel.py
70@@ -1,4 +1,4 @@ 60@@ -1,4 +1,4 @@
@@ -74,7 +64,7 @@ index bbc5cda64..042eae70a 100644
74 64
75 from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel 65 from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel
76diff --git a/src/pip/_vendor/chardet/langrussianmodel.py b/src/pip/_vendor/chardet/langrussianmodel.py 66diff --git a/src/pip/_vendor/chardet/langrussianmodel.py b/src/pip/_vendor/chardet/langrussianmodel.py
77index 5594452b5..564b02e58 100644 67index 5594452..564b02e 100644
78--- a/src/pip/_vendor/chardet/langrussianmodel.py 68--- a/src/pip/_vendor/chardet/langrussianmodel.py
79+++ b/src/pip/_vendor/chardet/langrussianmodel.py 69+++ b/src/pip/_vendor/chardet/langrussianmodel.py
80@@ -1,4 +1,4 @@ 70@@ -1,4 +1,4 @@
@@ -84,7 +74,7 @@ index 5594452b5..564b02e58 100644
84 74
85 from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel 75 from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel
86diff --git a/src/pip/_vendor/chardet/langthaimodel.py b/src/pip/_vendor/chardet/langthaimodel.py 76diff --git a/src/pip/_vendor/chardet/langthaimodel.py b/src/pip/_vendor/chardet/langthaimodel.py
87index 9a37db573..c97487959 100644 77index 9a37db5..c974879 100644
88--- a/src/pip/_vendor/chardet/langthaimodel.py 78--- a/src/pip/_vendor/chardet/langthaimodel.py
89+++ b/src/pip/_vendor/chardet/langthaimodel.py 79+++ b/src/pip/_vendor/chardet/langthaimodel.py
90@@ -1,4 +1,4 @@ 80@@ -1,4 +1,4 @@
@@ -94,7 +84,7 @@ index 9a37db573..c97487959 100644
94 84
95 from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel 85 from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel
96diff --git a/src/pip/_vendor/chardet/langturkishmodel.py b/src/pip/_vendor/chardet/langturkishmodel.py 86diff --git a/src/pip/_vendor/chardet/langturkishmodel.py b/src/pip/_vendor/chardet/langturkishmodel.py
97index 43f4230ae..7e710c371 100644 87index 43f4230..7e710c3 100644
98--- a/src/pip/_vendor/chardet/langturkishmodel.py 88--- a/src/pip/_vendor/chardet/langturkishmodel.py
99+++ b/src/pip/_vendor/chardet/langturkishmodel.py 89+++ b/src/pip/_vendor/chardet/langturkishmodel.py
100@@ -1,4 +1,4 @@ 90@@ -1,4 +1,4 @@
@@ -104,7 +94,7 @@ index 43f4230ae..7e710c371 100644
104 94
105 from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel 95 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 96diff --git a/src/pip/_vendor/chardet/metadata/languages.py b/src/pip/_vendor/chardet/metadata/languages.py
107index 3237d5abf..aa2ec7c35 100644 97index 3237d5a..aa2ec7c 100644
108--- a/src/pip/_vendor/chardet/metadata/languages.py 98--- a/src/pip/_vendor/chardet/metadata/languages.py
109+++ b/src/pip/_vendor/chardet/metadata/languages.py 99+++ b/src/pip/_vendor/chardet/metadata/languages.py
110@@ -1,4 +1,4 @@ 100@@ -1,4 +1,4 @@
@@ -114,7 +104,7 @@ index 3237d5abf..aa2ec7c35 100644
114 """ 104 """
115 Metadata about languages used by our model training code for our 105 Metadata about languages used by our model training code for our
116diff --git a/src/pip/_vendor/requests/certs.py b/src/pip/_vendor/requests/certs.py 106diff --git a/src/pip/_vendor/requests/certs.py b/src/pip/_vendor/requests/certs.py
117index 06a594e58..bfa7839a4 100644 107index 06a594e..bfa7839 100644
118--- a/src/pip/_vendor/requests/certs.py 108--- a/src/pip/_vendor/requests/certs.py
119+++ b/src/pip/_vendor/requests/certs.py 109+++ b/src/pip/_vendor/requests/certs.py
120@@ -1,4 +1,4 @@ 110@@ -1,4 +1,4 @@
@@ -123,6 +113,3 @@ index 06a594e58..bfa7839a4 100644
123 # -*- coding: utf-8 -*- 113 # -*- coding: utf-8 -*-
124 114
125 """ 115 """
126--
1272.31.1
128
diff --git a/meta/recipes-devtools/python/python3-pip_21.2.4.bb b/meta/recipes-devtools/python/python3-pip_21.3.bb
index 1f0f707f4b..924a564f62 100644
--- a/meta/recipes-devtools/python/python3-pip_21.2.4.bb
+++ b/meta/recipes-devtools/python/python3-pip_21.3.bb
@@ -10,7 +10,7 @@ inherit pypi distutils3
10 10
11SRC_URI += "file://0001-change-shebang-to-python3.patch" 11SRC_URI += "file://0001-change-shebang-to-python3.patch"
12 12
13SRC_URI[sha256sum] = "0eb8a1516c3d138ae8689c0c1a60fde7143310832f9dc77e11d8a4bc62de193b" 13SRC_URI[sha256sum] = "741a61baab1dbce2d8ca415effa48a2b6a964564f81a9f4f1fce4c433346c034"
14 14
15do_install:append() { 15do_install:append() {
16 # Install as pip3 and leave pip2 as default 16 # Install as pip3 and leave pip2 as default