From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2A8B315812D for ; Mon, 30 Dec 2024 06:43:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3EDEE0823; Mon, 30 Dec 2024 06:43:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4A02BE0817 for ; Mon, 30 Dec 2024 06:43:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 77D9533BF29 for ; Mon, 30 Dec 2024 06:43:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A5EEF11AC for ; Mon, 30 Dec 2024 06:43:38 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1735538258.e48f864a7160cf2f61d6f384d83c8db54805e8e1.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/orjson/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/orjson/Manifest dev-python/orjson/orjson-3.10.13.ebuild X-VCS-Directories: dev-python/orjson/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e48f864a7160cf2f61d6f384d83c8db54805e8e1 X-VCS-Branch: master Date: Mon, 30 Dec 2024 06:43:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f351f621-b58d-4a0f-bfda-0de3ebd4c106 X-Archives-Hash: 3ad439aff8952503c98a3e33ca96b4e6 commit: e48f864a7160cf2f61d6f384d83c8db54805e8e1 Author: Michał Górny gentoo org> AuthorDate: Mon Dec 30 05:57:38 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Dec 30 05:57:38 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e48f864a dev-python/orjson: Bump to 3.10.13 Signed-off-by: Michał Górny gentoo.org> dev-python/orjson/Manifest | 1 + dev-python/orjson/orjson-3.10.13.ebuild | 89 +++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) diff --git a/dev-python/orjson/Manifest b/dev-python/orjson/Manifest index 9a33db1cd502..3d5a2316248f 100644 --- a/dev-python/orjson/Manifest +++ b/dev-python/orjson/Manifest @@ -21,6 +21,7 @@ DIST no-panic-0.1.30.crate 11789 BLAKE2B 11c9978e79fc55a259f4a6b16dc5df9b46e7223 DIST once_cell-1.20.2.crate 33394 BLAKE2B 79dd394fcf1637adfef28b4159ec653c8b71d2bda0e0e36a940c04e3d87698f039dc30c97f26648ecf0d9742962f1f0a117568f7c705a8a3fc167085b0ca3e80 SHA512 bc6005bdab7a154c01e2203fb553a68695727475a9a882cf906d49c054ce886ad92cb491d380b6b9fe71a81b2fd690ce91c9a6cf8dfa8508470ac9acfc8a31c8 DIST orjson-3.10.11.tar.gz 5444879 BLAKE2B bfa24e6f07fdc952dc9f80a28449fa9121c960cac52cd867796e1ce21344a5c00450bc652b28340c8a4c64f2e8f63699595528e924a019c0b46a8b0c4103eb41 SHA512 b7a960cd06c0176a194c7c9e9dd412c47000258fb79e2407182156e07a48bc02823118ac708c23f482bcb8f3b77dcdcfd95f61f408b45cbaabca8ed317ef63e4 DIST orjson-3.10.12.tar.gz 5438647 BLAKE2B 88378c76f7b4aaefcc56b3963e60bc6fd8cf740ab683a15c735b8b1a9f69f0a9fb9924e2385c3234ca6f4b44c772f7b6ef359cfc1afc8982fc521db0e99b3100 SHA512 089420645ef4a54674436ebc4f49ba67fda4fff716c949e03a4af402fdd817decd066c508b18c19ac24b634e7173b37924ac1c2180679a92551884957d4b11ae +DIST orjson-3.10.13.tar.gz 5438389 BLAKE2B 4845c232441ff87e323f661961537e4a9705a7f0191f364c31a62d0784b15c2bd230d6999985b84f2417043451616facd91bad63d84317ac4a12e71687b33713 SHA512 84ee3a42654e5576190dd115483db1e3a9a151b22de79b99b497c2e181adbd5e33a4aa77bb5f72394e0947887e657c5dc6380e852dddb4a5e95b47e72486b18c DIST proc-macro2-1.0.89.crate 49446 BLAKE2B 844c021394e7a2551bc179592a6769d672360150abf92debcb9ac60a94a2e426c48c408f06aeb2128686f5f04d66dc12973714670c21a5063ee6b9f3bae4e671 SHA512 488ab38a04df1d0330309382a7e4f667238cbc9b4d513da6a8f5718f8a762f76cc122af67fefe8f4b021a286b3d23e3ec83d781fe6ac823042a6daf14d147e2f DIST proc-macro2-1.0.92.crate 52353 BLAKE2B 9aa29fa6f1c56c0392a94a81b4c61953f4d185012cdca37e356817845535da79d7094bf43472ce63109ce479a2fd0cbef4d802afd61daf92c4db303bcac60e7e SHA512 e614f08acc0a7e97ef580479cf5b682378df1ca16f09bfb2296ebb3490a435229dea9d682c621c54ce57e8e1d3b7803eb8ff83c88bd02e07228dba6d02f14aee DIST quote-1.0.37.crate 28558 BLAKE2B a7d007a69e619f853af94333e1066bb767013312bd99f147b1b153611242bcfa9c76768b1ba47278589db309a9acd61a772c8ec3b567e48439bb9d831f9326d4 SHA512 c4ed21428c1f89cf22b85d80720a7869831a9c129d694617b0ce8c258278114ab98846f3f653abf736d1c86bc9224bbd695e9a7b06aa3adf292d02e1ef14cc05 diff --git a/dev-python/orjson/orjson-3.10.13.ebuild b/dev-python/orjson/orjson-3.10.13.ebuild new file mode 100644 index 000000000000..1409fb2b7633 --- /dev/null +++ b/dev-python/orjson/orjson-3.10.13.ebuild @@ -0,0 +1,89 @@ +# 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=" + associative-cache@2.0.0 + bytecount@0.6.8 + castaway@0.2.3 + cc@1.2.1 + cfg-if@1.0.0 + compact_str@0.8.0 + crunchy@0.2.2 + encoding_rs@0.8.35 + gimli@0.31.1 + half@2.4.1 + itoa@1.0.13 + itoap@1.0.1 + jiff@0.1.14 + libc@0.2.164 + memchr@2.7.4 + once_cell@1.20.2 + proc-macro2@1.0.92 + quote@1.0.37 + rustversion@1.0.18 + ryu@1.0.18 + serde@1.0.215 + serde_derive@1.0.215 + serde_json@1.0.133 + shlex@1.3.0 + simdutf8@0.1.5 + smallvec@1.13.2 + static_assertions@1.1.0 + syn@2.0.89 + target-lexicon@0.12.16 + unicode-ident@1.0.14 + unwinding@0.2.4 + uuid@1.11.0 + version_check@0.9.5 + xxhash-rust@0.8.12 +" + +RUST_MIN_VER="1.74.1" + +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 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/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 +}