git: 895329f280ec - main - devel/py-jsonschema-path: Allow build with py-referencing 0.32.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Dec 2023 06:06:07 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=895329f280ecce22d3928b866d4f1bcbb6fe444f
commit 895329f280ecce22d3928b866d4f1bcbb6fe444f
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-12-14 05:36:22 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-12-14 05:48:26 +0000
devel/py-jsonschema-path: Allow build with py-referencing 0.32.0
- Bump PORTREVISION for package change
---
devel/py-jsonschema-path/Makefile | 3 ++-
devel/py-jsonschema-path/files/patch-pyproject.toml | 11 +++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/devel/py-jsonschema-path/Makefile b/devel/py-jsonschema-path/Makefile
index 94ea2b2445fb..7cbb1331e9fb 100644
--- a/devel/py-jsonschema-path/Makefile
+++ b/devel/py-jsonschema-path/Makefile
@@ -1,5 +1,6 @@
PORTNAME= jsonschema-path
PORTVERSION= 0.3.2
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -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.32.0:devel/py-referencing@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}referencing>=0.28.0<0.33.0:devel/py-referencing@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.31.0<3:www/py-requests@${PY_FLAVOR}
USES= python
diff --git a/devel/py-jsonschema-path/files/patch-pyproject.toml b/devel/py-jsonschema-path/files/patch-pyproject.toml
new file mode 100644
index 000000000000..448939ce4890
--- /dev/null
+++ b/devel/py-jsonschema-path/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig 2023-11-15 07:57:02 UTC
++++ pyproject.toml
+@@ -45,7 +45,7 @@ pathable = "^0.4.1"
+ python = "^3.8.0"
+ PyYAML = ">=5.1"
+ requests = {version = "^2.31.0", optional = true}
+-referencing = ">=0.28.0,<0.32.0"
++referencing = ">=0.28.0,<0.33.0"
+
+ [tool.poetry.dev-dependencies]
+ pre-commit = "*"