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 51A4D1581F0 for ; Sun, 19 Jan 2025 03:27:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E080E08F2; Sun, 19 Jan 2025 03:27:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 62A52E08F2 for ; Sun, 19 Jan 2025 03:27:20 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 54B6833D9AD for ; Sun, 19 Jan 2025 03:27:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4253E252F for ; Sun, 19 Jan 2025 03:27:16 +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: <1737257232.dcc5213955fa7ce1b978166159e69fb622f9012a.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.15.ebuild X-VCS-Directories: dev-python/orjson/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: dcc5213955fa7ce1b978166159e69fb622f9012a X-VCS-Branch: master Date: Sun, 19 Jan 2025 03:27:16 +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: a493d94c-816f-427d-bca0-d18f138d90f7 X-Archives-Hash: e96ef2ca32aee4e9c25749a26030f853 commit: dcc5213955fa7ce1b978166159e69fb622f9012a Author: Michał Górny gentoo org> AuthorDate: Sun Jan 19 03:13:46 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jan 19 03:27:12 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcc52139 dev-python/orjson: Bump to 3.10.15 Signed-off-by: Michał Górny gentoo.org> dev-python/orjson/Manifest | 1 + dev-python/orjson/orjson-3.10.15.ebuild | 91 +++++++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+) diff --git a/dev-python/orjson/Manifest b/dev-python/orjson/Manifest index ad47fa4e54c2..fec3618e9654 100644 --- a/dev-python/orjson/Manifest +++ b/dev-python/orjson/Manifest @@ -27,6 +27,7 @@ DIST orjson-3.10.11.tar.gz 5444879 BLAKE2B bfa24e6f07fdc952dc9f80a28449fa9121c96 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 orjson-3.10.14.tar.gz 5282116 BLAKE2B 01c7e3c024e96924bd630556445d0355c43dfaf20241a850c0cf92696dde07b856e54707642d67ea91e457fac7ff7a8ea801f32ce3f869bdccda57c9d75a16f5 SHA512 d186e95ac6750af9f2688744fe663e63973e06942fcbfc10deadc1d63a5ad59f437ea4e2485d1866bde6abcd59086fa5c1a0794d3ba975e693995d3ca58f0f76 +DIST orjson-3.10.15.tar.gz 5282482 BLAKE2B 12ec9b9f5928ac3e9c62362bf7237edc3b68a1559912f7d75f54dcb8d415192c68e5f10d700cf647e9a8e1d7b32b8433fefdd4913c51080ed308b9a96aa5182e SHA512 e20fc9313e494719a1c2ebaeb0fedc45b5c58005dfb868f915b545995b8ca4e705f6bdc691f5df0d8705f393eee439576f82de89c35c0f3c1932a51eca3ef9b3 DIST portable-atomic-1.10.0.crate 174760 BLAKE2B 9a05d6162c95f5140709cbd005c1997449fb6373700e8ed3966e3379898e95f3cbdb90b387f1c7deb3f1eb33125378852a7168d0d22b433813f6c082112b0365 SHA512 fb47ab53fe240d5b0824dd068c6dda473d3e71ae6f5dfccaa17262a8b6de0e1dde05d83975e53bbfcf43f10ef5c634fc024f94613937927ae93f1adad1dadb19 DIST portable-atomic-util-0.2.4.crate 47043 BLAKE2B 6a8e122bb2b9eb8262e9eb790f336dbb602f6c086f8ac025740c043170360d5474af578b3842b06ec51535535de3f4d1b6753ec54a6871dd0396f5c1012b0bd4 SHA512 f2266e78576181123aaf68e7b5d3523a368fa8136d447bac68a08d65c7051dea677cea84491a1a03b9decb4704b2f9392574d68dda9427092a2ac92cfa0affe8 DIST proc-macro2-1.0.89.crate 49446 BLAKE2B 844c021394e7a2551bc179592a6769d672360150abf92debcb9ac60a94a2e426c48c408f06aeb2128686f5f04d66dc12973714670c21a5063ee6b9f3bae4e671 SHA512 488ab38a04df1d0330309382a7e4f667238cbc9b4d513da6a8f5718f8a762f76cc122af67fefe8f4b021a286b3d23e3ec83d781fe6ac823042a6daf14d147e2f diff --git a/dev-python/orjson/orjson-3.10.15.ebuild b/dev-python/orjson/orjson-3.10.15.ebuild new file mode 100644 index 000000000000..93308955056e --- /dev/null +++ b/dev-python/orjson/orjson-3.10.15.ebuild @@ -0,0 +1,91 @@ +# 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 +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.1 + crunchy@0.2.2 + encoding_rs@0.8.35 + gimli@0.31.1 + half@2.4.1 + itoa@1.0.14 + itoap@1.0.1 + jiff@0.1.21 + libc@0.2.169 + memchr@2.7.4 + once_cell@1.20.2 + portable-atomic-util@0.2.4 + portable-atomic@1.10.0 + proc-macro2@1.0.92 + quote@1.0.38 + rustversion@1.0.19 + ryu@1.0.18 + serde@1.0.217 + serde_derive@1.0.217 + serde_json@1.0.135 + shlex@1.3.0 + simdutf8@0.1.5 + smallvec@1.13.2 + static_assertions@1.1.0 + syn@2.0.95 + target-lexicon@0.13.1 + unicode-ident@1.0.14 + unwinding@0.2.5 + uuid@1.11.0 + version_check@0.9.5 + xxhash-rust@0.8.15 +" + +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 +}