diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-06-14 03:26:22 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-06-14 03:53:01 +0200 |
commit | b3d4c12891b1be9d1de35e978634c333de11dc8a (patch) | |
tree | 11a9806a94a3b9078cd13697a6f5eef4148d7a76 /dev-python | |
parent | media-gfx/fontforge: Stabilize 20230101-r2 sparc, #934050 (diff) | |
download | gentoo-b3d4c12891b1be9d1de35e978634c333de11dc8a.tar.gz gentoo-b3d4c12891b1be9d1de35e978634c333de11dc8a.tar.bz2 gentoo-b3d4c12891b1be9d1de35e978634c333de11dc8a.zip |
dev-python/orjson: Bump to 3.10.5
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/orjson/Manifest | 1 | ||||
-rw-r--r-- | dev-python/orjson/orjson-3.10.5.ebuild | 99 |
2 files changed, 100 insertions, 0 deletions
diff --git a/dev-python/orjson/Manifest b/dev-python/orjson/Manifest index e6d73c680055..ad389002ae8d 100644 --- a/dev-python/orjson/Manifest +++ b/dev-python/orjson/Manifest @@ -30,6 +30,7 @@ DIST num-traits-0.2.19.crate 51631 BLAKE2B 78637360cbf32d172510a62bd9442708af973 DIST once_cell-1.19.0.crate 33046 BLAKE2B c14b374eaf4ac0f60acc2e02f7bba270a0e8e0a6978d749cd3cb0ab3eb26907e4fbea70dd5132982f90290381ed18ff8a87fd530f1415fabffac864f157ea380 SHA512 4154876afd34a699ee650d1a8a1c5ee5a25f0ebd9388b8bef2564e33629fae68f113d7507488c68abbe7ea1acf9bbc41813cbbf3ef3e464e3f3b9cc7a51d870c DIST orjson-3.10.3.tar.gz 4930028 BLAKE2B a4ed1bad539d21647ef36a4e72ba1444f57d9b6b1292f6972b62de413bab7668396be5479b384e897bf88a397e7089f4e75e2ecb945ba561bbac5fe602f23faf SHA512 7c29ca375e18170088bfbd0adf58be0291668c77bdae30f74568731350ac384f70430fe3e52ff29733959685cd02bac33ddaae035b9f35824c8daf3c80419506 DIST orjson-3.10.4.tar.gz 5248719 BLAKE2B b22804038f21d33e46d12df0d98bf6c564d8b5f23424b9ed64f3a6fbfc77c895126dbaeb114aeadad521a3835218d0a5049dbf074fa2a99aa88b5c38640bcb5e SHA512 5dae3b877a64fa1a2ad162c000e960a264a8c157b72bfce8bb17fdd46fd07c0bacfea611c2fff01878f9d98b875fa03ec9fee48ebba5e45256df217aa394a3e4 +DIST orjson-3.10.5.tar.gz 5249974 BLAKE2B d2f29bf4ce09e8aae3a688527818d26b00b3112b29ca8420f3f4561f7358e15e2be82d8f3156753a81c7fb780383daaec0e878c90082d06db5c9e3d115f53b8f SHA512 45a2db6955f3891d3bb4b0b16e5e023a9b9533179011f530d1d1c73dd6371b561680d91226993a93a67ac95cff5122d459c70ea69b386a80826f8a767e08a4ab DIST proc-macro2-1.0.81.crate 48233 BLAKE2B 94319064772c757b6bf57eb9e759e827454f719d82210271ebab9c6ee4ecfddc9099522cdc8595123efe2efb64fd50eadd7e31419c5842ff1cb8fdd32e8daa0c SHA512 7edec4b786d9fe076ced4fa5c0d369c163fd1c27c895431245a8268ab2e16665b7c0a585552d46ceee6b8103979a4201f92abb381f0e678128abed359f514de7 DIST proc-macro2-1.0.85.crate 48988 BLAKE2B 236f2a07c758d0d8628f003b70d4b25d5f0d2bd8cbd3955fc4262d7d9b271c6571eb0fc45c95fd816b426a84ed5ec5dfeb81d8041d4de955cce6f3b9fceda1f1 SHA512 54c61dd0581bb5802e077a58fa41f113aa1fab59026478268ece293f2643921b7649844c1675a21a3a21674cdb3ccf94928e5bd069a02bf6813ccc1114d37262 DIST pyo3-build-config-0.21.2.crate 30581 BLAKE2B 993c1f7f15124336b70570ed3949cc0873c2b883e81dd3a350f347cf014fb9a82d487197fdaf475989b727b7ee8d9a5511a72422f76126b8788c4f40831baed8 SHA512 8b6bedb31235de3dd95bca6e19ea4eb7752227ceb9f1c928c4df2b277df5ee443e5c262e448012e4e54e3104213db4d745c9c42f79ab3029dee68f48ec3a2795 diff --git a/dev-python/orjson/orjson-3.10.5.ebuild b/dev-python/orjson/orjson-3.10.5.ebuild new file mode 100644 index 000000000000..460eb89af87a --- /dev/null +++ b/dev-python/orjson/orjson-3.10.5.ebuild @@ -0,0 +1,99 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{10..13} ) + +CRATES=" + ahash@0.8.11 + arrayvec@0.7.4 + associative-cache@2.0.0 + autocfg@1.3.0 + beef@0.5.2 + bytecount@0.6.8 + castaway@0.2.2 + cc@1.0.99 + cfg-if@1.0.0 + chrono@0.4.34 + compact_str@0.7.1 + const-random-macro@0.1.16 + const-random@0.1.18 + crunchy@0.2.2 + encoding_rs@0.8.34 + getrandom@0.2.15 + gimli@0.28.1 + half@2.4.1 + itoa@1.0.11 + itoap@1.0.1 + libc@0.2.155 + no-panic@0.1.30 + num-traits@0.2.19 + once_cell@1.19.0 + proc-macro2@1.0.85 + pyo3-build-config@0.21.2 + pyo3-ffi@0.21.2 + quote@1.0.36 + rustversion@1.0.17 + ryu@1.0.18 + serde@1.0.203 + serde_derive@1.0.203 + serde_json@1.0.117 + simdutf8@0.1.4 + smallvec@1.13.2 + static_assertions@1.1.0 + syn@2.0.66 + target-lexicon@0.12.14 + tiny-keccak@2.0.2 + unicode-ident@1.0.12 + unwinding@0.2.1 + version_check@0.9.4 + wasi@0.11.0+wasi-snapshot-preview1 + zerocopy-derive@0.7.34 + zerocopy@0.7.34 +" + +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/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="|| ( Apache-2.0 MIT )" +# Dependent crate licenses +LICENSE+=" + Apache-2.0-with-LLVM-exceptions BSD CC0-1.0 MIT Unicode-DFS-2016 + || ( Apache-2.0 Boost-1.0 ) +" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + >=virtual/rust-1.72 + test? ( + dev-python/arrow[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_USEDEP}] + ' 'python3*') + ) +" + +QA_FLAGS_IGNORED=".*" + +distutils_enable_tests pytest + +export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} |