FreeBSD Bugzilla – Attachment 234560 Details for
Bug 264362
[NEW PORT] devel/py-jschema-to-python: Generate Python classes from a JSON schema
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
complete diff - new port for py-jschema_to_python
py-jschema_to_python.diff (text/plain), 2.90 KB, created by
Nuno Teixeira
on 2022-06-08 18:45:41 UTC
(
hide
)
Description:
complete diff - new port for py-jschema_to_python
Filename:
MIME Type:
Creator:
Nuno Teixeira
Created:
2022-06-08 18:45:41 UTC
Size:
2.90 KB
patch
obsolete
>diff --git a/devel/Makefile b/devel/Makefile >index b4cbc073efcc..3185c501ed19 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..163ead2cc6d4 >--- /dev/null >+++ b/devel/py-jschema_to_python/Makefile >@@ -0,0 +1,25 @@ >+PORTNAME= jschema_to_python >+DISTVERSION= 1.2.3 >+CATEGORIES= devel python >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+ >+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= python:3.6+ >+USE_GITHUB= yes >+GH_ACCOUNT= microsoft >+GH_PROJECT= ${PORTNAME:C/_/-/g} >+USE_PYTHON= autoplist concurrent distutils >+ >+NO_ARCH= yes >+ >+.include <bsd.port.mk> >diff --git a/devel/py-jschema_to_python/distinfo b/devel/py-jschema_to_python/distinfo >new file mode 100644 >index 000000000000..85c1b3f4378a >--- /dev/null >+++ b/devel/py-jschema_to_python/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1653840857 >+SHA256 (microsoft-jschema-to-python-1.2.3_GH0.tar.gz) = bd21ab2f541fdae809bdfd40d1f718e6bd4ee43c92eea0c99956df20a8d877d6 >+SIZE (microsoft-jschema-to-python-1.2.3_GH0.tar.gz) = 8727 >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..d5a0f8a18ffd >--- /dev/null >+++ b/devel/py-jschema_to_python/files/patch-setup.cfg >@@ -0,0 +1,23 @@ >+--- setup.cfg.orig 2019-10-05 19:50:42 UTC >++++ setup.cfg >+@@ -1,10 +1,10 @@ >+ [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 >+@@ -25,4 +25,4 @@ install_requires = >+ >+ [files] >+ packages = >+- jschema_to_python >+\ No newline at end of file >++ jschema_to_python >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/
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 264362
:
234347
|
234560
|
234581