summaryrefslogtreecommitdiff
path: root/dev-python/orjson
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-11-15 07:08:46 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-11-15 07:08:46 +0000
commit786111411d262be682eaf3367d6c0c22e59d270d (patch)
treeadba0e864048f1719e1b7833a4c2399e0d676e1c /dev-python/orjson
parent090713173be4f5e656825c94e4e535d06cbba6b7 (diff)
downloadbaldeagleos-repo-786111411d262be682eaf3367d6c0c22e59d270d.tar.gz
baldeagleos-repo-786111411d262be682eaf3367d6c0c22e59d270d.tar.xz
baldeagleos-repo-786111411d262be682eaf3367d6c0c22e59d270d.zip
Adding metadata
Diffstat (limited to 'dev-python/orjson')
-rw-r--r--dev-python/orjson/orjson-3.11.4-r1.ebuild51
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/orjson/orjson-3.11.4-r1.ebuild b/dev-python/orjson/orjson-3.11.4-r1.ebuild
new file mode 100644
index 000000000000..b7f872e41d48
--- /dev/null
+++ b/dev-python/orjson/orjson-3.11.4-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=maturin
+PYPI_VERIFY_REPO=https://github.com/ijl/orjson
+PYTHON_COMPAT=( python3_{10..14} )
+
+# upstream is vendoring crates
+CRATES=""
+RUST_MIN_VER="1.88.0"
+
+inherit cargo distutils-r1 pypi
+
+DESCRIPTION="Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy"
+HOMEPAGE="
+ https://github.com/ijl/orjson/
+ https://pypi.org/project/orjson/
+"
+
+LICENSE="|| ( Apache-2.0 MIT )"
+# Dependent crate licenses
+LICENSE+="
+ Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 MIT Unicode-3.0
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+BDEPEND="
+ >=dev-util/maturin-1.7.8[${PYTHON_USEDEP}]
+ test? (
+ dev-python/arrow[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/psutil[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ )
+"
+
+QA_FLAGS_IGNORED=".*"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+src_unpack() {
+ pypi_src_unpack
+
+ # https://github.com/ijl/orjson/issues/613
+ cargo_gen_config
+}