pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-msgspec
Module Name: pkgsrc
Committed By: wiz
Date: Sun May 12 17:46:55 UTC 2024
Added Files:
pkgsrc/devel/py-msgspec: DESCR Makefile PLIST distinfo
Log Message:
devel/py-msgspec: import py-msgspec-0.18.6
msgspec is a fast serialization and validation library, with builtin
support for JSON, MessagePack, YAML, and TOML. It features:
* High performance encoders/decoders for common protocols. The JSON
and MessagePack implementations regularly benchmark as the fastest
options for Python.
* Support for a wide variety of Python types. Additional types may
be supported through extensions.
* Zero-cost schema validation using familiar Python type annotations.
In benchmarks msgspec decodes and validates JSON faster than orjson
can decode it alone.
* A speedy Struct type for representing structured data. If you
already use dataclasses or attrs, Structs should feel familiar.
However, they're 5-60x faster for common operations.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-msgspec/DESCR \
pkgsrc/devel/py-msgspec/Makefile pkgsrc/devel/py-msgspec/PLIST \
pkgsrc/devel/py-msgspec/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/py-msgspec/DESCR
diff -u /dev/null pkgsrc/devel/py-msgspec/DESCR:1.1
--- /dev/null Sun May 12 17:46:55 2024
+++ pkgsrc/devel/py-msgspec/DESCR Sun May 12 17:46:55 2024
@@ -0,0 +1,17 @@
+msgspec is a fast serialization and validation library, with builtin
+support for JSON, MessagePack, YAML, and TOML. It features:
+
+* High performance encoders/decoders for common protocols. The JSON
+ and MessagePack implementations regularly benchmark as the fastest
+ options for Python.
+
+* Support for a wide variety of Python types. Additional types may
+ be supported through extensions.
+
+* Zero-cost schema validation using familiar Python type annotations.
+ In benchmarks msgspec decodes and validates JSON faster than orjson
+ can decode it alone.
+
+* A speedy Struct type for representing structured data. If you
+ already use dataclasses or attrs, Structs should feel familiar.
+ However, they're 5-60x faster for common operations.
Index: pkgsrc/devel/py-msgspec/Makefile
diff -u /dev/null pkgsrc/devel/py-msgspec/Makefile:1.1
--- /dev/null Sun May 12 17:46:55 2024
+++ pkgsrc/devel/py-msgspec/Makefile Sun May 12 17:46:55 2024
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2024/05/12 17:46:55 wiz Exp $
+
+DISTNAME= msgspec-0.18.6
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=m/msgspec/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://jcristharif.com/msgspec/
+COMMENT= Fast serialization and validation library
+LICENSE= modified-bsd
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
+DEPENDS+= ${PYPKGPREFIX}-tomli_w-[0-9]*:../../textproc/py-tomli_w
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+.include "../../lang/python/pyversion.mk"
+
+.if ${PYTHON_VERSION} < 311
+DEPENDS+= ${PYPKGPREFIX}-tomli-[0-9]*:../../textproc/py-tomli
+.endif
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-msgspec/PLIST
diff -u /dev/null pkgsrc/devel/py-msgspec/PLIST:1.1
--- /dev/null Sun May 12 17:46:55 2024
+++ pkgsrc/devel/py-msgspec/PLIST Sun May 12 17:46:55 2024
@@ -0,0 +1,42 @@
+@comment $NetBSD: PLIST,v 1.1 2024/05/12 17:46:55 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/msgspec/__init__.py
+${PYSITELIB}/msgspec/__init__.pyc
+${PYSITELIB}/msgspec/__init__.pyi
+${PYSITELIB}/msgspec/__init__.pyo
+${PYSITELIB}/msgspec/_core.so
+${PYSITELIB}/msgspec/_json_schema.py
+${PYSITELIB}/msgspec/_json_schema.pyc
+${PYSITELIB}/msgspec/_json_schema.pyo
+${PYSITELIB}/msgspec/_utils.py
+${PYSITELIB}/msgspec/_utils.pyc
+${PYSITELIB}/msgspec/_utils.pyo
+${PYSITELIB}/msgspec/_version.py
+${PYSITELIB}/msgspec/_version.pyc
+${PYSITELIB}/msgspec/_version.pyo
+${PYSITELIB}/msgspec/inspect.py
+${PYSITELIB}/msgspec/inspect.pyc
+${PYSITELIB}/msgspec/inspect.pyo
+${PYSITELIB}/msgspec/json.py
+${PYSITELIB}/msgspec/json.pyc
+${PYSITELIB}/msgspec/json.pyi
+${PYSITELIB}/msgspec/json.pyo
+${PYSITELIB}/msgspec/msgpack.py
+${PYSITELIB}/msgspec/msgpack.pyc
+${PYSITELIB}/msgspec/msgpack.pyi
+${PYSITELIB}/msgspec/msgpack.pyo
+${PYSITELIB}/msgspec/py.typed
+${PYSITELIB}/msgspec/structs.py
+${PYSITELIB}/msgspec/structs.pyc
+${PYSITELIB}/msgspec/structs.pyi
+${PYSITELIB}/msgspec/structs.pyo
+${PYSITELIB}/msgspec/toml.py
+${PYSITELIB}/msgspec/toml.pyc
+${PYSITELIB}/msgspec/toml.pyo
+${PYSITELIB}/msgspec/yaml.py
+${PYSITELIB}/msgspec/yaml.pyc
+${PYSITELIB}/msgspec/yaml.pyo
Index: pkgsrc/devel/py-msgspec/distinfo
diff -u /dev/null pkgsrc/devel/py-msgspec/distinfo:1.1
--- /dev/null Sun May 12 17:46:55 2024
+++ pkgsrc/devel/py-msgspec/distinfo Sun May 12 17:46:55 2024
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2024/05/12 17:46:55 wiz Exp $
+
+BLAKE2s (msgspec-0.18.6.tar.gz) = 950e2c8d418d9fa3bf52cb63ab3d8961b3dcd7a10a82792b37a1f69b5049ea23
+SHA512 (msgspec-0.18.6.tar.gz) = d8edd040875f9e632cca6207a6771ec4a876f34a12f032e785f803713bdf27d7923d77ea2d4ac00fee65ae57aebfd7ddf6df7046163fb15e7248bff87ad5cbee
+Size (msgspec-0.18.6.tar.gz) = 216757 bytes
Home |
Main Index |
Thread Index |
Old Index