Skip to content

Commit

Permalink
dev-python/msgspec: new package, add 0.19.0
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Udvare <[email protected]>
  • Loading branch information
Tatsh committed Feb 9, 2025
1 parent 87e2c2f commit 401eb7c
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dev-python/msgspec/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
DIST msgspec-0.19.0.gh.tar.gz 1313347 BLAKE2B 0b7634e3f3e1e440a4f183226fd90c90d1a08a06b92a2b12f06904794d1edc7f1c0fe88a809442d8033ee640e3d24c404d6b08c3956f77250e842410b2489ba1 SHA512 d1a34598b42595bb396ea99058b8133a8473daffd2b311151c92ccbe1c1b42908e0116588998466b9efbc56e8ec27e2c262a9a56adeeeb2673edab4277119da2
EBUILD msgspec-0.19.0.ebuild 836 BLAKE2B cf30d3720d7125a47edc75d48057de80b59a13e281b3919a11f67a932f5a1cc1c3636f9921a28dd45c290d13cb453be32c7120d454f5accca8442ccaea79ac94 SHA512 d8057ea028658cf899def42e35a809e9875a838f510d2904ede221f666d4b2c4403291021663d8a0f0d96ceaea8dcc30874b8b90a8219e472961ff347bc0e749
MISC metadata.xml 370 BLAKE2B 4f73c8ec68e1a20f64a500ad2a06167bfa0605ce7fa0231bbb000ce6bee2058d2e561608b8ec8202ce9f2961f10934e0b0cde55b1d21214177fdd09dfe0fef1d SHA512 0ea6998dd0876fa874a8da2c8deedc1e0a49942002bb9fd085937f2f85aafebccdae6f151eaf94abce3ff8704bceaf940ca0d1001065fd2cbe0209c919c87a95
12 changes: 12 additions & 0 deletions dev-python/msgspec/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>[email protected]</email>
<name>Andrew Udvare</name>
</maintainer>
<upstream>
<remote-id type="pypi">msgspec</remote-id>
<remote-id type="github">jcrist/msgspec</remote-id>
</upstream>
</pkgmetadata>
39 changes: 39 additions & 0 deletions dev-python/msgspec/msgspec-0.19.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_1{0,1,2,3} )
DISTUTILS_EXT=1

inherit distutils-r1

DESCRIPTION="Fast serialization and validation library."
HOMEPAGE="https://pypi.org/project/msgspec/"
SRC_URI="https://github.com/jcrist/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/tomli[${PYTHON_USEDEP}]"
EPYTEST_IGNORE=( "tests/test_cpylint.py" )

distutils_enable_tests pytest

BDEPEND+="
test? (
dev-python/attrs[${PYTHON_USEDEP}]
dev-python/msgpack[${PYTHON_USEDEP}]
)
"

python_test() {
rm -rf "${PN}" || die
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -m 'not mypy and not pyright'
}


0 comments on commit 401eb7c

Please sign in to comment.