commit:     f4c4e66391ec11adc48bdb6ba066efc803cde44a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  4 13:45:50 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar  4 14:52:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4c4e663

dev-python/ipyparallel: Bump to 8.7.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/ipyparallel/Manifest                 |  1 +
 dev-python/ipyparallel/ipyparallel-8.7.0.ebuild | 88 +++++++++++++++++++++++++
 2 files changed, 89 insertions(+)

diff --git a/dev-python/ipyparallel/Manifest b/dev-python/ipyparallel/Manifest
index 8902b2bc34fe..a84e0cf0a5f8 100644
--- a/dev-python/ipyparallel/Manifest
+++ b/dev-python/ipyparallel/Manifest
@@ -1 +1,2 @@
 DIST ipyparallel-8.6.1.tar.gz 6807935 BLAKE2B 
23847974e9d5d1d06a64a6b01c845f539848c602b6ba6a22c64d8e0bd35a783ec3a09fc6618ae08490d35e49d497c1db61176f8c70065c4e61ec234a7fd00545
 SHA512 
e83447f9d52eed87e8513d2ee74d2d6b589a5c04b5bf6dfece6d87565dd9c5e46abd280eb5ab64266b2e759dec1007ab007d0b8232b6239768190bd6900f53ff
+DIST ipyparallel-8.7.0.tar.gz 6798726 BLAKE2B 
2f948ab19883e9364cab82227ad9918010f144ccf8d9899c54e4a3a9df99bd42faf6001ba837e6c7bfb25738c6ad25f766396b76ba7fa5097d84f385d69dbc68
 SHA512 
96b9a3c1435dcb609c81856e5fc2763265a14610483e9d6c1a0b1fe5f7d6981d42d8f0d7b0c245cdf1fec10d4a832854dc745ca02ce90623734216dc858bb322

diff --git a/dev-python/ipyparallel/ipyparallel-8.7.0.ebuild 
b/dev-python/ipyparallel/ipyparallel-8.7.0.ebuild
new file mode 100644
index 000000000000..d1401a29b6da
--- /dev/null
+++ b/dev-python/ipyparallel/ipyparallel-8.7.0.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1 optfeature pypi
+
+DESCRIPTION="Interactive Parallel Computing with IPython"
+HOMEPAGE="
+       https://ipyparallel.readthedocs.io/
+       https://github.com/ipython/ipyparallel/
+       https://pypi.org/project/ipyparallel/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+       dev-python/entrypoints[${PYTHON_USEDEP}]
+       dev-python/decorator[${PYTHON_USEDEP}]
+       >=dev-python/pyzmq-18[${PYTHON_USEDEP}]
+       >=dev-python/traitlets-4.3[${PYTHON_USEDEP}]
+       >=dev-python/ipython-4[${PYTHON_USEDEP}]
+       dev-python/jupyter-client[${PYTHON_USEDEP}]
+       dev-python/jupyter-server[${PYTHON_USEDEP}]
+       >=dev-python/ipykernel-4.4[${PYTHON_USEDEP}]
+       dev-python/psutil[${PYTHON_USEDEP}]
+       >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
+       dev-python/tqdm[${PYTHON_USEDEP}]
+       >=dev-python/tornado-5.1[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       dev-python/flit-core[${PYTHON_USEDEP}]
+       test? (
+               dev-python/ipython[test]
+               dev-python/mock[${PYTHON_USEDEP}]
+               <dev-python/pytest-8[${PYTHON_USEDEP}]
+               dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+               dev-python/pytest-tornado[${PYTHON_USEDEP}]
+               dev-python/testpath[${PYTHON_USEDEP}]
+       )
+"
+
+# TODO: package myst_parser
+# distutils_enable_sphinx docs/source
+distutils_enable_tests pytest
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-7.1.0-test-timeouts.patch
+)
+
+src_configure() {
+       export IPP_DISABLE_JS=1
+}
+
+python_test() {
+       local EPYTEST_DESELECT=(
+               # we don't run a mongo instance for tests
+               ipyparallel/tests/test_mongodb.py::TestMongoBackend
+               # TODO
+               ipyparallel/tests/test_util.py::test_disambiguate_ip
+               # Gets upset that a timeout _doesn't_ occur, presumably because
+               # we're cranking up too many test timeouts. Oh well.
+               # bug #823458#c3
+               
ipyparallel/tests/test_asyncresult.py::AsyncResultTest::test_wait_for_send
+               # We could patch the timeout for these too but they're going to 
be inherently
+               # fragile anyway based on what they do.
+               ipyparallel/tests/test_client.py::TestClient::test_activate
+               
ipyparallel/tests/test_client.py::TestClient::test_lazy_all_targets
+               
ipyparallel/tests/test_client.py::TestClient::test_wait_for_engines
+       )
+       epytest
+}
+
+python_install_all() {
+       distutils-r1_python_install_all
+       # move /usr/etc stuff to /etc
+       mv "${ED}/usr/etc" "${ED}/etc" || die
+}
+
+pkg_postinst() {
+       optfeature "Jupyter Notebook integration" dev-python/notebook
+}

Reply via email to