git: 8c7943ee2cc5 - main - devel/py-ipyparallel: Update to 8.4.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Jun 2022 21:00:21 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8c7943ee2cc51bd91c9ab55e799d7de828eab507
commit 8c7943ee2cc51bd91c9ab55e799d7de828eab507
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-21 20:58:34 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-21 20:58:34 +0000
devel/py-ipyparallel: Update to 8.4.1
Changes: https://github.com/ipython/ipyparallel/blob/main/docs/source/changelog.md
---
devel/py-ipyparallel/Makefile | 14 +++--
devel/py-ipyparallel/distinfo | 6 +-
devel/py-ipyparallel/files/setup.py | 110 ++++++++++++++++++++++++++++++++++++
3 files changed, 122 insertions(+), 8 deletions(-)
diff --git a/devel/py-ipyparallel/Makefile b/devel/py-ipyparallel/Makefile
index 32a9499c3160..a05058431f64 100644
--- a/devel/py-ipyparallel/Makefile
+++ b/devel/py-ipyparallel/Makefile
@@ -1,6 +1,5 @@
PORTNAME= ipyparallel
-PORTVERSION= 6.3.0
-PORTREVISION= 1
+PORTVERSION= 8.4.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,13 +12,15 @@ LICENSE_FILE= ${WRKSRC}/COPYING.md
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=2.1:devel/py-dateutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}decorator>=0:devel/py-decorator@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}entrypoints>=0:devel/py-entrypoints@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ipykernel5>=4.4:devel/py-ipykernel5@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ipython>=4.0.0:devel/ipython@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}ipython_genutils>=0:devel/py-ipython_genutils@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jupyter-client>=0:devel/py-jupyter-client@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}notebook>=0:www/py-notebook@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pyzmq>=13:net/py-pyzmq@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}tornado>=4.0:www/py-tornado@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyzmq>=18:net/py-pyzmq@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tornado>=5.1:www/py-tornado@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tqdm>=0:misc/py-tqdm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}traitlets>=4.3:devel/py-traitlets@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cloudpickle>=0:devel/py-cloudpickle@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}distributed>=0:devel/py-distributed@${PY_FLAVOR} \
@@ -39,4 +40,7 @@ USE_PYTHON= autoplist concurrent distutils pytest
NO_ARCH= yes
+post-patch:
+ @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py
+
.include <bsd.port.mk>
diff --git a/devel/py-ipyparallel/distinfo b/devel/py-ipyparallel/distinfo
index 961ec487f3d9..00d9a45fbc60 100644
--- a/devel/py-ipyparallel/distinfo
+++ b/devel/py-ipyparallel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1588895761
-SHA256 (ipyparallel-6.3.0.tar.gz) = 0a97b276c62db633e9e97a816282bdd166f9df74e28204f0c8fa54b71944cfdc
-SIZE (ipyparallel-6.3.0.tar.gz) = 2380153
+TIMESTAMP = 1655829892
+SHA256 (ipyparallel-8.4.1.tar.gz) = 670bbe05755381742e1ea01177dc428ff8f3e94af1f0d5642c9d19f37ca8289b
+SIZE (ipyparallel-8.4.1.tar.gz) = 6843301
diff --git a/devel/py-ipyparallel/files/setup.py b/devel/py-ipyparallel/files/setup.py
new file mode 100644
index 000000000000..f4b411c8ad08
--- /dev/null
+++ b/devel/py-ipyparallel/files/setup.py
@@ -0,0 +1,110 @@
+# -*- coding: utf-8 -*-
+from setuptools import setup
+
+setup(
+ name='ipyparallel',
+ version='%%PORTVERSION%%',
+ description='Interactive Parallel Computing with IPython',
+ long_description='# Interactive Parallel Computing with IPython\n\nIPython Parallel (`ipyparallel`) is a Python package and collection of CLI scripts for controlling clusters of IPython processes, built on the Jupyter protocol.\n\nIPython Parallel provides the following commands:\n\n- ipcluster - start/stop/list clusters\n- ipcontroller - start a controller\n- ipengine - start an engine\n\n## Install\n\nInstall IPython Parallel:\n\n pip install ipyparallel\n\nThis will install and enable the IPython Parallel extensions\nfor Jupyter Notebook and (as of 7.0) Jupyter Lab 3.0.\n\n## Run\n\nStart a cluster:\n\n ipcluster start\n\nUse it from Python:\n\n```python\nimport os\nimport ipyparallel as ipp\n\ncluster = ipp.Cluster(n=4)\nwith cluster as rc:\n ar = rc[:].apply_async(os.getpid)\n pid_map = ar.get_dict()\n```\n\nSee [the docs](https://ipyparallel.readthedocs.io) for more info.\n',
+ author_email='IPython Development Team <ipython-dev@scipy.org>',
+ classifiers=[
+ 'Framework :: Jupyter',
+ 'Framework :: Jupyter :: JupyterLab',
+ 'Framework :: Jupyter :: JupyterLab :: 3',
+ 'Framework :: Jupyter :: JupyterLab :: Extensions',
+ 'Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt',
+ 'Intended Audience :: Developers',
+ 'Intended Audience :: Science/Research',
+ 'Intended Audience :: System Administrators',
+ 'License :: OSI Approved :: BSD License',
+ 'Programming Language :: Python',
+ 'Programming Language :: Python :: 3.7',
+ 'Programming Language :: Python :: 3.8',
+ 'Programming Language :: Python :: 3.9',
+ ],
+ install_requires=[
+ 'decorator',
+ 'entrypoints',
+ 'ipykernel>=4.4',
+ 'ipython>=4',
+ 'jupyter-client',
+ 'psutil',
+ 'python-dateutil>=2.1',
+ 'pyzmq>=18',
+ 'tornado>=5.1',
+ 'tqdm',
+ 'traitlets>=4.3',
+ ],
+ extras_require={
+ 'benchmark': [
+ 'asv',
+ ],
+ 'labextension': [
+ 'jupyter-server',
+ 'jupyterlab>=3',
+ ],
+ 'nbext': [
+ 'jupyter-server',
+ 'notebook',
+ ],
+ 'retroextension': [
+ 'jupyter-server',
+ 'retrolab',
+ ],
+ 'serverextension': [
+ 'jupyter-server',
+ ],
+ 'test': [
+ 'ipython[test]',
+ 'pytest',
+ 'pytest-asyncio',
+ 'pytest-cov',
+ 'testpath',
+ ],
+ },
+ entry_points={
+ 'console_scripts': [
+ 'ipcluster = ipyparallel.cluster.app:main',
+ 'ipcontroller = ipyparallel.controller.app:main',
+ 'ipengine = ipyparallel.engine.app:main',
+ ],
+ 'ipyparallel.controller_launchers': [
+ 'batch = ipyparallel.cluster.launcher:BatchControllerLauncher',
+ 'htcondor = ipyparallel.cluster.launcher:HTCondorControllerLauncher',
+ 'local = ipyparallel.cluster.launcher:LocalControllerLauncher',
+ 'lsf = ipyparallel.cluster.launcher:LSFControllerLauncher',
+ 'mpi = ipyparallel.cluster.launcher:MPIControllerLauncher',
+ 'pbs = ipyparallel.cluster.launcher:PBSControllerLauncher',
+ 'sge = ipyparallel.cluster.launcher:SGEControllerLauncher',
+ 'slurm = ipyparallel.cluster.launcher:SlurmControllerLauncher',
+ 'ssh = ipyparallel.cluster.launcher:SSHControllerLauncher',
+ 'winhpc = ipyparallel.cluster.launcher:WindowsHPCControllerLauncher',
+ ],
+ 'ipyparallel.engine_launchers': [
+ 'batch = ipyparallel.cluster.launcher:BatchEngineSetLauncher',
+ 'htcondor = ipyparallel.cluster.launcher:HTCondorEngineSetLauncher',
+ 'local = ipyparallel.cluster.launcher:LocalEngineSetLauncher',
+ 'lsf = ipyparallel.cluster.launcher:LSFEngineSetLauncher',
+ 'mpi = ipyparallel.cluster.launcher:MPIEngineSetLauncher',
+ 'pbs = ipyparallel.cluster.launcher:PBSEngineSetLauncher',
+ 'sge = ipyparallel.cluster.launcher:SGEEngineSetLauncher',
+ 'slurm = ipyparallel.cluster.launcher:SlurmEngineSetLauncher',
+ 'ssh = ipyparallel.cluster.launcher:SSHEngineSetLauncher',
+ 'sshproxy = ipyparallel.cluster.launcher:SSHProxyEngineSetLauncher',
+ 'winhpc = ipyparallel.cluster.launcher:WindowsHPCEngineSetLauncher',
+ ],
+ },
+ packages=[
+ 'benchmarks.benchmarks',
+ 'benchmarks.profiling',
+ 'ipyparallel',
+ 'ipyparallel.apps',
+ 'ipyparallel.client',
+ 'ipyparallel.cluster',
+ 'ipyparallel.controller',
+ 'ipyparallel.engine',
+ 'ipyparallel.nbextension',
+ 'ipyparallel.serialize',
+ 'ipyparallel.tests',
+ ],
+)