Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devel/py-check-jsonschema: Add py-check-jsonschema 0.22.0
check-jsonschema is a JSON Schema CLI and pre-commit hook built on jsonschema. The schema may be specified as a local or remote (HTTP or HTTPS) file. Remote files are automatically downloaded and cached if possible.
- Loading branch information
Showing
5 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
PORTNAME= check-jsonschema | ||
PORTVERSION= 0.22.0 | ||
CATEGORIES= devel python | ||
MASTER_SITES= CHEESESHOP | ||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||
|
||
MAINTAINER= sunpoet@FreeBSD.org | ||
COMMENT= jsonschema CLI and pre-commit hook | ||
WWW= https://github.com/python-jsonschema/check-jsonschema | ||
|
||
LICENSE= APACHE20 | ||
|
||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=8<9:devel/py-click@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}jsonschema>=4.5.1<5.0:devel/py-jsonschema@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}requests>=0<3.0:www/py-requests@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.17.21:devel/py-ruamel.yaml@${PY_FLAVOR} | ||
|
||
USES= python:3.7+ | ||
USE_PYTHON= autoplist concurrent distutils | ||
|
||
NO_ARCH= yes | ||
|
||
.include <bsd.port.pre.mk> | ||
|
||
.if ${PYTHON_REL} < 30900 | ||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=1.4.0:devel/py-importlib-resources@${PY_FLAVOR} | ||
.endif | ||
|
||
.include <bsd.port.post.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1681052884 | ||
SHA256 (check-jsonschema-0.22.0.tar.gz) = 3485965e13b0c665f86f307915eab52ace5740dcec30e1a82d79f639938a9474 | ||
SIZE (check-jsonschema-0.22.0.tar.gz) = 175163 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- setup.cfg.orig 2023-03-09 16:24:06 UTC | ||
+++ setup.cfg | ||
@@ -17,7 +17,7 @@ classifiers = | ||
python_requires = >=3.7 | ||
install_requires = | ||
importlib-resources>=1.4.0;python_version<"3.9" | ||
- ruamel.yaml==0.17.21 | ||
+ ruamel.yaml>=0.17.21 | ||
jsonschema>=4.5.1,<5.0 | ||
requests<3.0 | ||
click>=8,<9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
check-jsonschema is a JSON Schema CLI and pre-commit hook built on jsonschema. | ||
The schema may be specified as a local or remote (HTTP or HTTPS) file. | ||
|
||
Remote files are automatically downloaded and cached if possible. |