From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 46E841581EE for ; Sun, 30 Mar 2025 02:38:05 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 3435C343147 for ; Sun, 30 Mar 2025 02:38:05 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 467001104B7; Sun, 30 Mar 2025 02:37:53 +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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 384DE1104B8 for ; Sun, 30 Mar 2025 02:37:53 +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 E20F8343146 for ; Sun, 30 Mar 2025 02:37:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1FD2728A8 for ; Sun, 30 Mar 2025 02:37:50 +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: <1743302262.4ffb30db39f10892c74aaa26019dd883c40b6593.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jsonpickle/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/jsonpickle/Manifest dev-python/jsonpickle/jsonpickle-4.0.5.ebuild X-VCS-Directories: dev-python/jsonpickle/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 4ffb30db39f10892c74aaa26019dd883c40b6593 X-VCS-Branch: master Date: Sun, 30 Mar 2025 02:37:50 +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: 508df2a7-e807-4074-ab02-43e6bf7a00a9 X-Archives-Hash: a2033c298af58864737fb3ef2659b306 commit: 4ffb30db39f10892c74aaa26019dd883c40b6593 Author: Michał Górny gentoo org> AuthorDate: Sun Mar 30 02:16:30 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Mar 30 02:37:42 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ffb30db dev-python/jsonpickle: Bump to 4.0.5 Signed-off-by: Michał Górny gentoo.org> dev-python/jsonpickle/Manifest | 1 + dev-python/jsonpickle/jsonpickle-4.0.5.ebuild | 67 +++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/dev-python/jsonpickle/Manifest b/dev-python/jsonpickle/Manifest index d0acc3f4b502..21482ce567e7 100644 --- a/dev-python/jsonpickle/Manifest +++ b/dev-python/jsonpickle/Manifest @@ -1,2 +1,3 @@ DIST jsonpickle-4.0.2.gh.tar.gz 308419 BLAKE2B 139b6ee1ecc50ea97cb80833f7ff018035dde4ff1d090be0f6b57b4352540c14f0d8a6038a5b00897b5d4c64d5bdd3ac577437393c16fceb0616ae75880c5929 SHA512 177c01e517c026d1c710f2754a1ba7a1bcd95de7a2b3c9d9c823c9743a096549fa3b3d3a1576e740b7dedced51eb178af6abfe1e380c511355ee4072e60a75cb DIST jsonpickle-4.0.3.gh.tar.gz 308664 BLAKE2B 8fc695475d79c398e89673d1ca268ce6ad42858f8d4b31bcde619bc2c8e2f80ed8d92867cb7f96a06a127a4e4a7fdd5429c989b1cacd7d035a04e94549be05b2 SHA512 9892cfcc0014c09d3dea670f98dc765f49f4903349e578bf278dff7e27b109529ebd650af6873330e9467e13bfb0e325fee73b27c9cbc4b84d5ca81f81406a4a +DIST jsonpickle-4.0.5.gh.tar.gz 308783 BLAKE2B 5f8a299afe9bc745882d46b36444f6f96bbef097fd78b79de1f9ecaf4cdc64811ddbf948f273eb456ed669f694204c7521140547be14f527dbcff038f4c4ad64 SHA512 ff4d252991cddb58e5c23b18ca23a24d77ea98af436eac5780df7c8c32d3083ef8291ce3688145b4aa2adcd0d19df869492761147cf32a9ff8fffd31ed5c98a8 diff --git a/dev-python/jsonpickle/jsonpickle-4.0.5.ebuild b/dev-python/jsonpickle/jsonpickle-4.0.5.ebuild new file mode 100644 index 000000000000..904a46bb3345 --- /dev/null +++ b/dev-python/jsonpickle/jsonpickle-4.0.5.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Python library for serializing any arbitrary object graph into JSON" +HOMEPAGE=" + https://github.com/jsonpickle/jsonpickle/ + https://pypi.org/project/jsonpickle/ +" +SRC_URI=" + https://github.com/jsonpickle/jsonpickle/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/feedparser[${PYTHON_USEDEP}] + dev-python/gmpy2[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/ujson[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} + +python_test() { + local EPYTEST_IGNORE=( + # unpackaged bson dependency + tests/bson_test.py + ) + + if ! has_version "dev-python/gmpy2[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( jsonpickle/ext/gmpy.py ) + fi + if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( jsonpickle/ext/pandas.py ) + fi + + epytest tests +} + +pkg_postinst() { + # Unpackaged optional backends: yajl, demjson + optfeature "encoding numpy-based data" dev-python/numpy + optfeature "encoding pandas objects" dev-python/pandas + optfeature "fast JSON backend" dev-python/simplejson +}