Gentoo Archives: gentoo-commits

From: Piotr Karbowski <slashbeast@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ipyparallel/
Date: Sun, 03 Apr 2022 15:51:43
Message-Id: 1649001063.2f90ebeba3752ba19c742a25836053f49cee4fc6.slashbeast@gentoo
1 commit: 2f90ebeba3752ba19c742a25836053f49cee4fc6
2 Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 3 15:51:03 2022 +0000
4 Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 3 15:51:03 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f90ebeb
7
8 dev-python/ipyparallel: 8.2.1 version bump
9
10 Closes: https://bugs.gentoo.org/836692
11 Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>
12
13 dev-python/ipyparallel/Manifest | 1 +
14 dev-python/ipyparallel/ipyparallel-8.2.1.ebuild | 93 +++++++++++++++++++++++++
15 2 files changed, 94 insertions(+)
16
17 diff --git a/dev-python/ipyparallel/Manifest b/dev-python/ipyparallel/Manifest
18 index 391be9dda1ed..140372be20b3 100644
19 --- a/dev-python/ipyparallel/Manifest
20 +++ b/dev-python/ipyparallel/Manifest
21 @@ -2,3 +2,4 @@ DIST ipyparallel-6.3.0.tar.gz 2380153 BLAKE2B b8312102e1d2b5fc963491ebe8530e2fd7
22 DIST ipyparallel-7.1.0.tar.gz 4029033 BLAKE2B badf4bdad0dca0898e62abee3e5a48b06460160bd1f2ae096bc05beb00dbd6dc2b52681aa699d69a76f5a51e4cd3f0bb107fa6b1d20109e76bc78da8f08b69f9 SHA512 9a629bd92176dbace1724efe0a5a698b2d684128567513f8809fd25e4901227d1c7fc7b02427fd3c14b3743b47956ff8387098a1cc8759d8987aa5e3d8ca60d5
23 DIST ipyparallel-8.1.0.tar.gz 9365732 BLAKE2B 847931de17f61b537a6350358a1fcc8e629b843e1216fcc0f60333f7baf42b0739f864bd1a02daefb839b90cfb4c65b6101de3271e89d529dd8493513b686ced SHA512 21e1d3d9e04c7567889e923ff0f1b140251518efd331dd2180a42142eedbb4c92eaeafce17bf2287e1d36ef4e5951f2f50021d9b9a96c266e4e94e1a3ac34347
24 DIST ipyparallel-8.2.0.tar.gz 9367069 BLAKE2B e4e881f774422ead72778d40d85e5732d7da8e8e66107c06d65557c6701c94bd5c2592cea2def8b2ad405db78fe70c87944e4b89eb9fe3a4bcf38464b008979a SHA512 f6e62eaa86fa63ef1417e850de3eaf5ba228a1ad1da99c66b64b371010b57ba805201f18c97485ded24899afe7b22edbec23ca0e21344e9c2c2eacfcd6fd8adf
25 +DIST ipyparallel-8.2.1.tar.gz 9367709 BLAKE2B 5be16c1060a31295e6b1908cfa3530d7ade6337de78ee057f595ab94ed5dc6c4c49b08f39ded0e8b6aa11ee7eda788f27b2f57bad851908f805d681e0b98efc3 SHA512 d06d1e272e27c0941f0fd6799cc78bbaf188ba1fb22f03016925ffbbf6b3e273eb8c372d7c0509b2f044ccfbfe3f35071547712e79a26a802e673340021921ac
26
27 diff --git a/dev-python/ipyparallel/ipyparallel-8.2.1.ebuild b/dev-python/ipyparallel/ipyparallel-8.2.1.ebuild
28 new file mode 100644
29 index 000000000000..14ba1f0ef224
30 --- /dev/null
31 +++ b/dev-python/ipyparallel/ipyparallel-8.2.1.ebuild
32 @@ -0,0 +1,93 @@
33 +# Copyright 1999-2022 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +DISTUTILS_USE_PEP517=setuptools
39 +PYTHON_COMPAT=( python3_{8..10} )
40 +PYTHON_REQ_USE="threads(+)"
41 +
42 +inherit distutils-r1 optfeature
43 +
44 +DESCRIPTION="Interactive Parallel Computing with IPython"
45 +HOMEPAGE="https://ipyparallel.readthedocs.io/"
46 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
47 +
48 +LICENSE="BSD"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
51 +
52 +RDEPEND="
53 + dev-python/entrypoints[${PYTHON_USEDEP}]
54 + dev-python/decorator[${PYTHON_USEDEP}]
55 + >=dev-python/pyzmq-18[${PYTHON_USEDEP}]
56 + >=dev-python/traitlets-4.3[${PYTHON_USEDEP}]
57 + >=dev-python/ipython-4[${PYTHON_USEDEP}]
58 + dev-python/jupyter_client[${PYTHON_USEDEP}]
59 + dev-python/jupyter_server[${PYTHON_USEDEP}]
60 + >=dev-python/ipykernel-4.4[${PYTHON_USEDEP}]
61 + dev-python/psutil[${PYTHON_USEDEP}]
62 + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
63 + dev-python/tqdm[${PYTHON_USEDEP}]
64 + >=www-servers/tornado-5.1[${PYTHON_USEDEP}]
65 + "
66 +BDEPEND="${RDEPEND}
67 + test? (
68 + dev-python/ipython[test]
69 + dev-python/mock[${PYTHON_USEDEP}]
70 + dev-python/pytest-asyncio[${PYTHON_USEDEP}]
71 + dev-python/pytest-tornado[${PYTHON_USEDEP}]
72 + dev-python/testpath[${PYTHON_USEDEP}]
73 + )
74 + "
75 +
76 +# TODO: package myst_parser
77 +# distutils_enable_sphinx docs/source
78 +distutils_enable_tests pytest
79 +
80 +PATCHES=(
81 + "${FILESDIR}"/${PN}-7.1.0-test-timeouts.patch
82 +)
83 +
84 +src_configure() {
85 + export IPP_DISABLE_JS=1
86 +}
87 +
88 +python_test() {
89 + local EPYTEST_DESELECT=(
90 + # we don't run a mongo instance for tests
91 + ipyparallel/tests/test_mongodb.py::TestMongoBackend
92 + # TODO
93 + ipyparallel/tests/test_util.py::test_disambiguate_ip
94 + ipyparallel/tests/test_view.py::TestView::test_temp_flags
95 + ipyparallel/tests/test_view.py::TestView::test_unicode_apply_arg
96 + ipyparallel/tests/test_view.py::TestView::test_unicode_apply_result
97 + ipyparallel/tests/test_view.py::TestView::test_unicode_execute
98 + ipyparallel/tests/test_view.py::TestView::test_sync_imports_quiet
99 + # Gets upset that a timeout _doesn't_ occur, presumably because
100 + # we're cranking up too many test timeouts. Oh well.
101 + # bug #823458#c3
102 + ipyparallel/tests/test_asyncresult.py::AsyncResultTest::test_wait_for_send
103 + # We could patch the timeout for these too but they're going to be inherently
104 + # fragile anyway based on what they do.
105 + ipyparallel/tests/test_client.py::TestClient::test_activate
106 + ipyparallel/tests/test_client.py::TestClient::test_lazy_all_targets
107 + ipyparallel/tests/test_client.py::TestClient::test_wait_for_engines
108 + )
109 + [[ ${EPYTHON} == python3.10 ]] && EPYTEST_DESELECT+=(
110 + # failing due to irrelevant warnings
111 + ipyparallel/tests/test_client.py::TestClient::test_local_ip_true_doesnt_trigger_warning
112 + ipyparallel/tests/test_client.py::TestClient::test_warning_on_hostname_match
113 + )
114 + epytest
115 +}
116 +
117 +python_install_all() {
118 + distutils-r1_python_install_all
119 + # move /usr/etc stuff to /etc
120 + mv "${ED}/usr/etc" "${ED}/etc" || die
121 +}
122 +
123 +pkg_postinst() {
124 + optfeature "Jupyter Notebook integration" dev-python/notebook
125 +}