Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/aioredis/
Date: Sat, 29 Jan 2022 07:23:09
Message-Id: 1643440982.c8b1cf283dab333546c237b10bdfb69c14a0d37e.mgorny@gentoo
1 commit: c8b1cf283dab333546c237b10bdfb69c14a0d37e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 29 07:16:03 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 29 07:23:02 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8b1cf28
7
8 dev-python/aioredis: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/aioredis/Manifest | 1 -
13 dev-python/aioredis/aioredis-2.0.0.ebuild | 56 -------------------------------
14 2 files changed, 57 deletions(-)
15
16 diff --git a/dev-python/aioredis/Manifest b/dev-python/aioredis/Manifest
17 index 4c3b3911a2f2..6acec3710225 100644
18 --- a/dev-python/aioredis/Manifest
19 +++ b/dev-python/aioredis/Manifest
20 @@ -1,2 +1 @@
21 -DIST aioredis-2.0.0.tar.gz 110808 BLAKE2B c10b7d9ba9a6878d3a28f9cada836acbceb7d62525cfc65a52fc3a15edebf5b736ad81f249477e30d1f920473067f27048530f7fd4d0a45cb5391976eb6e4c3e SHA512 edc738215bdb1459af8657f06b8194cdfbb6814f4d40b723e11a1fdec5607b73033eca0bffac758afa2cca9532de910a508c9fb27c5885952426266a14c21eee
22 DIST aioredis-2.0.1.tar.gz 111047 BLAKE2B 56f520110bee1a5ef2c19171b6c4c5d6cd4ac440892d36edc4ebf274e7b4ac184fd9e090ad79922f609de4b1dc403a1caa38b271cb1f938357ab9f01ea3f8bfc SHA512 9c2c3fe3e4e4a91e9ca727f8ad78c7c4e6ce1109e4a3043d9ddb929606b6879b1522f3845a3b18d8586ed557a4ab0f6288f27f2b6b0e307343e113f9b9b5fd76
23
24 diff --git a/dev-python/aioredis/aioredis-2.0.0.ebuild b/dev-python/aioredis/aioredis-2.0.0.ebuild
25 deleted file mode 100644
26 index 51ce8e9f4ed5..000000000000
27 --- a/dev-python/aioredis/aioredis-2.0.0.ebuild
28 +++ /dev/null
29 @@ -1,56 +0,0 @@
30 -# Copyright 2021 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=8
34 -
35 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
36 -inherit distutils-r1 optfeature
37 -
38 -DESCRIPTION="asyncio Redis client library"
39 -HOMEPAGE="https://pypi.org/project/aioredis/ https://github.com/aio-libs/aioredis-py"
40 -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
41 -
42 -LICENSE="MIT"
43 -SLOT="0"
44 -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~sparc x86"
45 -
46 -RDEPEND="
47 - dev-python/async_timeout[${PYTHON_USEDEP}]
48 - dev-python/typing-extensions[${PYTHON_USEDEP}]
49 -"
50 -BDEPEND="
51 - test? (
52 - dev-db/redis
53 - dev-python/hiredis[${PYTHON_USEDEP}]
54 - dev-python/mock[${PYTHON_USEDEP}]
55 - dev-python/pytest-asyncio[${PYTHON_USEDEP}]
56 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
57 - )
58 -"
59 -
60 -distutils_enable_tests pytest
61 -
62 -src_test() {
63 - local redis_pid="${T}"/redis.pid
64 - local redis_port=6379
65 - local redis_test_config="
66 - daemonize yes
67 - pidfile ${redis_pid}
68 - port ${redis_port}
69 - bind 127.0.0.1
70 - "
71 -
72 - elog "Spawning Redis"
73 - elog "NOTE: Port ${redis_port} must be free"
74 - "${EPREFIX}"/usr/sbin/redis-server - <<< "${redis_test_config}" || die
75 -
76 - # Run the tests
77 - distutils-r1_src_test
78 -
79 - # Clean up afterwards
80 - kill "$(<"${redis_pid}")" || die
81 -}
82 -
83 -pkg_postinst() {
84 - optfeature "hiredis parser" dev-python/hiredis
85 -}