diff options
author | wspear <wjspear@gmail.com> | 2019-02-07 16:47:46 -0600 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2019-02-07 16:47:46 -0600 |
commit | 76feb0205d49ade45a813ead9fea0bc259e78175 (patch) | |
tree | 425c250fe3c317b86ca186143989393411524e15 | |
parent | ef89ae03bcc44e04e705c3de22c6a6898676489c (diff) | |
download | spack-76feb0205d49ade45a813ead9fea0bc259e78175.tar.gz spack-76feb0205d49ade45a813ead9fea0bc259e78175.tar.bz2 spack-76feb0205d49ade45a813ead9fea0bc259e78175.tar.xz spack-76feb0205d49ade45a813ead9fea0bc259e78175.zip |
New package: py-jupyterhub (#10461)
This package depends on both python 3.5+ and node-js which depends on
python 2.7/2.8 to build. Currently it can only be installed if the
node-js package's python dependency is manually removed, so node-js
will build with python found on the system rather than provided by
spack. Upcoming commits may allow spack to reconcile this
automatically.
-rw-r--r-- | var/spack/repos/builtin/packages/py-jupyterhub/package.py | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-jupyterhub/package.py b/var/spack/repos/builtin/packages/py-jupyterhub/package.py new file mode 100644 index 0000000000..2178574be1 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-jupyterhub/package.py @@ -0,0 +1,31 @@ +# Copyright 2013-2019 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 PyJupyterhub(PythonPackage): + """Multi-user server for Jupyter notebooks.""" + + homepage = "https://pypi.org/project/jupyterhub" + url = "https://pypi.io/packages/source/j/jupyterhub/jupyterhub-0.9.4.tar.gz" + + version('0.9.4', sha256='86b1cce446d4e8347e26913878858fc8964d103fde19b606fe37ccc5188d629d') + + depends_on('python@3.5:') + depends_on('node-js', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-dateutil', type='run') + depends_on('py-jinja2', type='run') + depends_on('py-sqlalchemy', type='run') + depends_on('py-tornado', type='run') + depends_on('py-traitlets', type='run') + depends_on('py-alembic', type='run') + depends_on('py-mako', type='run') + depends_on('py-async-generator', type='run') + depends_on('py-jupyter-notebook', type='run') + depends_on('py-prometheus-client', type='run') + depends_on('py-send2trash', type='run') + depends_on('py-requests', type='run') |