git: 91aaf67a31bf - main - devel/py-pip: Update to 22.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 13 May 2022 19:35:30 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=91aaf67a31bf5e1415be6a485225dd37aec090f9

commit 91aaf67a31bf5e1415be6a485225dd37aec090f9
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-05-13 19:30:56 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-05-13 19:30:56 +0000

    devel/py-pip: Update to 22.1
    
    - Update do-test:
    
    Changes:        https://github.com/pypa/pip/blob/main/NEWS.rst
                    https://pip.pypa.io/en/stable/news/
---
 devel/py-pip/Makefile | 8 ++++----
 devel/py-pip/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/devel/py-pip/Makefile b/devel/py-pip/Makefile
index 4ec009d8ebad..0408950c182b 100644
--- a/devel/py-pip/Makefile
+++ b/devel/py-pip/Makefile
@@ -1,7 +1,7 @@
 # Created by: Nicola Vitale <nivit@FreeBSD.org>
 
 PORTNAME=	pip
-PORTVERSION=	22.0.4
+PORTVERSION=	22.1
 CATEGORIES=	devel python
 MASTER_SITES=	https://files.pythonhosted.org/packages/fb/58/9efbfe68482dab9557c49d433a60fff9efd7ed8835f829eba8297c2c124a/:test_setuptools \
 		https://files.pythonhosted.org/packages/27/d6/003e593296a85fd6ed616ed962795b2f87709c3eee2bca4f6d0fe55c6d00/:test_wheel
@@ -67,9 +67,9 @@ post-install-DOCS-on:
 do-test:
 	${MKDIR} ${WRKSRC}/tests/data/common_wheels
 	# the tests check for these wheel files, so fetch them and copy them in
-	${CP} ${DISTDIR}/${DIST_SUBDIR}/setuptools-44.0.0-py2.py3-none-any.whl ${WRKSRC}/tests/data/common_wheels
-	${CP} ${DISTDIR}/${DIST_SUBDIR}/wheel-0.35.1-py2.py3-none-any.whl ${WRKSRC}/tests/data/common_wheels
+	${CP} ${DISTDIR}/${DIST_SUBDIR}/setuptools-62.1.0-py3-none-any.whl ${WRKSRC}/tests/data/common_wheels
+	${CP} ${DISTDIR}/${DIST_SUBDIR}/wheel-0.37.1-py2.py3-none-any.whl ${WRKSRC}/tests/data/common_wheels
 	${LN} -sf ${LOCALBASE}/bin/pip ${LOCALBASE}/bin/pip3
-	cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
+	cd ${WRKSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} ${PYTHON_CMD} -m pytest -rs -v
 
 .include <bsd.port.mk>
diff --git a/devel/py-pip/distinfo b/devel/py-pip/distinfo
index 52a95d1e9e0b..b262fc364d63 100644
--- a/devel/py-pip/distinfo
+++ b/devel/py-pip/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1652122933
+TIMESTAMP = 1652446350
 SHA256 (pip/setuptools-62.1.0-py3-none-any.whl) = 26ead7d1f93efc0f8c804d9fafafbe4a44b179580a7105754b245155f9af05a8
 SIZE (pip/setuptools-62.1.0-py3-none-any.whl) = 1144059
 SHA256 (pip/wheel-0.37.1-py2.py3-none-any.whl) = 4bdcd7d840138086126cd09254dc6195fb4fc6f01c050a1d7236f2630db1d22a
 SIZE (pip/wheel-0.37.1-py2.py3-none-any.whl) = 35301
-SHA256 (pip/pypa-pip-22.0.4_GH0.tar.gz) = a9828528aa21cf87093e9332f94ea65931a51c443216f5d3a8f14451ef4f2bbf
-SIZE (pip/pypa-pip-22.0.4_GH0.tar.gz) = 9325766
+SHA256 (pip/pypa-pip-22.1_GH0.tar.gz) = 6012bf6a28761df91edefb7dc5f271631e37026d0535fca14e2c00f43d19417f
+SIZE (pip/pypa-pip-22.1_GH0.tar.gz) = 9345819