From fc1d39dedcac23412d2be5c1c640021440a36e19 Mon Sep 17 00:00:00 2001 From: manifest Date: Sat, 31 Oct 2020 03:13:03 +1030 Subject: gemini dep cyordereddict + (#19333) * gemini dep py-cyordereddict + * dep ipyparallel + * py-ipython-cluster + * py-cyordereddict URL+dep fix * Update var/spack/repos/builtin/packages/py-cyordereddict/package.py Co-authored-by: Adam J. Stewart * py-ipython-cluster-helper dep fix * py-ipyparallel dep fix * ipython-cluster-helper debug * ipython-cluster-helper debug * ipyparallel dep fix * ipython-cluster-helper dep fix Co-authored-by: Adam J. Stewart --- .../builtin/packages/py-cyordereddict/package.py | 15 +++++++++++ .../builtin/packages/py-ipyparallel/package.py | 29 ++++++++++++++++++++++ .../packages/py-ipython-cluster-helper/package.py | 26 +++++++++++++++++++ 3 files changed, 70 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-cyordereddict/package.py create mode 100644 var/spack/repos/builtin/packages/py-ipyparallel/package.py create mode 100644 var/spack/repos/builtin/packages/py-ipython-cluster-helper/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-cyordereddict/package.py b/var/spack/repos/builtin/packages/py-cyordereddict/package.py new file mode 100644 index 0000000000..19640edae8 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-cyordereddict/package.py @@ -0,0 +1,15 @@ +# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class PyCyordereddict(PythonPackage): + """The Python standard library's OrderedDict ported to Cython. + A drop-in replacement that is 2-6x faster.""" + + homepage = "https://github.com/shoyer/cyordereddict" + url = "https://pypi.io/packages/source/c/cyordereddict/cyordereddict-1.0.0.tar.gz" + version('1.0.0', sha256='d9b2c31796999770801a9a49403b8cb49510ecb64e5d1e9d4763ed44f2d5a76e') diff --git a/var/spack/repos/builtin/packages/py-ipyparallel/package.py b/var/spack/repos/builtin/packages/py-ipyparallel/package.py new file mode 100644 index 0000000000..f208ac646a --- /dev/null +++ b/var/spack/repos/builtin/packages/py-ipyparallel/package.py @@ -0,0 +1,29 @@ +# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class PyIpyparallel(PythonPackage): + """IPython's architecture for parallel and distributed computing.""" + + homepage = "https://github.com/ipython/ipyparallel" + url = "https://github.com/ipython/ipyparallel/archive/6.3.0.tar.gz" + + version('6.3.0', sha256='b18f6e10ffbcf6f97cac9ce6edc32365302e8496a5252407b91c61b654882147') + version('6.2.5', sha256='f6de54a29f7beb97872aa49dfa606dea5f3ed20d2433e3a7200ac2ea9b2a4388') + version('6.2.4', sha256='84aa117647b358133643aad1082ea8a56ab8a17693cc3bc2b150746a37e7332e') + + depends_on('python@3.5:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-ipython-genutils', type=('build', 'run')) + depends_on('py-decorator', type=('build', 'run')) + depends_on('py-pyzmq@13:', type=('build', 'run')) + depends_on('py-traitlets@4.3:', type=('build', 'run')) + depends_on('py-ipython@4:', type=('build', 'run')) + depends_on('py-jupyter-client', type=('build', 'run')) + depends_on('py-ipykernel@4.4:', type=('build', 'run')) + depends_on('py-python-dateutil@2.1:', type=('build', 'run')) + depends_on('py-tornado@4:', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-ipython-cluster-helper/package.py b/var/spack/repos/builtin/packages/py-ipython-cluster-helper/package.py new file mode 100644 index 0000000000..b2555cabe2 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-ipython-cluster-helper/package.py @@ -0,0 +1,26 @@ +# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class PyIpythonClusterHelper(PythonPackage): + """Quickly and easily parallelize Python functions using IPython on + a cluster, supporting multiple schedulers. Optimizes IPython defaults + to handle larger clusters and simultaneous processes. + """ + + homepage = "https://github.com/roryk/ipython-cluster-helper" + url = "https://github.com/roryk/ipython-cluster-helper/archive/v0.6.4.tar.gz" + + version('0.6.4', sha256='6c8b42e1428305eeb0c54d1a8ecf3c551ec9ee02e1f039b4b12260bef66fc446') + version('0.6.3', sha256='0256e6f72c31f846fd3bf7ed0a87bc362d77a0731cb52dbdc19c41686e44faeb') + + depends_on('py-setuptools@18.5:', type=('build', 'run')) + depends_on('py-pyzmq@2.1.11:', type=('build', 'run')) + depends_on('py-ipython@:5.99', type=('build', 'run')) + depends_on('py-ipyparallel@6.0.2:', type=('build', 'run')) + depends_on('py-netifaces@0.10.3:', type=('build', 'run')) + depends_on('py-six@1.10.0:', type=('build', 'run')) -- cgit v1.2.3-70-g09d2