git: 4b0d54434f88 - main - devel/py-jsonschema-spec: Allow build with py-referencing 0.31.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 27 Nov 2023 10:35:59 UTC
The branch main has been updated by sunpoet:

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

commit 4b0d54434f88c785f50a42d01fe1064936a1f33a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-27 10:02:14 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-27 10:28:12 +0000

    devel/py-jsonschema-spec: Allow build with py-referencing 0.31.0+
    
    - Update WWW
    - Bump PORTREVISION for package change
---
 devel/py-jsonschema-spec/Makefile                   |  5 +++--
 devel/py-jsonschema-spec/files/patch-pyproject.toml | 11 +++++++++++
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/devel/py-jsonschema-spec/Makefile b/devel/py-jsonschema-spec/Makefile
index 4256c13caed5..8d0155c3cb78 100644
--- a/devel/py-jsonschema-spec/Makefile
+++ b/devel/py-jsonschema-spec/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	jsonschema-spec
 PORTVERSION=	0.2.4
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -7,7 +8,7 @@ DISTNAME=	jsonschema_spec-${PORTVERSION}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	JSONSchema Spec with object-oriented paths
-WWW=		https://github.com/p1c2u/jsonschema-spec
+WWW=		https://github.com/p1c2u/jsonschema-path
 
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
@@ -15,7 +16,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pathable>=0.4.1<0.5:devel/py-pathable@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}yaml>=5.1:devel/py-yaml@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}referencing>=0.28.0<0.31.0:devel/py-referencing@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}referencing>=0.28.0<0.32.0:devel/py-referencing@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist concurrent pep517
diff --git a/devel/py-jsonschema-spec/files/patch-pyproject.toml b/devel/py-jsonschema-spec/files/patch-pyproject.toml
new file mode 100644
index 000000000000..0bac899d88d2
--- /dev/null
+++ b/devel/py-jsonschema-spec/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2023-08-16 17:46:54 UTC
++++ pyproject.toml
+@@ -44,7 +44,7 @@ pathable = "^0.4.1"
+ python = "^3.8.0"
+ PyYAML = ">=5.1"
+ requests = {version = "^2.31.0", optional = true}
+-referencing = ">=0.28.0,<0.31.0"
++referencing = ">=0.28.0,<0.32.0"
+ 
+ [tool.poetry.dev-dependencies]
+ pre-commit = "*"