From 0b3698e2c5ecd12d4aacdf4500e99a72dcbefea4 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Mon, 2 Jan 2023 13:54:35 -0500 Subject: [PATCH] New package: python3-ipyparallel-8.4.1 --- .../patches/no-jupyterlab.patch | 12 ++++++++++ srcpkgs/python3-ipyparallel/template | 23 +++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 srcpkgs/python3-ipyparallel/patches/no-jupyterlab.patch create mode 100644 srcpkgs/python3-ipyparallel/template diff --git a/srcpkgs/python3-ipyparallel/patches/no-jupyterlab.patch b/srcpkgs/python3-ipyparallel/patches/no-jupyterlab.patch new file mode 100644 index 000000000000..696a19cb5a99 --- /dev/null +++ b/srcpkgs/python3-ipyparallel/patches/no-jupyterlab.patch @@ -0,0 +1,12 @@ +IPython Parallel installs just fine without jupyterlab, and the Void package +will add some version conflicts that prevent building. + +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,6 +1,5 @@ + [build-system] + requires = [ +- "jupyterlab>=3.0.0,==3.*", + "hatchling>=0.25" + ] + build-backend = "hatchling.build" diff --git a/srcpkgs/python3-ipyparallel/template b/srcpkgs/python3-ipyparallel/template new file mode 100644 index 000000000000..e6b779ad4fc2 --- /dev/null +++ b/srcpkgs/python3-ipyparallel/template @@ -0,0 +1,23 @@ +# Template file for 'python3-ipyparallel' +pkgname=python3-ipyparallel +version=8.4.1 +revision=1 +build_style=python3-pep517 +hostmakedepends="hatchling" +depends="python3-entrypoints python3-decorator python3-pyzmq python3-traitlets + python3-ipython python3-jupyter_client python3-ipython_ipykernel + python3-tornado python3-psutil python3-dateutil python3-tqdm" +short_desc="Interactive parallel computing in Python" +maintainer="Andrew J. Hesford " +license="BSD-3-Clause" +homepage="https://ipyparallel.readthedocs.io/" +changelog="https://ipyparallel.readthedocs.io/en/latest/changelog.html" +distfiles="${PYPI_SITE}/i/ipyparallel/ipyparallel-${version}.tar.gz" +checksum=670bbe05755381742e1ea01177dc428ff8f3e94af1f0d5642c9d19f37ca8289b +# Too many tests fail with a "local" cluster type +make_check=no + +post_install() { + vlicense COPYING.md + mv "${DESTDIR}/usr/etc" "${DESTDIR}/etc" +}