From nobody Fri Oct 29 20:05:42 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id EEE381828DAB; Fri, 29 Oct 2021 20:05:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hgthk6Qfbz4Tt2; Fri, 29 Oct 2021 20:05:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B1BB01D42B; Fri, 29 Oct 2021 20:05:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 19TK5gNZ097730; Fri, 29 Oct 2021 20:05:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19TK5gbo097729; Fri, 29 Oct 2021 20:05:42 GMT (envelope-from git) Date: Fri, 29 Oct 2021 20:05:42 GMT Message-Id: <202110292005.19TK5gbo097729@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: a06fe6e39ada - main - devel/py-jsonschema: Update version 3.2.0=>4.1.2 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a06fe6e39adaf76f178798640c57888705cbf40a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=a06fe6e39adaf76f178798640c57888705cbf40a commit a06fe6e39adaf76f178798640c57888705cbf40a Author: Muhammad Moinur Rahman AuthorDate: 2021-10-29 20:01:27 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2021-10-29 20:05:33 +0000 devel/py-jsonschema: Update version 3.2.0=>4.1.2 - Add TEST framework for python Relnotes: https://github.com/Julian/jsonschema/releases/tag/v4.1.2 --- devel/py-jsonschema/Makefile | 9 ++++++--- devel/py-jsonschema/distinfo | 6 +++--- devel/py-jsonschema/files/patch-setup.py | 9 +++++++++ 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/devel/py-jsonschema/Makefile b/devel/py-jsonschema/Makefile index 9f8c1869f66d..a6ea659a7c14 100644 --- a/devel/py-jsonschema/Makefile +++ b/devel/py-jsonschema/Makefile @@ -1,7 +1,7 @@ # Created by: Muhammad Moinur Rahman PORTNAME= jsonschema -PORTVERSION= 3.2.0 +PORTVERSION= 4.1.2 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,16 +10,19 @@ MAINTAINER= bofh@FreeBSD.org COMMENT= JSON Schema validation for Python LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}vcversioner>0:devel/py-vcversioner@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.7: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}pyrsistent>=0.14.0:devel/py-pyrsistent@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +do-test: + cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m tox + .include diff --git a/devel/py-jsonschema/distinfo b/devel/py-jsonschema/distinfo index 431625a78d1a..0b918c318ebb 100644 --- a/devel/py-jsonschema/distinfo +++ b/devel/py-jsonschema/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1574528023 -SHA256 (jsonschema-3.2.0.tar.gz) = c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a -SIZE (jsonschema-3.2.0.tar.gz) = 167226 +TIMESTAMP = 1635534166 +SHA256 (jsonschema-4.1.2.tar.gz) = 5c1a282ee6b74235057421fd0f766ac5f2972f77440927f6471c9e8493632fac +SIZE (jsonschema-4.1.2.tar.gz) = 310016 diff --git a/devel/py-jsonschema/files/patch-setup.py b/devel/py-jsonschema/files/patch-setup.py new file mode 100644 index 000000000000..227f59f8fe78 --- /dev/null +++ b/devel/py-jsonschema/files/patch-setup.py @@ -0,0 +1,9 @@ +--- setup.py.orig 2021-10-29 19:19:35 UTC ++++ setup.py +@@ -0,0 +1,6 @@ ++#!/usr/bin/env python ++ ++import setuptools ++ ++if __name__ == "__main__": ++ setuptools.setup()