git: 792df617c379 - main - devel/py-jsonschema: Update version 4.6.0=>4.7.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 Jul 2022 19:43:24 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=792df617c379c17328f6554f25e5627cfe7973c5
commit 792df617c379c17328f6554f25e5627cfe7973c5
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-07-20 00:56:05 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-07-20 19:43:16 +0000
devel/py-jsonschema: Update version 4.6.0=>4.7.2
Relnotes: https://github.com/python-jsonschema/jsonschema/releases/tag/v4.7.2
---
devel/py-jsonschema/Makefile | 17 +++++++++++++----
devel/py-jsonschema/distinfo | 6 +++---
devel/py-jsonschema/files/patch-MANIFEST.in | 7 -------
3 files changed, 16 insertions(+), 14 deletions(-)
diff --git a/devel/py-jsonschema/Makefile b/devel/py-jsonschema/Makefile
index 2eccf4f4886d..a1d53d8a4901 100644
--- a/devel/py-jsonschema/Makefile
+++ b/devel/py-jsonschema/Makefile
@@ -1,5 +1,5 @@
PORTNAME= jsonschema
-PORTVERSION= 4.6.0
+PORTVERSION= 4.7.2
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
@@ -13,8 +13,6 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4:devel/py-setuptools_scm@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=17.4.0:devel/py-attrs@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}importlib-resources>=0:devel/py-importlib-resources@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyrsistent>=0.14.0:devel/py-pyrsistent@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR}
@@ -25,7 +23,18 @@ CONFLICTS_INSTALL= py*-jsonschema3 # bin/jsonschema
NO_ARCH= yes
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30900
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=0:devel/py-importlib-resources@${PY_FLAVOR}
+.endif
+
+.if ${PYTHON_REL} < 30800
+RUN_DEPEDNS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR}
+.endif
+
do-test:
cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m tox
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/py-jsonschema/distinfo b/devel/py-jsonschema/distinfo
index 3fe68e38c404..b86c7a316c75 100644
--- a/devel/py-jsonschema/distinfo
+++ b/devel/py-jsonschema/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1654192224
-SHA256 (jsonschema-4.6.0.tar.gz) = 9d6397ba4a6c0bf0300736057f649e3e12ecbc07d3e81a0dacb72de4e9801957
-SIZE (jsonschema-4.6.0.tar.gz) = 269939
+TIMESTAMP = 1658278166
+SHA256 (jsonschema-4.7.2.tar.gz) = 73764f461d61eb97a057c929368610a134d1d1fffd858acfe88864ee94f1f1d3
+SIZE (jsonschema-4.7.2.tar.gz) = 278495
diff --git a/devel/py-jsonschema/files/patch-MANIFEST.in b/devel/py-jsonschema/files/patch-MANIFEST.in
deleted file mode 100644
index fb22f9988615..000000000000
--- a/devel/py-jsonschema/files/patch-MANIFEST.in
+++ /dev/null
@@ -1,7 +0,0 @@
---- MANIFEST.in.orig 2022-06-04 16:19:42 UTC
-+++ MANIFEST.in
-@@ -3,3 +3,4 @@ include *.rst
- include COPYING
- include pyproject.toml
- include tox.ini
-+graft jsonschema/schemas