From nobody Mon Nov 1 14:49:25 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 AAD0C183AAC5 for ; Mon, 1 Nov 2021 14:50:02 +0000 (UTC) (envelope-from sunpoet@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HjbY62jDXz4dF5 for ; Mon, 1 Nov 2021 14:50:02 +0000 (UTC) (envelope-from sunpoet@freebsd.org) Received: from mail-qk1-f172.google.com (mail-qk1-f172.google.com [209.85.222.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: sunpoet) by smtp.freebsd.org (Postfix) with ESMTPSA id 1B74D2830A for ; Mon, 1 Nov 2021 14:50:02 +0000 (UTC) (envelope-from sunpoet@freebsd.org) Received: by mail-qk1-f172.google.com with SMTP id bj20so5450475qkb.11 for ; Mon, 01 Nov 2021 07:50:02 -0700 (PDT) X-Gm-Message-State: AOAM530I7dMtrfKjEsDBoekqkTDssSVKfr48du8pGJ7Yyc/92LnS1kxQ ndHOrweASuOJdiWK4svYi8b8LusdtOz/4x+SyPwlag== X-Google-Smtp-Source: ABdhPJwAKqmhGg7VavQiqeps9De5IuXzcsvCxExBc53zaMSgjmlGyaispd2GZm8iI+Ary+J41xHQHxVCvpxiX54dZo4= X-Received: by 2002:a05:620a:2808:: with SMTP id f8mr1918131qkp.434.1635778201607; Mon, 01 Nov 2021 07:50:01 -0700 (PDT) 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 References: <202110292005.19TK5gbo097729@gitrepo.freebsd.org> In-Reply-To: <202110292005.19TK5gbo097729@gitrepo.freebsd.org> From: Po-Chuan Hsieh Date: Mon, 1 Nov 2021 22:49:25 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: git: a06fe6e39ada - main - devel/py-jsonschema: Update version 3.2.0=>4.1.2 To: Muhammad Moinur Rahman Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Content-Type: multipart/alternative; boundary="000000000000a3727a05cfbb4a82" X-ThisMailContainsUnwantedMimeParts: N --000000000000a3727a05cfbb4a82 Content-Type: text/plain; charset="UTF-8" On Sat, Oct 30, 2021 at 4:05 AM Muhammad Moinur Rahman wrote: > 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 > FYI, it breaks devel/py-warlock, science/py-asdf and www/py-quilt3. These 3 ports require jsonschema 3.* (Note the <4 in RUN_DEPENDS). I've committed the fix. devel/py-warlock/Makefile:RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=0.7<4:devel/py-jsonschema@${PY_FLAVOR} \ science/py-asdf/Makefile: ${PYTHON_PKGNAMEPREFIX}jsonschema>=3.0.2<4:devel/py-jsonschema@${PY_FLAVOR} \ www/py-quilt3/Makefile: ${PYTHON_PKGNAMEPREFIX}jsonschema>=3.0<4:devel/py-jsonschema@${PY_FLAVOR} \ > - 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() > --000000000000a3727a05cfbb4a82--