Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2023 18:09:10 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c59d1ab96689 - main - devel/py-prance: Update to 0.22.11.4.0
Message-ID:  <202304181809.33II9Ar7079519@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit c59d1ab966899e708de308ac0de3568882de10a6
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-18 17:57:32 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-18 18:00:54 +0000

    devel/py-prance: Update to 0.22.11.4.0
    
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://github.com/RonnyPfannschmidt/prance/blob/main/CHANGES.rst
---
 devel/py-prance/Makefile              | 10 +++++++---
 devel/py-prance/distinfo              |  6 +++---
 devel/py-prance/files/patch-setup.cfg | 11 +++++++++++
 3 files changed, 21 insertions(+), 6 deletions(-)

diff --git a/devel/py-prance/Makefile b/devel/py-prance/Makefile
index 27677bb8aa2e..d077ac105ea3 100644
--- a/devel/py-prance/Makefile
+++ b/devel/py-prance/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	prance
-PORTVERSION=	0.21.8.0
+PORTVERSION=	0.22.11.4.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,14 +11,18 @@ WWW=		https://github.com/jfinkhaeuser/prance
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+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} \
+		${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<3:devel/py-semver@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}six>=1.15<2:devel/py-six@${PY_FLAVOR}
 
 USES=		python:3.4+
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
@@ -35,7 +39,7 @@ SSV_DESC=	Use py-swagger-spec-validator as backend
 CLI_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click7>=7.0<8:devel/py-click7@${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.2.1:devel/py-openapi-spec-validator@${PY_FLAVOR}
+OSV_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}openapi-spec-validator>=0.5.1<0.6: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 ed2695c66bbb..4ebd5638d54a 100644
--- a/devel/py-prance/distinfo
+++ b/devel/py-prance/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1637072978
-SHA256 (prance-0.21.8.0.tar.gz) = ce06feef8814c3436645f3b094e91067b1a111bc860a51f239f93437a8d4b00e
-SIZE (prance-0.21.8.0.tar.gz) = 2798613
+TIMESTAMP = 1681052968
+SHA256 (prance-0.22.11.4.0.tar.gz) = 814a523bc1ff18383c12cb523ce44c90fe8792bf5f48d8cc33c9f658276658ed
+SIZE (prance-0.22.11.4.0.tar.gz) = 2798710
diff --git a/devel/py-prance/files/patch-setup.cfg b/devel/py-prance/files/patch-setup.cfg
new file mode 100644
index 000000000000..4286dcfe9706
--- /dev/null
+++ b/devel/py-prance/files/patch-setup.cfg
@@ -0,0 +1,11 @@
+--- setup.cfg.orig	2022-11-04 17:06:02 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
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304181809.33II9Ar7079519>