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 A068013835A for ; Wed, 24 Mar 2021 18:39:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E8669E08CE; Wed, 24 Mar 2021 18:39:00 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 CFB8DE08CE for ; Wed, 24 Mar 2021 18:39:00 +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 125F83408B8 for ; Wed, 24 Mar 2021 18:39:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E45F9636 for ; Wed, 24 Mar 2021 18:38:51 +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: <1616611124.7e76bccc3483ca9981b03b533dec8fe0036662c1.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/fakeredis/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/fakeredis/Manifest dev-python/fakeredis/fakeredis-1.5.0.ebuild X-VCS-Directories: dev-python/fakeredis/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7e76bccc3483ca9981b03b533dec8fe0036662c1 X-VCS-Branch: master Date: Wed, 24 Mar 2021 18:38:51 +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: 19b25984-d8e6-420a-b45a-b0a281fe307d X-Archives-Hash: c63f2ba7767405a9428d2883195865ca commit: 7e76bccc3483ca9981b03b533dec8fe0036662c1 Author: Michał Górny gentoo org> AuthorDate: Wed Mar 24 17:28:53 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Mar 24 18:38:44 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e76bccc dev-python/fakeredis: Bump to 1.5.0 Signed-off-by: Michał Górny gentoo.org> dev-python/fakeredis/Manifest | 1 + dev-python/fakeredis/fakeredis-1.5.0.ebuild | 44 +++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-python/fakeredis/Manifest b/dev-python/fakeredis/Manifest index da5d1c5cd15..d7e1c8f036c 100644 --- a/dev-python/fakeredis/Manifest +++ b/dev-python/fakeredis/Manifest @@ -1 +1,2 @@ DIST fakeredis-1.4.5.gh.tar.gz 66197 BLAKE2B f0f36d1e209673f7722849e835c2a33fac9f7e8bfb1294ecf2e69478295f14af514d0fc4a5732a20ce099333b136d682591fef031ce90d6262fa8c9025cbfa2e SHA512 e16ae5c5947a924b0c9c40ae68efebad5cccea9f88d1b5c3f1677e1ccb8c1fa75dbafc9b413c2359b774f3043c387ff91ecd4e2e21204036883175944338d59b +DIST fakeredis-1.5.0.gh.tar.gz 66371 BLAKE2B da9a961b9e163ba8221193c9c353f17bd23a710bd105b4fc6b9249a857828ece0b3551e3890818b0519f96aa9691166658332c25b796b22827f0951d3f50cebf SHA512 5bd4965c36abada4b937b635318d58e88ba76d30ff577b0f9b9134a94a3407a8c0e92d953e6b5299cabfe11ebe5a785e9d75406e8a07a4257674be64f6b8cffb diff --git a/dev-python/fakeredis/fakeredis-1.5.0.ebuild b/dev-python/fakeredis/fakeredis-1.5.0.ebuild new file mode 100644 index 00000000000..7c66ea7651c --- /dev/null +++ b/dev-python/fakeredis/fakeredis-1.5.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{7..9} ) +inherit distutils-r1 + +DESCRIPTION="Fake implementation of redis API for testing purposes" +HOMEPAGE=" + https://github.com/jamesls/fakeredis/ + https://pypi.org/project/fakeredis/" +SRC_URI=" + https://github.com/jamesls/fakeredis/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + dev-python/redis-py[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/sortedcontainers[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local excludes=( + # tests for use with aioredis, not packaged in ::gentoo + --ignore test/test_aioredis.py + # tests requiring lupa (lua support) + -k 'not test_eval and not test_lua and not test_script' + ) + + epytest "${excludes[@]}" +}