git: 02bf5054af0f - main - devel/py-jaraco.context: Update to 4.1.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 18 Jul 2022 12:41:17 UTC
The branch main has been updated by sunpoet:

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

commit 02bf5054af0f2f20b9f464593518bec15a039c84
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-07-18 12:34:13 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-07-18 12:39:53 +0000

    devel/py-jaraco.context: Update to 4.1.2
    
    Changes:        https://github.com/jaraco/jaraco.context/blob/main/CHANGES.rst
---
 devel/py-jaraco.context/Makefile       | 5 ++++-
 devel/py-jaraco.context/distinfo       | 6 +++---
 devel/py-jaraco.context/files/setup.py | 3 +++
 3 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/devel/py-jaraco.context/Makefile b/devel/py-jaraco.context/Makefile
index 0c8d105332e2..1b6889274193 100644
--- a/devel/py-jaraco.context/Makefile
+++ b/devel/py-jaraco.context/Makefile
@@ -1,7 +1,7 @@
 # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
 
 PORTNAME=	jaraco.context
-PORTVERSION=	4.1.1
+PORTVERSION=	4.1.2
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -26,6 +26,9 @@ NO_ARCH=	yes
 
 POST_PLIST=	trim-jaraco-namespace
 
+post-patch:
+	@${CP} ${FILESDIR}/setup.py ${WRKSRC}/
+
 post-install:
 	@${RM} ${STAGEDIR}${PYTHON_SITELIBDIR}/jaraco/__init__.py*
 	-@${RM} ${STAGEDIR}${PYTHON_SITELIBDIR}/jaraco/__pycache__/__init__.*
diff --git a/devel/py-jaraco.context/distinfo b/devel/py-jaraco.context/distinfo
index 1c902090e34c..02fe6346cccf 100644
--- a/devel/py-jaraco.context/distinfo
+++ b/devel/py-jaraco.context/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1636117264
-SHA256 (jaraco.context-4.1.1.tar.gz) = f0d4d82ffbbbff680384eba48a32a3167f12a91a30a7db56fd97b87e73a87241
-SIZE (jaraco.context-4.1.1.tar.gz) = 7615
+TIMESTAMP = 1657835431
+SHA256 (jaraco.context-4.1.2.tar.gz) = a58e94dd67871639abc091b57d32842449b230777570ef2bcec3dc16b912613e
+SIZE (jaraco.context-4.1.2.tar.gz) = 8315
diff --git a/devel/py-jaraco.context/files/setup.py b/devel/py-jaraco.context/files/setup.py
new file mode 100644
index 000000000000..606849326a40
--- /dev/null
+++ b/devel/py-jaraco.context/files/setup.py
@@ -0,0 +1,3 @@
+from setuptools import setup
+
+setup()