git: 66ff41aa0179 - main - devel/py-prance: Update to 23.6.21.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 31 Jul 2023 16:46:53 UTC
The branch main has been updated by sunpoet:

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

commit 66ff41aa017949eb5df588e242e607268d031d63
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-07-31 16:31:34 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-07-31 16:40:06 +0000

    devel/py-prance: Update to 23.6.21.0
    
    - Update WWW
    - Change RUN_DEPENDS from py-click7 to py-click
    - Allow build with py-openapi-spec-validator 0.6.0+
    
    Changes:        https://github.com/RonnyPfannschmidt/prance/blob/main/CHANGES.rst
---
 devel/py-prance/Makefile              | 18 ++++++++----------
 devel/py-prance/distinfo              |  6 +++---
 devel/py-prance/files/patch-setup.cfg | 18 +++++++++---------
 3 files changed, 20 insertions(+), 22 deletions(-)

diff --git a/devel/py-prance/Makefile b/devel/py-prance/Makefile
index 37cdbd2b28f9..7c000518ca33 100644
--- a/devel/py-prance/Makefile
+++ b/devel/py-prance/Makefile
@@ -1,25 +1,23 @@
 PORTNAME=	prance
-PORTVERSION=	0.22.11.4.0
-PORTREVISION=	1
+PORTVERSION=	23.6.21.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Resolving Swagger/OpenAPI 2.0 and 3.0.0 parser
-WWW=		https://github.com/jfinkhaeuser/prance
+WWW=		https://github.com/RonnyPfannschmidt/prance
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools_scm>=6:devel/py-setuptools_scm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}chardet>=3.0,1<5.0,1:textproc/py-chardet@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}chardet>=3.0,1:textproc/py-chardet@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}packaging>=21.3:devel/py-packaging@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}requests>=2.25<3:www/py-requests@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.17.10<0.18:devel/py-ruamel.yaml@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}semver>=2.13:devel/py-semver@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=2.25:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.17.10:devel/py-ruamel.yaml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}six>=1.15<2:devel/py-six@${PY_FLAVOR}
 
 USES=		python
@@ -37,10 +35,10 @@ ICU_DESC=	Unicode support
 OSV_DESC=	Use py-openapi-spec-validator as backend
 SSV_DESC=	Use py-swagger-spec-validator as backend
 
-CLI_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click7>=7.0<8:devel/py-click7@${PY_FLAVOR}
+CLI_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click>=7.0:devel/py-click@${PY_FLAVOR}
 FLEX_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flex>=6.13<7:devel/py-flex@${PY_FLAVOR}
 ICU_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyicu>=2.4<3:devel/py-pyicu@${PY_FLAVOR}
-OSV_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}openapi-spec-validator>=0.5.1<0.6:devel/py-openapi-spec-validator@${PY_FLAVOR}
+OSV_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}openapi-spec-validator>=0.5.1:devel/py-openapi-spec-validator@${PY_FLAVOR}
 SSV_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}swagger-spec-validator>=2.4<3:devel/py-swagger-spec-validator@${PY_FLAVOR}
 
 .include <bsd.port.mk>
diff --git a/devel/py-prance/distinfo b/devel/py-prance/distinfo
index 4ebd5638d54a..9dc7a371ae83 100644
--- a/devel/py-prance/distinfo
+++ b/devel/py-prance/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1681052968
-SHA256 (prance-0.22.11.4.0.tar.gz) = 814a523bc1ff18383c12cb523ce44c90fe8792bf5f48d8cc33c9f658276658ed
-SIZE (prance-0.22.11.4.0.tar.gz) = 2798710
+TIMESTAMP = 1689398879
+SHA256 (prance-23.6.21.0.tar.gz) = d8c15f8ac34019751cc4945f866d8d964d7888016d10de3592e339567177cabe
+SIZE (prance-23.6.21.0.tar.gz) = 2798776
diff --git a/devel/py-prance/files/patch-setup.cfg b/devel/py-prance/files/patch-setup.cfg
index 4286dcfe9706..a1ae3927ebf0 100644
--- a/devel/py-prance/files/patch-setup.cfg
+++ b/devel/py-prance/files/patch-setup.cfg
@@ -1,11 +1,11 @@
---- setup.cfg.orig	2022-11-04 17:06:02 UTC
+--- setup.cfg.orig	2023-06-21 20:01:44 UTC
 +++ setup.cfg
-@@ -33,7 +33,7 @@ install_requires = 
- 	requests~=2.25
- 	six~=1.15
- 	semver~=2.13
--	packaging~=21.3
-+	packaging>=21.3
- zip_safe = True
- python_requires = >=3.6
+@@ -56,7 +56,7 @@ dev = 
+ 	towncrier>=19.2
+ icu = PyICU~=2.4
+ ssv = swagger-spec-validator~=2.4
+-osv = openapi-spec-validator~=0.5.1
++osv = openapi-spec-validator>=0.5.1
+ flex = flex~=6.13
+ cli = click>=7.0