1 |
commit: 57f917e729e451584cb18b72e650234f1d096c53 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 24 15:07:20 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 24 15:07:20 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57f917e7 |
7 |
|
8 |
dev-python/socketpool: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/socketpool/socketpool-0.5.3-r2.ebuild | 61 ------------------------ |
13 |
1 file changed, 61 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/socketpool/socketpool-0.5.3-r2.ebuild b/dev-python/socketpool/socketpool-0.5.3-r2.ebuild |
16 |
deleted file mode 100644 |
17 |
index 4d743c76a08..00000000000 |
18 |
--- a/dev-python/socketpool/socketpool-0.5.3-r2.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,61 +0,0 @@ |
21 |
-# Copyright 1999-2020 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=7 |
25 |
- |
26 |
-PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) |
27 |
- |
28 |
-inherit distutils-r1 |
29 |
- |
30 |
-DESCRIPTION="A simple Python socket pool" |
31 |
-HOMEPAGE="https://github.com/benoitc/socketpool/" |
32 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
33 |
- |
34 |
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 s390 ~sparc x86" |
35 |
-IUSE="examples gevent" |
36 |
-LICENSE="|| ( MIT public-domain )" |
37 |
-SLOT="0" |
38 |
- |
39 |
-RDEPEND=" |
40 |
- gevent? ( |
41 |
- $(python_gen_cond_dep ' |
42 |
- dev-python/gevent[${PYTHON_USEDEP}] |
43 |
- ' 'python*') |
44 |
- )" |
45 |
- |
46 |
-BDEPEND=" |
47 |
- test? ( |
48 |
- !ia64? ( |
49 |
- $(python_gen_cond_dep ' |
50 |
- dev-python/gevent[${PYTHON_USEDEP}] |
51 |
- ' 'python*') |
52 |
- ) |
53 |
- )" |
54 |
- |
55 |
-PATCHES=( "${FILESDIR}"/${PN}-0.5.2-locale.patch ) |
56 |
- |
57 |
-distutils_enable_tests pytest |
58 |
- |
59 |
-src_prepare() { |
60 |
- # py3.9 |
61 |
- sed -i -e 's:isAlive:is_alive:' socketpool/backend_thread.py || die |
62 |
- |
63 |
- distutils-r1_src_prepare |
64 |
-} |
65 |
- |
66 |
-python_test() { |
67 |
- cp -r examples tests "${BUILD_DIR}" || die |
68 |
- |
69 |
- pushd "${BUILD_DIR}" >/dev/null || die |
70 |
- pytest -vv tests || die "Tests fail with ${EPYTHON}" |
71 |
- popd >/dev/null || die |
72 |
-} |
73 |
- |
74 |
-python_install_all() { |
75 |
- distutils-r1_python_install_all |
76 |
- |
77 |
- use examples && dodoc -r examples |
78 |
- |
79 |
- # package installs unneeded LICENSE files here |
80 |
- rm -r "${ED}"/usr/socketpool || die |
81 |
-} |