From 0651c2e514c9dec92b2880b68b7662a446829b5d Mon Sep 17 00:00:00 2001
From: Upgrade Helper <auh@yoctoproject.org>
Date: Tue, 1 Nov 2022 10:43:34 +0000
Subject: [PATCH] python3-pip: upgrade 22.2.2 -> 22.3

---
 ...hon3-pip_22.2.2.bb => python3-pip_22.3.bb} | 121 ++++++++++++++----
 1 file changed, 93 insertions(+), 28 deletions(-)
 rename meta/recipes-devtools/python/{python3-pip_22.2.2.bb => python3-pip_22.3.bb} (12%)

diff --git a/meta/recipes-devtools/python/python3-pip_22.2.2.bb b/meta/recipes-devtools/python/python3-pip_22.3.bb
similarity index 12%
rename from meta/recipes-devtools/python/python3-pip_22.2.2.bb
rename to meta/recipes-devtools/python/python3-pip_22.3.bb
index 5b6cccf7ed..ac4bc90bf9 100644
--- a/meta/recipes-devtools/python/python3-pip_22.2.2.bb
+++ b/meta/recipes-devtools/python/python3-pip_22.3.bb
@@ -1,40 +1,105 @@
+# FIXME: the LIC_FILES_CHKSUM values have been updated by 'devtool upgrade'.
+# The following is the difference between the old and the new license text.
+# Please update the LICENSE value if needed, and summarize the changes in
+# the commit message via 'License-Update:' tag.
+# (example: 'License-Update: copyright years updated.')
+#
+# The changes:
+#
+# --- src/pip/_vendor/certifi/LICENSE
+# +++ src/pip/_vendor/certifi/LICENSE
+# @@ -6,7 +6,7 @@
+#  This is a bundle of X.509 certificates of public Certificate Authorities
+#  (CA). These were automatically extracted from Mozilla's root certificates
+#  file (certdata.txt).  This file can be found in the mozilla source tree:
+# -http://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1#
+# +https://hg.mozilla.org/mozilla-central/file/tip/security/nss/lib/ckfw/builtins/certdata.txt
+#  It contains the certificates in PEM format and therefore
+#  can be directly used with curl / libcurl / php_curl, or with
+#  an Apache+mod_ssl webserver for SSL client authentication.
+# --- src/pip/_vendor/typing_extensions.LICENSE
+# +++ src/pip/_vendor/typing_extensions.LICENSE
+# @@ -13,12 +13,11 @@
+#  
+#  In May 2000, Guido and the Python core development team moved to
+#  BeOpen.com to form the BeOpen PythonLabs team.  In October of the same
+# -year, the PythonLabs team moved to Digital Creations (now Zope
+# -Corporation, see http://www.zope.com).  In 2001, the Python Software
+# -Foundation (PSF, see http://www.python.org/psf/) was formed, a
+# -non-profit organization created specifically to own Python-related
+# -Intellectual Property.  Zope Corporation is a sponsoring member of
+# -the PSF.
+# +year, the PythonLabs team moved to Digital Creations, which became
+# +Zope Corporation.  In 2001, the Python Software Foundation (PSF, see
+# +https://www.python.org/psf/) was formed, a non-profit organization
+# +created specifically to own Python-related Intellectual Property.
+# +Zope Corporation was a sponsoring member of the PSF.
+#  
+#  All Python releases are Open Source (see http://www.opensource.org for
+#  the Open Source Definition).  Historically, most, but not all, Python
+# @@ -74,8 +73,9 @@
+#  distribute, and otherwise use Python alone or in any derivative version,
+#  provided, however, that PSF's License Agreement and PSF's notice of copyright,
+#  i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
+# -2011, 2012, 2013, 2014 Python Software Foundation; All Rights Reserved" are
+# -retained in Python alone or in any derivative version prepared by Licensee.
+# +2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Python Software Foundation;
+# +All Rights Reserved" are retained in Python alone or in any derivative version
+# +prepared by Licensee.
+#  
+#  3. In the event Licensee prepares a derivative work that is based on
+#  or incorporates Python or any part thereof, and wants to make
+# @@ -180,9 +180,9 @@
+#  Agreement, Licensee may substitute the following text (omitting the
+#  quotes): "Python 1.6.1 is made available subject to the terms and
+#  conditions in CNRI's License Agreement.  This Agreement together with
+# -Python 1.6.1 may be located on the Internet using the following
+# +Python 1.6.1 may be located on the internet using the following
+#  unique, persistent identifier (known as a handle): 1895.22/1013.  This
+# -Agreement may also be obtained from a proxy server on the Internet
+# +Agreement may also be obtained from a proxy server on the internet
+#  using the following URL: http://hdl.handle.net/1895.22/1013".
+#  
+#  3. In the event Licensee prepares a derivative work that is based on
+# 
+#
+
 SUMMARY = "The PyPA recommended tool for installing Python packages"
 HOMEPAGE = "https://pypi.org/project/pip"
 SECTION = "devel/python"
 LICENSE = "MIT & Apache-2.0 & MPL-2.0 & LGPL-2.1-only & BSD-3-Clause & PSF-2.0 & BSD-2-Clause"
-LIC_FILES_CHKSUM = "\
-  file://LICENSE.txt;md5=63ec52baf95163b597008bb46db68030 \
-  file://src/pip/_vendor/cachecontrol/LICENSE.txt;md5=6572692148079ebbbd800be4b9f36c6d \
-  file://src/pip/_vendor/certifi/LICENSE;md5=67da0714c3f9471067b729eca6c9fbe8 \
-  file://src/pip/_vendor/chardet/LICENSE;md5=4fbd65380cdd255951079008b364516c \
-  file://src/pip/_vendor/colorama/LICENSE.txt;md5=b4936429a56a652b84c5c01280dcaa26 \
-  file://src/pip/_vendor/distlib/LICENSE.txt;md5=f6a11430d5cd6e2cd3832ee94f22ddfc \
-  file://src/pip/_vendor/distro/LICENSE;md5=d2794c0df5b907fdace235a619d80314 \
-  file://src/pip/_vendor/idna/LICENSE.md;md5=239668a7c6066d9e0c5382e9c8c6c0e1 \
-  file://src/pip/_vendor/msgpack/COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751 \
-  file://src/pip/_vendor/packaging/LICENSE;md5=faadaedca9251a90b205c9167578ce91 \
-  file://src/pip/_vendor/packaging/LICENSE.APACHE;md5=2ee41112a44fe7014dce33e26468ba93 \
-  file://src/pip/_vendor/pep517/LICENSE;md5=aad69c93f605003e3342b174d9b0708c \
-  file://src/pip/_vendor/pkg_resources/LICENSE;md5=9a33897f1bca1160d7aad3835152e158 \
-  file://src/pip/_vendor/platformdirs/LICENSE.txt;md5=282c970bb844954c8535dd6e9733db7f \
-  file://src/pip/_vendor/pygments/LICENSE;md5=36a13c90514e2899f1eba7f41c3ee592 \
-  file://src/pip/_vendor/pyparsing/LICENSE;md5=657a566233888513e1f07ba13e2f47f1 \
-  file://src/pip/_vendor/requests/LICENSE;md5=34400b68072d710fecd0a2940a0d1658 \
-  file://src/pip/_vendor/resolvelib/LICENSE;md5=78e1c0248051c32a38a7f820c30bd7a5 \
-  file://src/pip/_vendor/rich/LICENSE;md5=b5f0b94fbc94f5ad9ae4efcf8a778303 \
-  file://src/pip/_vendor/six.LICENSE;md5=43cfc9e4ac0e377acfb9b76f56b8415d \
-  file://src/pip/_vendor/tenacity/LICENSE;md5=175792518e4ac015ab6696d16c4f607e \
-  file://src/pip/_vendor/tomli/LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5 \
-  file://src/pip/_vendor/typing_extensions.LICENSE;md5=64fc2b30b67d0a8423c250e0386ed72f \
-  file://src/pip/_vendor/urllib3/LICENSE.txt;md5=c2823cb995439c984fd62a973d79815c \
-  file://src/pip/_vendor/webencodings/LICENSE;md5=81fb24cd7823cce23b69f721993dce4d \
-"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=63ec52baf95163b597008bb46db68030 \
+                    file://src/pip/_vendor/cachecontrol/LICENSE.txt;md5=6572692148079ebbbd800be4b9f36c6d \
+                    file://src/pip/_vendor/certifi/LICENSE;md5=3c2b7404369c587c3559afb604fce2f2 \
+                    file://src/pip/_vendor/chardet/LICENSE;md5=4fbd65380cdd255951079008b364516c \
+                    file://src/pip/_vendor/colorama/LICENSE.txt;md5=b4936429a56a652b84c5c01280dcaa26 \
+                    file://src/pip/_vendor/distlib/LICENSE.txt;md5=f6a11430d5cd6e2cd3832ee94f22ddfc \
+                    file://src/pip/_vendor/distro/LICENSE;md5=d2794c0df5b907fdace235a619d80314 \
+                    file://src/pip/_vendor/idna/LICENSE.md;md5=239668a7c6066d9e0c5382e9c8c6c0e1 \
+                    file://src/pip/_vendor/msgpack/COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751 \
+                    file://src/pip/_vendor/packaging/LICENSE;md5=faadaedca9251a90b205c9167578ce91 \
+                    file://src/pip/_vendor/packaging/LICENSE.APACHE;md5=2ee41112a44fe7014dce33e26468ba93 \
+                    file://src/pip/_vendor/pep517/LICENSE;md5=aad69c93f605003e3342b174d9b0708c \
+                    file://src/pip/_vendor/pkg_resources/LICENSE;md5=9a33897f1bca1160d7aad3835152e158 \
+                    file://src/pip/_vendor/platformdirs/LICENSE.txt;md5=282c970bb844954c8535dd6e9733db7f \
+                    file://src/pip/_vendor/pygments/LICENSE;md5=36a13c90514e2899f1eba7f41c3ee592 \
+                    file://src/pip/_vendor/pyparsing/LICENSE;md5=657a566233888513e1f07ba13e2f47f1 \
+                    file://src/pip/_vendor/requests/LICENSE;md5=34400b68072d710fecd0a2940a0d1658 \
+                    file://src/pip/_vendor/resolvelib/LICENSE;md5=78e1c0248051c32a38a7f820c30bd7a5 \
+                    file://src/pip/_vendor/rich/LICENSE;md5=b5f0b94fbc94f5ad9ae4efcf8a778303 \
+                    file://src/pip/_vendor/six.LICENSE;md5=43cfc9e4ac0e377acfb9b76f56b8415d \
+                    file://src/pip/_vendor/tenacity/LICENSE;md5=175792518e4ac015ab6696d16c4f607e \
+                    file://src/pip/_vendor/tomli/LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5 \
+                    file://src/pip/_vendor/typing_extensions.LICENSE;md5=f16b323917992e0f8a6f0071bc9913e2 \
+                    file://src/pip/_vendor/urllib3/LICENSE.txt;md5=c2823cb995439c984fd62a973d79815c \
+                    file://src/pip/_vendor/webencodings/LICENSE;md5=81fb24cd7823cce23b69f721993dce4d \
+                    "
 
 inherit pypi python_setuptools_build_meta
 
 SRC_URI += "file://no_shebang_mangling.patch"
 
-SRC_URI[sha256sum] = "3fd1929db052f056d7a998439176d3333fa1b3f6c1ad881de1885c0717608a4b"
+SRC_URI[sha256sum] = "8182aec21dad6c0a49a2a3d121a87cd524b950e0b6092b181625f07ebdde7530"
 
 do_install:append() {
     rm -f ${D}/${bindir}/pip
-- 
2.31.1

