git: b1e525f8607a - main - devel/py-pip: Restore accidentally-removed bin/pip

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 14 May 2022 10:25:31 UTC
The branch main has been updated by sunpoet:

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

commit b1e525f8607ab2c9605a68a8208e1c24bf41744a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-05-14 10:24:36 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-05-14 10:24:36 +0000

    devel/py-pip: Restore accidentally-removed bin/pip
    
    - Bump PORTREVISION for package change
---
 devel/py-pip/Makefile             |  1 +
 devel/py-pip/files/patch-setup.py | 10 +++-------
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/devel/py-pip/Makefile b/devel/py-pip/Makefile
index 0408950c182b..f8dc20209c45 100644
--- a/devel/py-pip/Makefile
+++ b/devel/py-pip/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	pip
 PORTVERSION=	22.1
+PORTREVISION=	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
diff --git a/devel/py-pip/files/patch-setup.py b/devel/py-pip/files/patch-setup.py
index 701765fd5d2b..297dd8d7578a 100644
--- a/devel/py-pip/files/patch-setup.py
+++ b/devel/py-pip/files/patch-setup.py
@@ -1,15 +1,11 @@
---- setup.py.orig	2022-03-06 23:51:55 UTC
+--- setup.py.orig	2022-05-11 19:03:44 UTC
 +++ setup.py
-@@ -74,9 +74,9 @@ setup(
-     },
+@@ -75,8 +75,6 @@ setup(
      entry_points={
          "console_scripts": [
--            "pip=pip._internal.cli.main:main",
+             "pip=pip._internal.cli.main:main",
 -            "pip{}=pip._internal.cli.main:main".format(sys.version_info[0]),
 -            "pip{}.{}=pip._internal.cli.main:main".format(*sys.version_info[:2]),
-+            # "pip=pip._internal.cli.main:main",
-+            # "pip{}=pip._internal.cli.main:main".format(sys.version_info[0]),
-+            # "pip{}.{}=pip._internal.cli.main:main".format(*sys.version_info[:2]),
          ],
      },
      zip_safe=False,