From nobody Thu Jun 09 22:17:57 2022 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 B376B8342C6; Thu, 9 Jun 2022 22:17:57 +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 4LJz4P4W5Kz4VT1; Thu, 9 Jun 2022 22:17:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654813077; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=G421EwKlZouAT9WpyOMV79OtU7hXB5cWyR1aWtuiyuc=; b=YfRqxscXuy5LmxNleOpwJaPlIjYOPulXbP3GAprprAtGeVOamokK8KwP49OVJucON37l3D uCH4djyXNLmrA2als2ml1KpMOOj4WeLmNNQKiyHwosn3ToTyISCFkv6LGI4hZBcSA+F+UM 6C4wQP7eRJqtyJqQAawakSdqr1jwskS5oTpJAXdMSD1gerXFHw6PKCGclP9dQMZqB3tgzz si/Gg02NrCiivRJkEEAlZMEkZw0i2hYhQskwBw6xgVVQfnMcVUSkk7OHhIZZQnr0CUKg8d rVoc1zlaYe0exa2mdHjxHWgtmq79G5/1VSQUha/d7bJlsAcZeoFyE1+/ygHc6A== 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 786A64637; Thu, 9 Jun 2022 22:17:57 +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 259MHvwH060008; Thu, 9 Jun 2022 22:17:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 259MHvao060007; Thu, 9 Jun 2022 22:17:57 GMT (envelope-from git) Date: Thu, 9 Jun 2022 22:17:57 GMT Message-Id: <202206092217.259MHvao060007@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nuno Teixeira Subject: git: cdc4f394015b - main - devel/py-jschema-to-python: New Port: Generate Python classes from a JSON schema 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: eduardo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cdc4f394015b90c1aa11d7a9dc725e4ce0414616 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654813077; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=G421EwKlZouAT9WpyOMV79OtU7hXB5cWyR1aWtuiyuc=; b=ZYFkjrEjPNRzh5/a+jRPqWRsmFRDC2cUYtqAC2/wH+EyaLUUtYUZhnWbr2FFWrnprDnf7X m0FuXDq3CMLiE6KA9w/VGjh/QGH8vjIhEBcmsEf48+333wabuHLyruiObvKDTknMlpQhUA izNv4wNLz2jqDy570RdWOOWFXP9JiqkDBZxkAyhHAcRk8QZ9Hfj0YEcGQUKuYbjl5Q1P6a SVtlAgLkvE5G/t//Jwy4rizkWm11YmhN0xSIC7+otWmJms4k5/tWLTljnyNYQlAxoxrlKY W/PPg8awkaZMsxy+df+dHugwfZnkdfOByiVW6R0wLz4HLy8Ne/uoSkheA5dTlA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654813077; a=rsa-sha256; cv=none; b=IN9i3WgV8RdsEJ7oPaQfpj+XwMxGhZyyFADgxK768126mDN1W3hVRAOqq3e2x8kAOJNID/ rmmVRLGC9m7rXVa9SlDodTJ+KWelmrFBtiyG9Xh5h4cEHX8ef3t3i4imT1reLhNEL+RiKo lmu6DFtNP/Wyrchix34ihy6vIA8817tTFYJbM8eWEXapxjMrOjpafXT+hTZ0o38Xc387El iL+leu+tTW0DDHWC3bFKkR1g0hOK5BR7PQ0sdsCyVG4LPeG7bXANQAADgPGAlMyi11MERt YxOW2FGJgJmuudKJ7nVj3ULw0gmHF0+BTj8oR21j2lZ1/+IQthx+OXRKBfdqvw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=cdc4f394015b90c1aa11d7a9dc725e4ce0414616 commit cdc4f394015b90c1aa11d7a9dc725e4ce0414616 Author: Norikatsu Shigemura AuthorDate: 2022-06-09 22:13:51 +0000 Commit: Nuno Teixeira CommitDate: 2022-06-09 22:13:51 +0000 devel/py-jschema-to-python: New Port: Generate Python classes from a JSON schema Add a new port, py-jschema-to-python is to generate Python classes from a JSON schema. - Author becomes maintainer PR: 264362 --- devel/Makefile | 1 + devel/py-jschema-to-python/Makefile | 24 ++++++++++++++++++++++++ devel/py-jschema-to-python/distinfo | 3 +++ devel/py-jschema-to-python/files/patch-setup.cfg | 16 ++++++++++++++++ devel/py-jschema-to-python/pkg-descr | 3 +++ 5 files changed, 47 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 7ee4ec629366..ac54995c4dba 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4712,6 +4712,7 @@ SUBDIR += py-jmespath SUBDIR += py-joblib SUBDIR += py-jsbeautifier + SUBDIR += py-jschema-to-python SUBDIR += py-jsmin SUBDIR += py-json5 SUBDIR += py-json_tricks diff --git a/devel/py-jschema-to-python/Makefile b/devel/py-jschema-to-python/Makefile new file mode 100644 index 000000000000..401bf0ba9166 --- /dev/null +++ b/devel/py-jschema-to-python/Makefile @@ -0,0 +1,24 @@ +PORTNAME= jschema-to-python +DISTVERSION= 1.2.3 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= jschema_to_python-${DISTVERSION} + +MAINTAINER= nork@ninth-nine.com +COMMENT= Generate Python classes from a JSON schema + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>0:devel/py-pbr@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>0:devel/py-attrs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}jsonpickle>0:devel/py-jsonpickle@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pbr>0:devel/py-pbr@${PY_FLAVOR} + +USES= dos2unix python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/devel/py-jschema-to-python/distinfo b/devel/py-jschema-to-python/distinfo new file mode 100644 index 000000000000..7a1dfc551f9c --- /dev/null +++ b/devel/py-jschema-to-python/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1654780129 +SHA256 (jschema_to_python-1.2.3.tar.gz) = 76ff14fe5d304708ccad1284e4b11f96a658949a31ee7faed9e0995279549b91 +SIZE (jschema_to_python-1.2.3.tar.gz) = 10061 diff --git a/devel/py-jschema-to-python/files/patch-setup.cfg b/devel/py-jschema-to-python/files/patch-setup.cfg new file mode 100644 index 000000000000..148d0943aa72 --- /dev/null +++ b/devel/py-jschema-to-python/files/patch-setup.cfg @@ -0,0 +1,16 @@ +--- setup.cfg.orig 2022-06-09 13:30:24 UTC ++++ setup.cfg +@@ -1,10 +1,10 @@ author = Microsoft Corporation + [metadata] + name = jschema_to_python + author = Microsoft Corporation +-author-email = v-lgold@microsoft.com ++author_email = v-lgold@microsoft.com + summary = Generate source code for Python classes from a JSON schema. +-home-page = https://github.com/microsoft/jschema-to-python +-description-file = README.rst ++home_page = https://github.com/microsoft/jschema-to-python ++description_file = README.rst + license = MIT + classifier = + Development Status :: 5 - Production/Stable diff --git a/devel/py-jschema-to-python/pkg-descr b/devel/py-jschema-to-python/pkg-descr new file mode 100644 index 000000000000..321174c95af2 --- /dev/null +++ b/devel/py-jschema-to-python/pkg-descr @@ -0,0 +1,3 @@ +Generate Python classes from a JSON schema. + +WWW: https://pypi.org/project/jschema-to-python/