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 <ajstewart426@gmail.com>

* 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 <ajstewart426@gmail.com>
This commit is contained in:
manifest 2020-10-31 03:13:03 +10:30 committed by GitHub
parent e4851d1a89
commit fc1d39dedc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 70 additions and 0 deletions

View file

@ -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')

View file

@ -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'))

View file

@ -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'))