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/loky/
Date: Sat, 11 Sep 2021 07:15:55
Message-Id: 1631344542.00f93ddfc5f7119df2cf9b2adabf55e0a8fad743.mgorny@gentoo
1 commit: 00f93ddfc5f7119df2cf9b2adabf55e0a8fad743
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 11 06:57:10 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 11 07:15:42 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00f93ddf
7
8 dev-python/loky: Bump to 3.0.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/loky/Manifest | 1 +
13 dev-python/loky/loky-3.0.0.ebuild | 42 +++++++++++++++++++++++++++++++++++++++
14 2 files changed, 43 insertions(+)
15
16 diff --git a/dev-python/loky/Manifest b/dev-python/loky/Manifest
17 index 45b7ee06140..5a3f027b314 100644
18 --- a/dev-python/loky/Manifest
19 +++ b/dev-python/loky/Manifest
20 @@ -1 +1,2 @@
21 DIST loky-2.9.0.tar.gz 115019 BLAKE2B 2aa2042e32821b67db8b8de12d4b380d22af93d308bb35878271a4859325d6740a3bdab70b464a2c0d0af143903c8af3da81b4b804605cdae88779fefd7971a6 SHA512 d49354b834251f6f05a689ac44464aafa5a7a5b4a8ef84a308ec3bda138e810fc3dc31aa628307984dc69386a210f442d4c202b9499ae3e3864837b47a5b0cd9
22 +DIST loky-3.0.0.tar.gz 152463 BLAKE2B 99f0a1fc85e879626d12402dd4fee4b92345eab9520b1afaf95bbf869d2dc9e429f1f9810554e10d97f0ecbc4add28b1cbaee0477de05aa366faeb335eaef7c8 SHA512 ad171bfac031ab4d6749bde416031e905eb29adb97dab9c3348791c9df78b17e1e3eab8a354954d7c16fb2095ccc03d26cf2153fe53a546007a7a89c6046cb36
23
24 diff --git a/dev-python/loky/loky-3.0.0.ebuild b/dev-python/loky/loky-3.0.0.ebuild
25 new file mode 100644
26 index 00000000000..d1c230c8a53
27 --- /dev/null
28 +++ b/dev-python/loky/loky-3.0.0.ebuild
29 @@ -0,0 +1,42 @@
30 +# Copyright 2020-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} )
36 +inherit distutils-r1
37 +
38 +DESCRIPTION="Robust and reusable Executor for joblib"
39 +HOMEPAGE="https://github.com/joblib/loky"
40 +SRC_URI="
41 + https://github.com/joblib/loky/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="BSD"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
46 +
47 +RDEPEND="
48 + dev-python/cloudpickle[${PYTHON_USEDEP}]
49 + dev-python/psutil[${PYTHON_USEDEP}]"
50 +BDEPEND="
51 + test? (
52 + dev-python/numpy[${PYTHON_USEDEP}]
53 + )"
54 +
55 +distutils_enable_tests pytest
56 +
57 +python_test() {
58 + local args=(
59 + # docker, seriously?
60 + --deselect 'tests/test_loky_module.py::test_cpu_count_cfs_limit'
61 + # hangs, and even pytest-timeout does not help
62 + --deselect 'tests/test_reusable_executor.py::TestExecutorDeadLock::test_deadlock_kill'
63 + # one test that uses a lot of memory, also broken on 32-bit
64 + # platforms
65 + --skip-high-memory
66 + # breaks teardown
67 + -p no:xvfb
68 + )
69 +
70 + epytest "${args[@]}"
71 +}