/var/spack/repos/builtin/packages/py-jupyterhub/package.py

https://github.com/LLNL/spack · Python · 35 lines · 24 code · 6 blank · 5 comment · 0 complexity · b216633b18556b560801ebd619d961a6 MD5 · raw file

  1. # Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
  2. # Spack Project Developers. See the top-level COPYRIGHT file for details.
  3. #
  4. # SPDX-License-Identifier: (Apache-2.0 OR MIT)
  5. from spack import *
  6. class PyJupyterhub(PythonPackage):
  7. """Multi-user server for Jupyter notebooks."""
  8. homepage = "https://pypi.org/project/jupyterhub"
  9. url = "https://pypi.io/packages/source/j/jupyterhub/jupyterhub-1.0.0.tar.gz"
  10. version('1.0.0', sha256='33541a515a041b9a518ca057c1c4ab4215a7450fdddc206401713ee8137fa67f')
  11. version('0.9.4', sha256='7848bbb299536641a59eb1977ec3c7c95d931bace4a2803d7e9b28b9256714da')
  12. depends_on('python@3.5:', type=('build', 'run'))
  13. depends_on('py-setuptools', type=('build', 'run'))
  14. depends_on('py-python-dateutil', type=('build', 'run'))
  15. depends_on('py-jinja2', type=('build', 'run'))
  16. depends_on('py-sqlalchemy@1.1:', type=('build', 'run'))
  17. depends_on('py-tornado@5.0:', type=('build', 'run'))
  18. depends_on('py-traitlets@4.3.2:', type=('build', 'run'))
  19. depends_on('py-alembic', type=('build', 'run'))
  20. depends_on('py-mako', type=('build', 'run'))
  21. depends_on('py-async-generator@1.8:', type=('build', 'run'))
  22. depends_on('py-requests', type=('build', 'run'))
  23. depends_on('py-certipy@0.1.2:', when='@1.0.0:', type=('build', 'run'))
  24. depends_on('py-entrypoints', when='@1.0.0:', type=('build', 'run'))
  25. depends_on('py-oauthlib@3.0:', when='@1.0.0:', type=('build', 'run'))
  26. depends_on('py-python-oauth2@1.0:', when='@:9.4', type=('build', 'run'))
  27. depends_on('py-pamela', type=('build', 'run'))
  28. depends_on('py-notebook', type=('build', 'run'))
  29. depends_on('py-prometheus-client@0.0.21:', type=('build', 'run'))