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 B5B6A158086 for ; Fri, 3 Dec 2021 08:31:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C4105E07C5; Fri, 3 Dec 2021 08:31:57 +0000 (UTC) Received: from smtp.gentoo.org (dev.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EFADBE07C5 for ; Fri, 3 Dec 2021 08:31:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ADD683430D6 for ; Fri, 3 Dec 2021 08:31:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2118C8E for ; Fri, 3 Dec 2021 08:31:54 +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: <1638520311.a0f4f3a6f3b82448f6ec023d086b79c5c4bee0e3.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.1.ebuild dev-python/fakeredis/fakeredis-1.6.0.ebuild X-VCS-Directories: dev-python/fakeredis/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: a0f4f3a6f3b82448f6ec023d086b79c5c4bee0e3 X-VCS-Branch: master Date: Fri, 3 Dec 2021 08:31:54 +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: a6c70140-251e-4fbe-9ea1-9f8f2e641554 X-Archives-Hash: 405b6ae957f5b14a1f0d6974d1da0025 commit: a0f4f3a6f3b82448f6ec023d086b79c5c4bee0e3 Author: Michał Górny gentoo org> AuthorDate: Fri Dec 3 07:44:02 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Dec 3 08:31:51 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0f4f3a6 dev-python/fakeredis: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/fakeredis/Manifest | 2 - dev-python/fakeredis/fakeredis-1.5.1.ebuild | 44 ----------------- dev-python/fakeredis/fakeredis-1.6.0.ebuild | 77 ----------------------------- 3 files changed, 123 deletions(-) diff --git a/dev-python/fakeredis/Manifest b/dev-python/fakeredis/Manifest index 5fc0952a2280..8e906a712b54 100644 --- a/dev-python/fakeredis/Manifest +++ b/dev-python/fakeredis/Manifest @@ -1,4 +1,2 @@ -DIST fakeredis-1.5.1.gh.tar.gz 67064 BLAKE2B 6eac029b7de6fb2c9b56a60655b6a224cdcba25fa86662a0423044ab97248984c4c6cfbaacbe4bbb2e3fc6826693791f232c6c55d7f15995d0e5bd00370a9ba8 SHA512 74a238573f9f911e9a39885b52d8c908d51d5620e346b8927c161111ce193566c315999f71d3edb1cb1326970985fd73d533b5483afe0c98ad76798a3c15e242 -DIST fakeredis-1.6.0.gh.tar.gz 70034 BLAKE2B 3e9526bf8a7bdafe2b471f0a9d488f0d654e93666863513444521eefd0ca31dbba7e589431b5dee64b27dbf9c2bcc05c1517f659942aa4491cae42b1d11f45b9 SHA512 7a3aefc161b2396e748b284152e088fc31a49a859259888cf8dcfd3a72045e84079977b0e8f11b571ab00d6c00fcf82dc28a1a50fa75633cf17215553bbd019b DIST fakeredis-1.6.1.gh.tar.gz 70171 BLAKE2B f10ac8aaec73871153ac7557a40984e6752b7e3720c1890380bda4aad828003403b6207c5e4f4ace18814e6ad33355acca08ff53cc33cb43acb5d9955ea6e5fc SHA512 1a8718d277d15a887901ed29691af83a2aea57605edf8cf2dbdc00c397a62ea8c1ed21440adadcda431a8ae8f33c85b549c5458a958b1fb74996e54ab612cd13 DIST fakeredis-1.7.0.gh.tar.gz 71108 BLAKE2B 64b4c8aa2891ac6afd7789e5a8dce4d1a0ccd6a5083b410fd051d871d4ea9748e9d687eb27bbaeea646747f4bf170089d3ef711d6db0d6a88d8b7e755d165b6d SHA512 a8c67929e63196fea45b85097aaf6bf7402679510e471a8d13bdc0f7320e983107416d3e515fa85b1d6a6217fb82dbda7b4425c3c80ac54a1ac50eee875b0fbd diff --git a/dev-python/fakeredis/fakeredis-1.5.1.ebuild b/dev-python/fakeredis/fakeredis-1.5.1.ebuild deleted file mode 100644 index 2877b6f0adad..000000000000 --- a/dev-python/fakeredis/fakeredis-1.5.1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# 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[@]}" -} diff --git a/dev-python/fakeredis/fakeredis-1.6.0.ebuild b/dev-python/fakeredis/fakeredis-1.6.0.ebuild deleted file mode 100644 index 7540d1c5fdec..000000000000 --- a/dev-python/fakeredis/fakeredis-1.6.0.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 2020-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( pypy3 python3_{8..10} ) -inherit distutils-r1 optfeature - -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-db/redis - dev-python/aioredis[${PYTHON_USEDEP}] - dev-python/async_generator[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - test/test_aioredis2.py::test_blocking_unblock - test/test_aioredis2.py::test_pubsub - "test/test_aioredis2.py::test_repr[fake]" - test/test_hypothesis.py::TestJoint::test - test/test_hypothesis.py::TestFuzz::test -) - -python_test() { - local args=( - # tests requiring lupa (lua support) - -k 'not test_eval and not test_lua and not test_script' - ) - epytest "${args[@]}" -} - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - local redis_test_config=" - daemonize yes - pidfile ${redis_pid} - port ${redis_port} - bind 127.0.0.1 - " - - elog "Spawning Redis" - elog "NOTE: Port ${redis_port} must be free" - "${EPREFIX}"/usr/sbin/redis-server - <<< "${redis_test_config}" || die - - # Run the tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${redis_pid}")" || die -} - -pkg_postinst() { - optfeature "Mock aioredis" dev-python/aioredis -}