dev-python/pysimdjson: Bump to 7.0.2

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-06-29 05:03:37 +02:00
parent 6d70a0b77a
commit 8368ed3ff8
2 changed files with 55 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST pysimdjson-7.0.0.gh.tar.gz 4670589 BLAKE2B d7bab62a075228d462413e139f4760bfacbe2add4f2cdc26f84b072a7c792e62f3d494053bbb0529d80e3ddc9c67df25ece3f6ccf120d05644bda5b006afc839 SHA512 9d2491885694091b3a37f52c6dba44060c3dff05231056dd5af1720e3593a2047e6e4837f4129d347ff80c9bd65fc0d4cacc93fdd6e3e1088faa97eb90196fec
DIST pysimdjson-7.0.1.gh.tar.gz 4670593 BLAKE2B b41a978769b0c5ce7da87908566a6d42ec3fdd3251fcc9847e6902a80eae2e28cb3fc45f517c447b90fb03e4c741aa44f2deb1d2e5d3c7ceb27fea8e57379b3f SHA512 94b6e972200ee773b87918639203fac8f573b44d2d7b7e1cf896d216b269a8153a586e2312d1b01ef21b86a54368bfd56131f48c7d1b7fd9f46248318892b0b5
DIST pysimdjson-7.0.2.gh.tar.gz 4671134 BLAKE2B 66ce5438293c5550b32a2cfcb0276e090a95a973b2e3346620d7ea2029d9cbac544fd10cf5a663edeacb8b828519ca7f4312e830f69b27d2cb4c997ec98971ee SHA512 2080210fce8070639e1b46494ecfb1cb1fd17cf70bf1dfcfa7c00efefa6fceae14759ab3088210cb6cd57b35a6a2888c107822aeceaea35c04a6f007fe327974

View File

@@ -0,0 +1,54 @@
# Copyright 2020-2025 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
DESCRIPTION="Python bindings for simdjson"
HOMEPAGE="
https://github.com/TkTech/pysimdjson/
https://pypi.org/project/pysimdjson/
"
SRC_URI="
https://github.com/TkTech/pysimdjson/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="MIT Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="
>=dev-libs/simdjson-2.0.1:=
test? ( dev-libs/simdjson[all-impls(-)] )
"
RDEPEND="
${DEPEND}
"
BDEPEND="
dev-python/cython[${PYTHON_USEDEP}]
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
src_prepare() {
# unbundle
local PATCHES=(
"${FILESDIR}/pysimdjson-7.0.0-system-lib.patch"
)
rm simdjson/simdjson.cpp || die
echo "#include_next <simdjson.h>" > simdjson/simdjson.h || die
distutils-r1_src_prepare
}
python_test() {
epytest -o required_plugins=
}