Skip to content

Commit

Permalink
devel/py-jsonschema-spec: Allow build with py-referencing 0.31.0+
Browse files Browse the repository at this point in the history
- Update WWW
- Bump PORTREVISION for package change
  • Loading branch information
sunpoet committed Nov 27, 2023
1 parent 2dcecab commit 4b0d544
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
5 changes: 3 additions & 2 deletions devel/py-jsonschema-spec/Makefile
@@ -1,21 +1,22 @@
PORTNAME= jsonschema-spec
PORTVERSION= 0.2.4
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
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

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
Expand Down
11 changes: 11 additions & 0 deletions 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 = "*"

0 comments on commit 4b0d544

Please sign in to comment.