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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BE99D158020 for ; Sat, 17 Dec 2022 12:34:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A2BB2E08F4; Sat, 17 Dec 2022 12:34:57 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8B60DE08F4 for ; Sat, 17 Dec 2022 12:34:57 +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 3DB9B3411C0 for ; Sat, 17 Dec 2022 12:34:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5F1B67DE for ; Sat, 17 Dec 2022 12:34:53 +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: <1671280487.8a36947bb895d4f52181e46a46456c895cdc1364.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-3.0.1.ebuild X-VCS-Directories: dev-python/jsonpickle/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 8a36947bb895d4f52181e46a46456c895cdc1364 X-VCS-Branch: master Date: Sat, 17 Dec 2022 12:34:53 +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: a3cdffd1-00d4-4870-962d-c3bbc98a59b0 X-Archives-Hash: 909ea7425d01c8a454fc5044d6c0ed48 commit: 8a36947bb895d4f52181e46a46456c895cdc1364 Author: Michał Górny gentoo org> AuthorDate: Sat Dec 17 11:20:00 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Dec 17 12:34:47 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a36947b dev-python/jsonpickle: Bump to 3.0.1 Signed-off-by: Michał Górny gentoo.org> dev-python/jsonpickle/Manifest | 1 + dev-python/jsonpickle/jsonpickle-3.0.1.ebuild | 59 +++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/dev-python/jsonpickle/Manifest b/dev-python/jsonpickle/Manifest index 353187458330..5351b9632fd1 100644 --- a/dev-python/jsonpickle/Manifest +++ b/dev-python/jsonpickle/Manifest @@ -1,2 +1,3 @@ DIST jsonpickle-2.2.0.tar.gz 189866 BLAKE2B d8fcd0e8b71947b734c59240d9fa4f0b35b9b0ac2e2940a9baf05c160771db0eae5f011b61e3b1c0bc746a740ac2e137a392931e270fea3acf4884578133283e SHA512 b6cb35316e32f38875cbfa3784a3930f669d4ea730ead6117242070590647987383e9f933c193b8c246c40dba87ad56600a65db89c45c18a790b3c1f9232b245 DIST jsonpickle-3.0.0.tar.gz 192204 BLAKE2B de46fce9b4cee97ededb4e6febff234c499e0a1025d01dc5e90278e35744938ed1d8bc4f0ac0a0ba5e6006c9bea777479f338849c449aa1e6005c3eb5162d721 SHA512 825e70ccbc35554e7a1938307a81c0672c3a43a10d79a2159e6f453a12a98d36ab5839cf56cd1927c37f30a10efdc33d43a26c91dc7791e788537e2dbd449181 +DIST jsonpickle-3.0.1.gh.tar.gz 257651 BLAKE2B 4875985085c8303b316b387968ad46bc35672259f8f6799270bff5dee1b4d341bd92e520155d5c5ff644b289ac21275e95911a38165303c07c4634a93e17ae62 SHA512 3190716491c01de1e5ce16cd8fee3163c20831521503803a5282b43c6653756554fa6184de78755f3232ac6c9bc51baccb91305f9ac9462c8e22fc57fbcc52eb diff --git a/dev-python/jsonpickle/jsonpickle-3.0.1.ebuild b/dev-python/jsonpickle/jsonpickle-3.0.1.ebuild new file mode 100644 index 000000000000..c559f0d9905d --- /dev/null +++ b/dev-python/jsonpickle/jsonpickle-3.0.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +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 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/feedparser[${PYTHON_USEDEP}] + dev-python/gmpy[${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() { + sed -i -e 's:--cov::' pytest.ini || die + distutils-r1_python_prepare_all + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} + +python_test() { + local EPYTEST_IGNORE=( + # unpackaged bson dependency + tests/bson_test.py + ) + epytest +} + +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 +}