pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-check-jsonschema: Import py-check-jsonschema-0.28.0 as wip/py-check-jsonschema



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Fri Mar 22 21:17:58 2024 +0100
Changeset:	2b6bac8f05a1ef4e9de734493d3697b6d99965af

Added Files:
	py-check-jsonschema/ALTERNATIVES
	py-check-jsonschema/DESCR
	py-check-jsonschema/Makefile
	py-check-jsonschema/PLIST
	py-check-jsonschema/distinfo
	py-check-jsonschema/patches/patch-setup.cfg

Log Message:
py-check-jsonschema: Import py-check-jsonschema-0.28.0 as wip/py-check-jsonschema

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.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2b6bac8f05a1ef4e9de734493d3697b6d99965af

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-check-jsonschema/ALTERNATIVES            |   1 +
 py-check-jsonschema/DESCR                   |   4 +
 py-check-jsonschema/Makefile                |  37 +++++++
 py-check-jsonschema/PLIST                   | 153 ++++++++++++++++++++++++++++
 py-check-jsonschema/distinfo                |   6 ++
 py-check-jsonschema/patches/patch-setup.cfg |  22 ++++
 6 files changed, 223 insertions(+)

diffs:
diff --git a/py-check-jsonschema/ALTERNATIVES b/py-check-jsonschema/ALTERNATIVES
new file mode 100644
index 0000000000..c66d4e75ed
--- /dev/null
+++ b/py-check-jsonschema/ALTERNATIVES
@@ -0,0 +1 @@
+bin/check-jsonschema @PREFIX@/bin/check-jsonschema@PYVERSSUFFIX@
diff --git a/py-check-jsonschema/DESCR b/py-check-jsonschema/DESCR
new file mode 100644
index 0000000000..847ceec9bf
--- /dev/null
+++ b/py-check-jsonschema/DESCR
@@ -0,0 +1,4 @@
+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.
diff --git a/py-check-jsonschema/Makefile b/py-check-jsonschema/Makefile
new file mode 100644
index 0000000000..af90fc2b0e
--- /dev/null
+++ b/py-check-jsonschema/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.10 2022/01/04 20:54:32 wiz Exp $
+
+DISTNAME=	check-jsonschema-0.28.0
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	textproc python
+MASTER_SITES=	${MASTER_SITE_PYPI:=c/check-jsonschema/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/python-jsonschema/check-jsonschema
+COMMENT=	CLI for jsonschema validation
+LICENSE=	apache-2.0
+
+DEPENDS+=	${PYPKGPREFIX}-click>=8:../../devel/py-click
+DEPENDS+=	${PYPKGPREFIX}-jsonschema>=4.18.0:../../textproc/py-jsonschema
+DEPENDS+=	${PYPKGPREFIX}-regress>=0.4.0:../../wip/py-regress
+DEPENDS+=	${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
+DEPENDS+=	${PYPKGPREFIX}-ruamel-yaml>=0.18.5:../../devel/py-ruamel-yaml
+
+.include "../../lang/python/pyversion.mk"
+.if ${PYTHON_VERSION} < 39
+DEPENDS+=	${PYPKGPREFIX}-importlib-resources>=1.4.0:../../devel/py-importlib-resources
+.endif
+
+.if ${PYTHON_VERSION} < 311
+DEPENDS+=	${PYPKGPREFIX}-tomli>=2.0:../../textproc/py-tomli
+.endif
+
+USE_LANGUAGES=	# none
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27	# only for Python 3
+
+post-install:
+	cd ${DESTDIR}${PREFIX}/bin && \
+	${MV} check-jsonschema check-jsonschema${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-check-jsonschema/PLIST b/py-check-jsonschema/PLIST
new file mode 100644
index 0000000000..c399d03fa2
--- /dev/null
+++ b/py-check-jsonschema/PLIST
@@ -0,0 +1,153 @@
+@comment $NetBSD$
+bin/check-jsonschema${PYVERSSUFFIX}
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/check_jsonschema/__init__.py
+${PYSITELIB}/check_jsonschema/__init__.pyc
+${PYSITELIB}/check_jsonschema/__init__.pyo
+${PYSITELIB}/check_jsonschema/__main__.py
+${PYSITELIB}/check_jsonschema/__main__.pyc
+${PYSITELIB}/check_jsonschema/__main__.pyo
+${PYSITELIB}/check_jsonschema/builtin_schemas/__init__.py
+${PYSITELIB}/check_jsonschema/builtin_schemas/__init__.pyc
+${PYSITELIB}/check_jsonschema/builtin_schemas/__init__.pyo
+${PYSITELIB}/check_jsonschema/builtin_schemas/custom/__init__.py
+${PYSITELIB}/check_jsonschema/builtin_schemas/custom/__init__.pyc
+${PYSITELIB}/check_jsonschema/builtin_schemas/custom/__init__.pyo
+${PYSITELIB}/check_jsonschema/builtin_schemas/custom/github-workflows-require-timeout.json
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/LICENSE.azure-pipelines
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/LICENSE.bitbucket-pipelines
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/LICENSE.buildkite
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/LICENSE.gitlab
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/LICENSE.readthedocs
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/LICENSE.renovate
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/LICENSE.schemastore
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/README.md
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/__init__.py
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/__init__.pyc
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/__init__.pyo
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/azure-pipelines.json
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/azure-pipelines.sha256
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/bamboo-spec.json
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/bamboo-spec.sha256
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/bitbucket-pipelines.json
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/bitbucket-pipelines.sha256
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/buildkite.json
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/buildkite.sha256
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/cloudbuild.json
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/cloudbuild.sha256
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/dependabot.json
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/dependabot.sha256
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/drone-ci.json
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/drone-ci.sha256
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/github-actions.json
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/github-actions.sha256
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/github-workflows.json
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/github-workflows.sha256
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/gitlab-ci.json
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/gitlab-ci.sha256
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/readthedocs.json
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/readthedocs.sha256
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/renovate.json
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/renovate.sha256
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/travis.json
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/travis.sha256
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/woodpecker-ci.json
+${PYSITELIB}/check_jsonschema/builtin_schemas/vendor/woodpecker-ci.sha256
+${PYSITELIB}/check_jsonschema/cachedownloader.py
+${PYSITELIB}/check_jsonschema/cachedownloader.pyc
+${PYSITELIB}/check_jsonschema/cachedownloader.pyo
+${PYSITELIB}/check_jsonschema/catalog.py
+${PYSITELIB}/check_jsonschema/catalog.pyc
+${PYSITELIB}/check_jsonschema/catalog.pyo
+${PYSITELIB}/check_jsonschema/checker.py
+${PYSITELIB}/check_jsonschema/checker.pyc
+${PYSITELIB}/check_jsonschema/checker.pyo
+${PYSITELIB}/check_jsonschema/cli/__init__.py
+${PYSITELIB}/check_jsonschema/cli/__init__.pyc
+${PYSITELIB}/check_jsonschema/cli/__init__.pyo
+${PYSITELIB}/check_jsonschema/cli/main_command.py
+${PYSITELIB}/check_jsonschema/cli/main_command.pyc
+${PYSITELIB}/check_jsonschema/cli/main_command.pyo
+${PYSITELIB}/check_jsonschema/cli/param_types.py
+${PYSITELIB}/check_jsonschema/cli/param_types.pyc
+${PYSITELIB}/check_jsonschema/cli/param_types.pyo
+${PYSITELIB}/check_jsonschema/cli/parse_result.py
+${PYSITELIB}/check_jsonschema/cli/parse_result.pyc
+${PYSITELIB}/check_jsonschema/cli/parse_result.pyo
+${PYSITELIB}/check_jsonschema/cli/warnings.py
+${PYSITELIB}/check_jsonschema/cli/warnings.pyc
+${PYSITELIB}/check_jsonschema/cli/warnings.pyo
+${PYSITELIB}/check_jsonschema/formats/__init__.py
+${PYSITELIB}/check_jsonschema/formats/__init__.pyc
+${PYSITELIB}/check_jsonschema/formats/__init__.pyo
+${PYSITELIB}/check_jsonschema/formats/implementations/__init__.py
+${PYSITELIB}/check_jsonschema/formats/implementations/__init__.pyc
+${PYSITELIB}/check_jsonschema/formats/implementations/__init__.pyo
+${PYSITELIB}/check_jsonschema/formats/implementations/iso8601_time.py
+${PYSITELIB}/check_jsonschema/formats/implementations/iso8601_time.pyc
+${PYSITELIB}/check_jsonschema/formats/implementations/iso8601_time.pyo
+${PYSITELIB}/check_jsonschema/formats/implementations/rfc3339.py
+${PYSITELIB}/check_jsonschema/formats/implementations/rfc3339.pyc
+${PYSITELIB}/check_jsonschema/formats/implementations/rfc3339.pyo
+${PYSITELIB}/check_jsonschema/identify_filetype.py
+${PYSITELIB}/check_jsonschema/identify_filetype.pyc
+${PYSITELIB}/check_jsonschema/identify_filetype.pyo
+${PYSITELIB}/check_jsonschema/instance_loader.py
+${PYSITELIB}/check_jsonschema/instance_loader.pyc
+${PYSITELIB}/check_jsonschema/instance_loader.pyo
+${PYSITELIB}/check_jsonschema/parsers/__init__.py
+${PYSITELIB}/check_jsonschema/parsers/__init__.pyc
+${PYSITELIB}/check_jsonschema/parsers/__init__.pyo
+${PYSITELIB}/check_jsonschema/parsers/json5.py
+${PYSITELIB}/check_jsonschema/parsers/json5.pyc
+${PYSITELIB}/check_jsonschema/parsers/json5.pyo
+${PYSITELIB}/check_jsonschema/parsers/json_.py
+${PYSITELIB}/check_jsonschema/parsers/json_.pyc
+${PYSITELIB}/check_jsonschema/parsers/json_.pyo
+${PYSITELIB}/check_jsonschema/parsers/toml.py
+${PYSITELIB}/check_jsonschema/parsers/toml.pyc
+${PYSITELIB}/check_jsonschema/parsers/toml.pyo
+${PYSITELIB}/check_jsonschema/parsers/yaml.py
+${PYSITELIB}/check_jsonschema/parsers/yaml.pyc
+${PYSITELIB}/check_jsonschema/parsers/yaml.pyo
+${PYSITELIB}/check_jsonschema/reporter.py
+${PYSITELIB}/check_jsonschema/reporter.pyc
+${PYSITELIB}/check_jsonschema/reporter.pyo
+${PYSITELIB}/check_jsonschema/result.py
+${PYSITELIB}/check_jsonschema/result.pyc
+${PYSITELIB}/check_jsonschema/result.pyo
+${PYSITELIB}/check_jsonschema/schema_loader/__init__.py
+${PYSITELIB}/check_jsonschema/schema_loader/__init__.pyc
+${PYSITELIB}/check_jsonschema/schema_loader/__init__.pyo
+${PYSITELIB}/check_jsonschema/schema_loader/errors.py
+${PYSITELIB}/check_jsonschema/schema_loader/errors.pyc
+${PYSITELIB}/check_jsonschema/schema_loader/errors.pyo
+${PYSITELIB}/check_jsonschema/schema_loader/main.py
+${PYSITELIB}/check_jsonschema/schema_loader/main.pyc
+${PYSITELIB}/check_jsonschema/schema_loader/main.pyo
+${PYSITELIB}/check_jsonschema/schema_loader/readers.py
+${PYSITELIB}/check_jsonschema/schema_loader/readers.pyc
+${PYSITELIB}/check_jsonschema/schema_loader/readers.pyo
+${PYSITELIB}/check_jsonschema/schema_loader/resolver.py
+${PYSITELIB}/check_jsonschema/schema_loader/resolver.pyc
+${PYSITELIB}/check_jsonschema/schema_loader/resolver.pyo
+${PYSITELIB}/check_jsonschema/transforms/__init__.py
+${PYSITELIB}/check_jsonschema/transforms/__init__.pyc
+${PYSITELIB}/check_jsonschema/transforms/__init__.pyo
+${PYSITELIB}/check_jsonschema/transforms/azure_pipelines.py
+${PYSITELIB}/check_jsonschema/transforms/azure_pipelines.pyc
+${PYSITELIB}/check_jsonschema/transforms/azure_pipelines.pyo
+${PYSITELIB}/check_jsonschema/transforms/base.py
+${PYSITELIB}/check_jsonschema/transforms/base.pyc
+${PYSITELIB}/check_jsonschema/transforms/base.pyo
+${PYSITELIB}/check_jsonschema/transforms/gitlab.py
+${PYSITELIB}/check_jsonschema/transforms/gitlab.pyc
+${PYSITELIB}/check_jsonschema/transforms/gitlab.pyo
+${PYSITELIB}/check_jsonschema/utils.py
+${PYSITELIB}/check_jsonschema/utils.pyc
+${PYSITELIB}/check_jsonschema/utils.pyo
diff --git a/py-check-jsonschema/distinfo b/py-check-jsonschema/distinfo
new file mode 100644
index 0000000000..7a43275691
--- /dev/null
+++ b/py-check-jsonschema/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.12 2021/10/26 11:06:42 nia Exp $
+
+BLAKE2s (check-jsonschema-0.28.0.tar.gz) = 4c5d6f41f257aa0fcc80dbe60bd0ce22fa397a2d858ccbc84c3b66a294966070
+SHA512 (check-jsonschema-0.28.0.tar.gz) = 93ad41ba9381577064025c23085bc588a713777e427e52b92729122d646794a16a9b49dc00d21d6ec2c19ab1409b917b85faabb5a880653622b12eabd27a6276
+Size (check-jsonschema-0.28.0.tar.gz) = 245274 bytes
+SHA1 (patch-setup.cfg) = cb61d6471fa65b8ed70874ab5927296a70d7f060
diff --git a/py-check-jsonschema/patches/patch-setup.cfg b/py-check-jsonschema/patches/patch-setup.cfg
new file mode 100644
index 0000000000..f39b7bfc2d
--- /dev/null
+++ b/py-check-jsonschema/patches/patch-setup.cfg
@@ -0,0 +1,22 @@
+$NetBSD$
+
+Relax too strict version requirements.
+
+--- setup.cfg.orig	2024-03-22 19:56:28.934190011 +0000
++++ setup.cfg
+@@ -18,11 +18,11 @@ python_requires = >=3.8
+ install_requires = 
+ 	importlib-resources>=1.4.0;python_version<"3.9"
+ 	tomli>=2.0;python_version<"3.11"
+-	ruamel.yaml==0.18.5
+-	jsonschema>=4.18.0,<5.0
++	ruamel.yaml>=0.18.5
++	jsonschema>=4.18.0
+ 	regress>=0.4.0
+-	requests<3.0
+-	click>=8,<9
++	requests
++	click>=8
+ package_dir = 
+ 	=src
+ packages = find:


Home | Main Index | Thread Index | Old Index