1 |
commit: a04503b7bb829bb667e020f95cf00f57acf3e0cb |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 26 12:40:51 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 26 13:34:24 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a04503b7 |
7 |
|
8 |
dev-python/distributed: Drop py3.4 due to deps, cleanup |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
.../distributed/distributed-1.18.0-r1.ebuild | 50 ++++++++++++++++++++++ |
13 |
1 file changed, 50 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/distributed/distributed-1.18.0-r1.ebuild b/dev-python/distributed/distributed-1.18.0-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..1001c57f989 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/distributed/distributed-1.18.0-r1.ebuild |
20 |
@@ -0,0 +1,50 @@ |
21 |
+# Copyright 1999-2018 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+ |
26 |
+PYTHON_COMPAT=( python2_7 python3_{5,6} ) |
27 |
+ |
28 |
+inherit distutils-r1 |
29 |
+ |
30 |
+DESCRIPTION="Python library for distributed computation" |
31 |
+HOMEPAGE="http://distributed.readthedocs.io/" |
32 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
33 |
+ |
34 |
+LICENSE="BSD" |
35 |
+SLOT="0" |
36 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
37 |
+IUSE="test" |
38 |
+ |
39 |
+RDEPEND=" |
40 |
+ dev-python/click[${PYTHON_USEDEP}] |
41 |
+ >=dev-python/cloudpickle-0.2.2[${PYTHON_USEDEP}] |
42 |
+ >=dev-python/dask-0.14.1[${PYTHON_USEDEP}] |
43 |
+ >=dev-python/joblib-0.10.2[${PYTHON_USEDEP}] |
44 |
+ dev-python/msgpack[${PYTHON_USEDEP}] |
45 |
+ >=dev-python/partd-0.3.7[${PYTHON_USEDEP}] |
46 |
+ dev-python/psutil[${PYTHON_USEDEP}] |
47 |
+ dev-python/six[${PYTHON_USEDEP}] |
48 |
+ dev-python/sortedcollections[${PYTHON_USEDEP}] |
49 |
+ dev-python/tblib[${PYTHON_USEDEP}] |
50 |
+ >=dev-python/toolz-0.7.4[${PYTHON_USEDEP}] |
51 |
+ dev-python/zict[${PYTHON_USEDEP}] |
52 |
+ www-servers/tornado[${PYTHON_USEDEP}] |
53 |
+ virtual/python-futures[${PYTHON_USEDEP}] |
54 |
+" |
55 |
+DEPEND=" |
56 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
57 |
+ test? ( |
58 |
+ ${RDEPEND} |
59 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
60 |
+ ) |
61 |
+" |
62 |
+ |
63 |
+python_test() { |
64 |
+ cd "${BUILD_DIR}"/lib || die |
65 |
+ py.test -vv -m "not avoid_travis" distributed \ |
66 |
+ -r s \ |
67 |
+ --timeout-method=thread \ |
68 |
+ --timeout=300 \ |
69 |
+ --durations=20 || die |
70 |
+} |