git: ae2300d4cda9 - main - devel/py-parver: Update to 0.4

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 27 May 2023 04:27:10 UTC
The branch main has been updated by sunpoet:

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

commit ae2300d4cda97910ccf24659427d37a1e057e3be
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-05-27 04:08:51 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-05-27 04:08:51 +0000

    devel/py-parver: Update to 0.4
    
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://github.com/RazerM/parver/blob/master/CHANGELOG.rst
---
 devel/py-parver/Makefile             | 22 ++++++++++++++--------
 devel/py-parver/distinfo             |  6 +++---
 devel/py-parver/files/patch-setup.py | 11 -----------
 3 files changed, 17 insertions(+), 22 deletions(-)

diff --git a/devel/py-parver/Makefile b/devel/py-parver/Makefile
index 5fbad8abd3aa..fbb25b7bcce1 100644
--- a/devel/py-parver/Makefile
+++ b/devel/py-parver/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	parver
-PORTVERSION=	0.3.1
-PORTREVISION=	1
+PORTVERSION=	0.4
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,16 +11,23 @@ WWW=		https://github.com/RazerM/parver
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}arpeggio>=1.7:devel/py-arpeggio@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}attrs>=19.2:devel/py-attrs@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}six>=1.13<2:devel/py-six@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hypothesis>=3.56:devel/py-hypothesis@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pretend>=1.0:devel/py-pretend@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}attrs>=19.2:devel/py-attrs@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pretend>=0:devel/py-pretend@${PY_FLAVOR}
 
 USES=		python:3.6+
-USE_PYTHON=	autoplist concurrent distutils pytest
+USE_PYTHON=	autoplist concurrent pep517 pytest
 
 NO_ARCH=	yes
 TEST_ENV=	PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31000
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-parver/distinfo b/devel/py-parver/distinfo
index d057c21a3c14..b5946bebdf4d 100644
--- a/devel/py-parver/distinfo
+++ b/devel/py-parver/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1601485417
-SHA256 (parver-0.3.1.tar.gz) = c902e0653bcce927cc156a7fd9b3a51924cbce3bf3d0bfd49fc282bfd0c5dfd3
-SIZE (parver-0.3.1.tar.gz) = 30287
+TIMESTAMP = 1684104444
+SHA256 (parver-0.4.tar.gz) = d4a3dbb93c53373ee9a0ba055e4858c44169b204b912e49d003ead95db9a9bca
+SIZE (parver-0.4.tar.gz) = 25526
diff --git a/devel/py-parver/files/patch-setup.py b/devel/py-parver/files/patch-setup.py
deleted file mode 100644
index 0e94a6c55311..000000000000
--- a/devel/py-parver/files/patch-setup.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py.orig	2020-09-28 20:11:31 UTC
-+++ setup.py
-@@ -49,7 +49,7 @@ setup(
-     packages=find_packages('src'),
-     package_dir={'': 'src'},
-     install_requires=[
--        'arpeggio ~= 1.7',
-+        'arpeggio >= 1.7',
-         'attrs >= 19.2',
-         'six ~= 1.13',
-     ],