FreeBSD Bugzilla – Attachment 245724 Details for
Bug 274575
[NEW PORT] devel/py-mashumaro: Fast serialization library on top of dataclasses
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
new port
0001-devel-py-mashumaro-Fast-serialization-library-on-top.patch (text/plain), 2.60 KB, created by
Pat Maddox
on 2023-10-19 02:48:29 UTC
(
hide
)
Description:
new port
Filename:
MIME Type:
Creator:
Pat Maddox
Created:
2023-10-19 02:48:29 UTC
Size:
2.60 KB
patch
obsolete
>From 9d090c52fc679ff3ddad55bfa974ddf576c45809 Mon Sep 17 00:00:00 2001 >From: Pat Maddox <pat@patmaddox.com> >Date: Wed, 18 Oct 2023 19:26:44 -0700 >Subject: [PATCH] devel/py-mashumaro: Fast serialization library on top of > dataclasses > >--- > devel/Makefile | 1 + > devel/py-mashumaro/Makefile | 18 ++++++++++++++++++ > devel/py-mashumaro/distinfo | 3 +++ > devel/py-mashumaro/pkg-descr | 13 +++++++++++++ > 4 files changed, 35 insertions(+) > create mode 100644 devel/py-mashumaro/Makefile > create mode 100644 devel/py-mashumaro/distinfo > create mode 100644 devel/py-mashumaro/pkg-descr > >diff --git a/devel/Makefile b/devel/Makefile >index 61f3f2156ffa..191e4893c33c 100644 >--- a/devel/Makefile >+++ b/devel/Makefile >@@ -4979,6 +4979,7 @@ > SUBDIR += py-marrow.util > SUBDIR += py-marshmallow > SUBDIR += py-marshmallow-enum >+ SUBDIR += py-mashumaro > SUBDIR += py-matrix-angular-sdk > SUBDIR += py-matrix-common > SUBDIR += py-maturin >diff --git a/devel/py-mashumaro/Makefile b/devel/py-mashumaro/Makefile >new file mode 100644 >index 000000000000..cab97f35a499 >--- /dev/null >+++ b/devel/py-mashumaro/Makefile >@@ -0,0 +1,18 @@ >+PORTNAME= mashumaro >+PORTVERSION= 3.9 >+CATEGORIES= devel python >+MASTER_SITES= PYPI >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+ >+MAINTAINER= pat@patmaddox.com >+COMMENT= Fast serialization library on top of dataclasses >+WWW= https://github.com/Fatal1ty/mashumaro >+ >+LICENSE= APACHE20 >+ >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.1.0:devel/py-typing-extensions@${PY_FLAVOR} >+ >+USES= python >+USE_PYTHON= autoplist concurrent distutils >+ >+.include <bsd.port.mk> >diff --git a/devel/py-mashumaro/distinfo b/devel/py-mashumaro/distinfo >new file mode 100644 >index 000000000000..b48aaa96878c >--- /dev/null >+++ b/devel/py-mashumaro/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1691525565 >+SHA256 (mashumaro-3.9.tar.gz) = c179f3f29f7b88acc9472427ce9fc673072a04b3888ce4bd1cac94c266c8e587 >+SIZE (mashumaro-3.9.tar.gz) = 106417 >diff --git a/devel/py-mashumaro/pkg-descr b/devel/py-mashumaro/pkg-descr >new file mode 100644 >index 000000000000..87cc263dff43 >--- /dev/null >+++ b/devel/py-mashumaro/pkg-descr >@@ -0,0 +1,13 @@ >+When using dataclasses, you often need to dump and load objects based on the >+schema you have. Mashumaro not only lets you save and load things in different >+ways, but it also does it super quick. >+ >+Key features: >+ >+- One of the fastest libraries >+- Mature and time-tested >+- Easy to use out of the box >+- Highly customizable >+- Built-in support for JSON, YAML, MessagePack, TOML >+- Built-in support for almost all Python types including typing-extensions >+- JSON Schema generation >-- >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 274575
: 245724