FreeBSD Bugzilla – Attachment 245728 Details for
Bug 274579
[NEW PORT] devel/py-hologram: JSON schema generation from dataclasses
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
new port
0001-devel-py-hologram-JSON-schema-generation-from-datacl.patch (text/plain), 2.34 KB, created by
Pat Maddox
on 2023-10-19 03:58:41 UTC
(
hide
)
Description:
new port
Filename:
MIME Type:
Creator:
Pat Maddox
Created:
2023-10-19 03:58:41 UTC
Size:
2.34 KB
patch
obsolete
>From 3219e0a13238ce1b393c74f9411dc2ff30b18f7f Mon Sep 17 00:00:00 2001 >From: Pat Maddox <pat@patmaddox.com> >Date: Wed, 18 Oct 2023 20:57:24 -0700 >Subject: [PATCH] devel/py-hologram: JSON schema generation from dataclasses > >--- > devel/Makefile | 1 + > devel/py-hologram/Makefile | 19 +++++++++++++++++++ > devel/py-hologram/distinfo | 3 +++ > devel/py-hologram/pkg-descr | 3 +++ > 4 files changed, 26 insertions(+) > create mode 100644 devel/py-hologram/Makefile > create mode 100644 devel/py-hologram/distinfo > create mode 100644 devel/py-hologram/pkg-descr > >diff --git a/devel/Makefile b/devel/Makefile >index 61f3f2156ffa..bbca42c7f8fe 100644 >--- a/devel/Makefile >+++ b/devel/Makefile >@@ -4791,6 +4791,7 @@ > SUBDIR += py-hgtools > SUBDIR += py-hidraw > SUBDIR += py-holidays >+ SUBDIR += py-hologram > SUBDIR += py-homebase > SUBDIR += py-http-prompt > SUBDIR += py-humanize >diff --git a/devel/py-hologram/Makefile b/devel/py-hologram/Makefile >new file mode 100644 >index 000000000000..618e050ea3e4 >--- /dev/null >+++ b/devel/py-hologram/Makefile >@@ -0,0 +1,19 @@ >+PORTNAME= hologram >+PORTVERSION= 0.0.16 >+CATEGORIES= devel python >+MASTER_SITES= PYPI >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+ >+MAINTAINER= pat@patmaddox.com >+COMMENT= JSON schema generation from dataclasses >+WWW= https://github.com/dbt-labs/hologram >+ >+LICENSE= MIT >+ >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=2.8,<2.9:devel/py-dateutil@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}jsonschema>=3.0:devel/py-jsonschema@${PY_FLAVOR} >+ >+USES= python >+USE_PYTHON= autoplist concurrent distutils >+ >+.include <bsd.port.mk> >diff --git a/devel/py-hologram/distinfo b/devel/py-hologram/distinfo >new file mode 100644 >index 000000000000..aa1167642f9d >--- /dev/null >+++ b/devel/py-hologram/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1691524948 >+SHA256 (hologram-0.0.16.tar.gz) = 1c2c921b4e575361623ea0e0d0aa5aee377b1a333cc6c6a879e213ed34583e55 >+SIZE (hologram-0.0.16.tar.gz) = 18956 >diff --git a/devel/py-hologram/pkg-descr b/devel/py-hologram/pkg-descr >new file mode 100644 >index 000000000000..f1d5c245242d >--- /dev/null >+++ b/devel/py-hologram/pkg-descr >@@ -0,0 +1,3 @@ >+Hologram is a lightweight library to generate Draft 7 compatible JSON Schemas >+from python 3.7 dataclasses. Python 3.6 is supported through the dataclasses >+backport. It is forked from dataclasses-jsonschema created by s-knibbs. >-- >2.42.0 >
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 274579
: 245728