git: 1f20ce2b9cac - main - devel/py-backports.entry-points-selectable: Update to 1.2.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 03 Oct 2022 17:13:24 UTC
The branch main has been updated by sunpoet:

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

commit 1f20ce2b9cac299dd0c0bbae6f7750372914905e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-10-03 17:05:02 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-10-03 17:10:27 +0000

    devel/py-backports.entry-points-selectable: Update to 1.2.0
    
    Changes:        https://github.com/jaraco/backports.entry_points_selectable/releases
                    https://github.com/jaraco/backports.entry_points_selectable/blob/main/CHANGES.rst
---
 devel/py-backports.entry-points-selectable/Makefile       | 7 +++++--
 devel/py-backports.entry-points-selectable/distinfo       | 6 +++---
 devel/py-backports.entry-points-selectable/files/setup.py | 3 +++
 3 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/devel/py-backports.entry-points-selectable/Makefile b/devel/py-backports.entry-points-selectable/Makefile
index 1ec815e2ddb0..8d19a3befe6c 100644
--- a/devel/py-backports.entry-points-selectable/Makefile
+++ b/devel/py-backports.entry-points-selectable/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	backports.entry-points-selectable
-PORTVERSION=	1.1.1
+PORTVERSION=	1.2.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +12,7 @@ WWW=		https://github.com/jaraco/backports.entry_points_selectable
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		python:3.6+
+USES=		python:3.7+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
@@ -23,4 +23,7 @@ NO_ARCH=	yes
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR}
 .endif
 
+post-patch:
+	@${CP} ${FILESDIR}/setup.py ${WRKSRC}/
+
 .include <bsd.port.post.mk>
diff --git a/devel/py-backports.entry-points-selectable/distinfo b/devel/py-backports.entry-points-selectable/distinfo
index 51d34abf2858..5a28d0909c9a 100644
--- a/devel/py-backports.entry-points-selectable/distinfo
+++ b/devel/py-backports.entry-points-selectable/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1637072944
-SHA256 (backports.entry_points_selectable-1.1.1.tar.gz) = 914b21a479fde881635f7af5adc7f6e38d6b274be32269070c53b698c60d5386
-SIZE (backports.entry_points_selectable-1.1.1.tar.gz) = 8806
+TIMESTAMP = 1664767896
+SHA256 (backports.entry_points_selectable-1.2.0.tar.gz) = 4706f59179657ca7c1d325a543ee1370f8f46331f432bcac62fab242fdf0afa5
+SIZE (backports.entry_points_selectable-1.2.0.tar.gz) = 9179
diff --git a/devel/py-backports.entry-points-selectable/files/setup.py b/devel/py-backports.entry-points-selectable/files/setup.py
new file mode 100644
index 000000000000..606849326a40
--- /dev/null
+++ b/devel/py-backports.entry-points-selectable/files/setup.py
@@ -0,0 +1,3 @@
+from setuptools import setup
+
+setup()