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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2DF221382C5 for ; Mon, 8 Feb 2021 08:44:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 52126E089A; Mon, 8 Feb 2021 08:44:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2EAAEE089A for ; Mon, 8 Feb 2021 08:44:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E48CB340CE2 for ; Mon, 8 Feb 2021 08:44:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 495E254 for ; Mon, 8 Feb 2021 08:44:01 +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: <1612773833.0b9e472f2a9f0a98fc6e166b908e015b2527e1f0.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-1.5.2.ebuild X-VCS-Directories: dev-python/jsonpickle/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0b9e472f2a9f0a98fc6e166b908e015b2527e1f0 X-VCS-Branch: master Date: Mon, 8 Feb 2021 08:44:01 +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: 4fcb5146-61c9-4f22-b5f4-4806acf814be X-Archives-Hash: b242388a69c803196656dc3512294c34 commit: 0b9e472f2a9f0a98fc6e166b908e015b2527e1f0 Author: Michał Górny gentoo org> AuthorDate: Mon Feb 8 08:18:38 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Feb 8 08:43:53 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b9e472f dev-python/jsonpickle: Bump to 1.5.2 Signed-off-by: Michał Górny gentoo.org> dev-python/jsonpickle/Manifest | 1 + dev-python/jsonpickle/jsonpickle-1.5.2.ebuild | 49 +++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-python/jsonpickle/Manifest b/dev-python/jsonpickle/Manifest index 72dea35f4f5..7d79f97fbc3 100644 --- a/dev-python/jsonpickle/Manifest +++ b/dev-python/jsonpickle/Manifest @@ -1,3 +1,4 @@ DIST jsonpickle-1.4.2.tar.gz 104745 BLAKE2B af12141c867cd3dbecace5b7bc637b554c51c245d4f584c4d94e73e694b74f66fc59a65a62b7a0af361a7a8010b9398a9b04ee838c4f76c168b21dba6f2c9542 SHA512 a6da661a69daefbc9393a4a4c88aa1da1b8bd687b6eeaed3d833ce1683bd1fa9d7943fdeecfe927e0492945ee2910b6f2d5e53ddb2b928b21f7b099ab79d45e9 DIST jsonpickle-1.5.0.tar.gz 106088 BLAKE2B dcd35979a428180f10611638c831b083d9b8307729a0b19fe89b283c30ecac58477bd6a66e89c31e214dd2f100385d9933dc00d506e1f9bbb4b6ea9c3a0eaed3 SHA512 7828ded98173cb10908a9d60fa6b3f358add360d738cd85a90f012ca24b15c6bbb19c611027bdb0a4d25fe0649978ae59ff08fb7b717ef503a9916152aa6f849 DIST jsonpickle-1.5.1.tar.gz 109560 BLAKE2B 07dd2a469f0bf6fe531d34b5f2d731c6aca863899ce804f44c14b38f93b8c8213b1bf4fc4cc19dc26dcb40d71bfded1115060e54570742afd393bd0d63f12d2d SHA512 ee3694e961bfbb6cc985691fb4821cf831dd6a2cbbdc8c6d1ba8e43fe7a4bba3d4b6868a02f76b88d9b036cebf51b217171504a6647f26b0e2d11727baee62f3 +DIST jsonpickle-1.5.2.tar.gz 110239 BLAKE2B 3d4ee457a3f45dd1a6d1004d3fce66c95057958ec172227a7590631e479bd3a63dafe2ece04f5a0a78b9e283f61d949f5c359e4dd9270e162a3060e1032fc562 SHA512 609effeb5553c7c273aa621a8e86b4e630754eab1a948c505a08c98ff13e7f2622a0eb71374c03b69cf8e07c9a3b06fc9d282efba299a720b342424d642cfc6e diff --git a/dev-python/jsonpickle/jsonpickle-1.5.2.ebuild b/dev-python/jsonpickle/jsonpickle-1.5.2.ebuild new file mode 100644 index 00000000000..cfb3bc40153 --- /dev/null +++ b/dev-python/jsonpickle/jsonpickle-1.5.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +DISTUTILS_USE_SETUPTOOLS=bdepend +inherit distutils-r1 + +DESCRIPTION="Python library for serializing any arbitrary object graph into JSON" +HOMEPAGE="https://github.com/jsonpickle/jsonpickle/ https://pypi.org/project/jsonpickle/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + +# There are optional json backends serializer/deserializers in addition to those selected here +# jsonlib, yajl. +RDEPEND=" + dev-python/feedparser[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + dev-python/ujson[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/importlib_metadata[${PYTHON_USEDEP}] + ' python3_7) +" +# toml via setuptools_scm[toml] +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}]" + +distutils_enable_sphinx "docs/source" +distutils_enable_tests pytest + +python_prepare_all() { + # too many dependencies + rm tests/pandas_test.py || die + # broken with gmpy + rm tests/ecdsa_test.py || die + + sed -i -e 's:--flake8 --black --cov::' pytest.ini || die + + distutils-r1_python_prepare_all +} + +python_test() { + pytest -vv tests || die "Tests failed with ${EPYTHON}" +}