1 |
commit: c5b4ebf9d4260aa7d633805487059f85e2e4e79a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 24 08:31:11 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 24 08:45:32 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5b4ebf9 |
7 |
|
8 |
dev-python/fakeredis: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/fakeredis/Manifest | 1 - |
13 |
dev-python/fakeredis/fakeredis-1.4.4.ebuild | 44 ----------------------------- |
14 |
2 files changed, 45 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/fakeredis/Manifest b/dev-python/fakeredis/Manifest |
17 |
index da15d3e3082..da5d1c5cd15 100644 |
18 |
--- a/dev-python/fakeredis/Manifest |
19 |
+++ b/dev-python/fakeredis/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST fakeredis-1.4.4.gh.tar.gz 65483 BLAKE2B 500346bb96d2c1308d0565a006ca037784ff25670fd313c94df13f0ceb6d90dbec044c71c95bdabbd593823e26b47a8f8f2a2f7f5b3fa9307b9ccea407b2872c SHA512 04b85675b088e698f11edf8727b88544640cac0caa0048f009371a4c9a9ebc17443d8f03c9ead20ca40608f618c4d394cd6ba4c9d1e5e59b058713756856e450 |
22 |
DIST fakeredis-1.4.5.gh.tar.gz 66197 BLAKE2B f0f36d1e209673f7722849e835c2a33fac9f7e8bfb1294ecf2e69478295f14af514d0fc4a5732a20ce099333b136d682591fef031ce90d6262fa8c9025cbfa2e SHA512 e16ae5c5947a924b0c9c40ae68efebad5cccea9f88d1b5c3f1677e1ccb8c1fa75dbafc9b413c2359b774f3043c387ff91ecd4e2e21204036883175944338d59b |
23 |
|
24 |
diff --git a/dev-python/fakeredis/fakeredis-1.4.4.ebuild b/dev-python/fakeredis/fakeredis-1.4.4.ebuild |
25 |
deleted file mode 100644 |
26 |
index 989b57bc2d0..00000000000 |
27 |
--- a/dev-python/fakeredis/fakeredis-1.4.4.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,44 +0,0 @@ |
30 |
-# Copyright 2020 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-PYTHON_COMPAT=( pypy3 python3_{6..9} ) |
36 |
-inherit distutils-r1 |
37 |
- |
38 |
-DESCRIPTION="Fake implementation of redis API for testing purposes" |
39 |
-HOMEPAGE=" |
40 |
- https://github.com/jamesls/fakeredis/ |
41 |
- https://pypi.org/project/fakeredis/" |
42 |
-SRC_URI=" |
43 |
- https://github.com/jamesls/fakeredis/archive/${PV}.tar.gz |
44 |
- -> ${P}.gh.tar.gz" |
45 |
- |
46 |
-LICENSE="BSD" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 x86" |
49 |
- |
50 |
-RDEPEND=" |
51 |
- dev-python/redis-py[${PYTHON_USEDEP}] |
52 |
- dev-python/six[${PYTHON_USEDEP}] |
53 |
- dev-python/sortedcontainers[${PYTHON_USEDEP}] |
54 |
-" |
55 |
-BDEPEND=" |
56 |
- test? ( |
57 |
- dev-python/hypothesis[${PYTHON_USEDEP}] |
58 |
- dev-python/pytest-mock[${PYTHON_USEDEP}] |
59 |
- ) |
60 |
-" |
61 |
- |
62 |
-distutils_enable_tests pytest |
63 |
- |
64 |
-python_test() { |
65 |
- local excludes=( |
66 |
- # tests for use with aioredis, not packaged in ::gentoo |
67 |
- --ignore test/test_aioredis.py |
68 |
- # tests requiring lupa (lua support) |
69 |
- -k 'not test_eval and not test_lua and not test_script' |
70 |
- ) |
71 |
- |
72 |
- pytest -vv "${excludes[@]}" || die "Tests failed with ${EPYTHON}" |
73 |
-} |