1 |
commit: 1576e1e7f8779c3d0211eefb554683f7144e0d37 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 2 13:53:57 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 2 13:53:57 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1576e1e7 |
7 |
|
8 |
dev-python/hiredis: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/hiredis/hiredis-2.0.0-r1.ebuild | 32 ------------------------------ |
13 |
1 file changed, 32 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/hiredis/hiredis-2.0.0-r1.ebuild b/dev-python/hiredis/hiredis-2.0.0-r1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 02466dc119cc..000000000000 |
18 |
--- a/dev-python/hiredis/hiredis-2.0.0-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,32 +0,0 @@ |
21 |
-# Copyright 1999-2021 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=7 |
25 |
- |
26 |
-PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
27 |
-inherit distutils-r1 |
28 |
- |
29 |
-DESCRIPTION="Python extension that wraps hiredis" |
30 |
-HOMEPAGE="https://github.com/redis/hiredis-py/" |
31 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
32 |
- |
33 |
-LICENSE="BSD" |
34 |
-SLOT="0" |
35 |
-KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~sparc x86" |
36 |
-IUSE="system-libs" |
37 |
- |
38 |
-DEPEND="system-libs? ( >=dev-libs/hiredis-1.0.0:= )" |
39 |
-RDEPEND="${DEPEND}" |
40 |
- |
41 |
-src_prepare() { |
42 |
- use system-libs && PATCHES+=( |
43 |
- "${FILESDIR}"/${P}-system-libs.patch |
44 |
- ) |
45 |
- sed -i -e 's:description-file:description_file:' setup.cfg || die |
46 |
- default |
47 |
-} |
48 |
- |
49 |
-python_test() { |
50 |
- cd test || die |
51 |
- "${EPYTHON}" -m unittest -v reader.ReaderTest || die "tests failed" |
52 |
-} |