git: a2ee50934df9 - main - devel/py-validate-pyproject: Update to 0.10

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 04 Sep 2022 03:53:09 UTC
The branch main has been updated by sunpoet:

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

commit a2ee50934df92d46ec642fbffec8d2d95960676f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-09-04 03:46:51 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-09-04 03:46:51 +0000

    devel/py-validate-pyproject: Update to 0.10
    
    Changes:        https://github.com/abravalheri/validate-pyproject/releases
---
 devel/py-validate-pyproject/Makefile       | 5 ++++-
 devel/py-validate-pyproject/distinfo       | 6 +++---
 devel/py-validate-pyproject/files/setup.py | 3 +++
 3 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/devel/py-validate-pyproject/Makefile b/devel/py-validate-pyproject/Makefile
index 50fc3b5b3e07..190d4c3cb9c1 100644
--- a/devel/py-validate-pyproject/Makefile
+++ b/devel/py-validate-pyproject/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	validate-pyproject
-PORTVERSION=	0.9
+PORTVERSION=	0.10
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -34,4 +34,7 @@ RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-me
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}tomli>=1.2.1:textproc/py-tomli@${PY_FLAVOR}
 .endif
 
+post-patch:
+	@${CP} ${FILESDIR}/setup.py ${WRKSRC}/
+
 .include <bsd.port.post.mk>
diff --git a/devel/py-validate-pyproject/distinfo b/devel/py-validate-pyproject/distinfo
index 0a850826bc20..1f8079d512f9 100644
--- a/devel/py-validate-pyproject/distinfo
+++ b/devel/py-validate-pyproject/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1655208282
-SHA256 (validate-pyproject-0.9.tar.gz) = d7f0bf7270534499ff960e02c120b8731a153e02bdf51b9a580cbf17317bc414
-SIZE (validate-pyproject-0.9.tar.gz) = 105047
+TIMESTAMP = 1662212178
+SHA256 (validate-pyproject-0.10.tar.gz) = 74186c5535ac4db9b7e1df2359c9f32b12ff9c6f5a4c2998e442409bfd29c422
+SIZE (validate-pyproject-0.10.tar.gz) = 104131
diff --git a/devel/py-validate-pyproject/files/setup.py b/devel/py-validate-pyproject/files/setup.py
new file mode 100644
index 000000000000..606849326a40
--- /dev/null
+++ b/devel/py-validate-pyproject/files/setup.py
@@ -0,0 +1,3 @@
+from setuptools import setup
+
+setup()