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 AD24613835C for ; Thu, 4 Mar 2021 08:57:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0931CE088F; Thu, 4 Mar 2021 08:57:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 E5D65E088F for ; Thu, 4 Mar 2021 08:57:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 EB263340F6A for ; Thu, 4 Mar 2021 08:57:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 42619587 for ; Thu, 4 Mar 2021 08:57:30 +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: <1614848241.7afc029cffd589dfb54e8c9639c88b3daff303f2.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tenacity/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/tenacity/Manifest dev-python/tenacity/tenacity-7.0.0.ebuild X-VCS-Directories: dev-python/tenacity/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7afc029cffd589dfb54e8c9639c88b3daff303f2 X-VCS-Branch: master Date: Thu, 4 Mar 2021 08:57:30 +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: 386a471b-9208-43f5-9a09-a354a663c208 X-Archives-Hash: fca86f2dadfc6ba373e945b2880a368b commit: 7afc029cffd589dfb54e8c9639c88b3daff303f2 Author: Michał Górny gentoo org> AuthorDate: Thu Mar 4 07:58:36 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Mar 4 08:57:21 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7afc029c dev-python/tenacity: Bump to 7.0.0 Signed-off-by: Michał Górny gentoo.org> dev-python/tenacity/Manifest | 1 + dev-python/tenacity/tenacity-7.0.0.ebuild | 38 +++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-python/tenacity/Manifest b/dev-python/tenacity/Manifest index d85afce3526..14a5960e2b7 100644 --- a/dev-python/tenacity/Manifest +++ b/dev-python/tenacity/Manifest @@ -1 +1,2 @@ DIST tenacity-6.2.0.tar.gz 35213 BLAKE2B 830953463ef9d7ee9e99fc0c9d3f55910754f4c2c777110ad8af65b0af186b2aada25ec3d9ae80f266ad9200080db1af70b80bb77f1edc51148001ca49e0bd08 SHA512 3753ab44390810458c559d243bdc5e3c0092a0c2af7eb4e6fa43d5e6e215a58d4bf3ff6e81800db2f517796b501fff038964b424e364ac417ddd3e70b57bc6c8 +DIST tenacity-7.0.0.tar.gz 33874 BLAKE2B 485b35058e246ac7c68a2d92a4bd30ae182d382d4258854afb1e61d0b31cd1674bfd92599b83425f4e9a92ca4c38e4a91b72a17d0de6f918474ebe59e6bd2d66 SHA512 a627112df19b9f6d1c53294daad7fe1b0aeaed15e6ec07054228575fbc76ca5c22f560ddd6fc176c5c22141669423547ba17f1e33c7d0e7e92d0188acad065c4 diff --git a/dev-python/tenacity/tenacity-7.0.0.ebuild b/dev-python/tenacity/tenacity-7.0.0.ebuild new file mode 100644 index 00000000000..dcd22bfad3d --- /dev/null +++ b/dev-python/tenacity/tenacity-7.0.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +inherit distutils-r1 + +DESCRIPTION="General-purpose retrying library" +HOMEPAGE="https://github.com/jd/tenacity" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + www-servers/tornado[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local deselect=( + # TODO: package typeguard + tenacity/tests/test_tenacity.py::TestRetryTyping::test_retry_type_annotations + ) + + pytest -vv ${deselect[@]/#/--deselect } || + die "Tests failed with ${EPYTHON}" +}