commit: ce5b76d7142148fd1cf6cc51ecba2491a2e8cc39 Author: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> AuthorDate: Sun May 4 14:37:52 2025 +0000 Commit: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> CommitDate: Tue May 6 14:20:40 2025 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ce5b76d7
dev-python/python-rapidjson: new package, add 1.20 Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de> dev-python/python-rapidjson/metadata.xml | 19 ++++++++++++++++ .../python-rapidjson/python-rapidjson-1.20.ebuild | 26 ++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-python/python-rapidjson/metadata.xml b/dev-python/python-rapidjson/metadata.xml new file mode 100644 index 000000000..03a0fc52e --- /dev/null +++ b/dev-python/python-rapidjson/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>[email protected]</email> + <name>Gentoo Science Project</name> + </maintainer> + <maintainer type="person"> + <email>[email protected]</email> + <name>Alexander Puck Neuwirth</name> + </maintainer> + <longdescription lang="en"> + RapidJSON is an extremely fast C++ JSON parser and serialization library: this module wraps it into a Python 3 extension, exposing its serialization/deserialization (to/from either bytes, str or file-like instances) and JSON Schema validation capabilities. + </longdescription> + <upstream> + <remote-id type="pypi">python-rapidjson</remote-id> + <remote-id type="github">python-rapidjson/python-rapidjson</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/python-rapidjson/python-rapidjson-1.20.ebuild b/dev-python/python-rapidjson/python-rapidjson-1.20.ebuild new file mode 100644 index 000000000..ef6411d40 --- /dev/null +++ b/dev-python/python-rapidjson/python-rapidjson-1.20.ebuild @@ -0,0 +1,26 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 +inherit distutils-r1 pypi + +DESCRIPTION="Python wrapper around rapidjson" +HOMEPAGE=" + https://github.com/python-rapidjson/python-rapidjson +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/pysimdjson-5.0.1[${PYTHON_USEDEP}] + >=dev-python/orjson-3.7.6[${PYTHON_USEDEP}] + >=dev-python/simplejson-3.17.6[${PYTHON_USEDEP}] + >=dev-python/ujson-5.4.0[${PYTHON_USEDEP}] +" +RESTRICT="test" # too much benchmarking
