dev-python/msgspec: Bump to 0.21.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-04-09 06:47:13 +02:00
parent 4ee74f588c
commit 072d268b1d
2 changed files with 48 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST msgspec-0.20.0.gh.tar.gz 1328648 BLAKE2B 848b29f99148ee1d5a81a6f57fdb515760c838e3ed9b8161f775d5c17b5decf7fc16a6ebd04599a1f2580e98882a7674720da899ba789ae6dbc9659da0d5ba6f SHA512 91d66d79d25ba824bb39dc02b28038c61ce3aa20576867bacbba9e22146dce424247f941b51023cce02d069d25bb2eedfb749feb597679c623d7438bc04422e4
DIST msgspec-0.21.0.gh.tar.gz 1329617 BLAKE2B fcb1581d808e615001a7b5de75a75a4c5d7e03404b353218d733333d3142ab1f3aab23fc0f206bab5862c52be09f9b924baed3e45b203e17011fbf07ca1bdf7c SHA512 4936bd1a514a9118e016c86a2f2d4018f76aafbeb1b40b97c906774d9d7655d0794ba9b6ec3514948572b24044b08d26ad1ae26ee5f02d45ca1600f21df6c46b

View File

@@ -0,0 +1,47 @@
# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi
DESCRIPTION="Fast serialization and validation library, with builtin support for many formats"
HOMEPAGE="
https://jcristharif.com/msgspec/
https://github.com/jcrist/msgspec
https://pypi.org/project/msgspec/
"
# No tests in sdist
SRC_URI="https://github.com/jcrist/msgspec/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="
dev-python/cython[${PYTHON_USEDEP}]
>=dev-python/setuptools-scm-8[${PYTHON_USEDEP}]
test? (
dev-python/attrs[${PYTHON_USEDEP}]
dev-python/msgpack[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/tomli-w[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
python_test() {
local EPYTEST_IGNORE=(
# Lint tests
tests/unit/test_cpylint.py
)
rm -rf msgspec || die
epytest tests/unit
}