Authentication-Results: name.execsw.org; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=HgTfThjl; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=gvWRks72 Received: by mail.netbsd.org (Postfix, from userid 605) id 5414C84FB3; Sun, 12 May 2024 17:46:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1715536017; bh=wCNcFry14z//LAgz7awozI7JIRbAmu5qT+9CSiIdLwg=; h=Date:From:Subject:To:Reply-To:List-Id:List-Unsubscribe; b=HgTfThjl+iW44aJrPBlTGLqOD/3ki253gJQJQGHCqcCeyLu0B+JniNyqlbHAihiwf cnIIpzdVJPYx55EaqLuOr5AMRh+P6vYim6Y/Ih35dhz1X1B4pvOOsW425uHm/tfoU4 3GAf6u3x6d3d/tsybMwHXeQHeK5G0bh3SLEwCXcI= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 435CD84FAE for ; Sun, 12 May 2024 17:46:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Authentication-Results: mail.netbsd.org (amavisd-new); dkim=pass (1024-bit key) header.d=netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id vMJQaqcL35n6 for ; Sun, 12 May 2024 17:46:55 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 5909584D47 for ; Sun, 12 May 2024 17:46:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1715536015; bh=wCNcFry14z//LAgz7awozI7JIRbAmu5qT+9CSiIdLwg=; h=Date:From:Subject:To:Reply-To; b=gvWRks72z/aoG2Curit5iAa018bSuiBcqZvlTFWV+IY04Waqk13cF6/MvNBraMa2d xQ4QJbcPwmlgaKaoZ99trqrp684qKh6z8aDjOXWYM/BUxKcpg2hjrSze23Kr34+My7 kehIO+rHKOCB/4P14LjwNDFy9M+gKpNftdwaxNIg= Received: by cvs.NetBSD.org (Postfix, from userid 500) id 55AB4FA2C; Sun, 12 May 2024 17:46:55 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1715536015227170" MIME-Version: 1.0 Date: Sun, 12 May 2024 17:46:55 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/devel/py-msgspec To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20240512174655.55AB4FA2C@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1715536015227170 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1715536015227170 Content-Disposition: inline Content-Length: 4308 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 +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 --_----------=_1715536015227170--