summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-batchspawner/package.py
blob: db68cdc50ff35d135bfc9b42773bc6e03ec9c853 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 2013-2022 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.package import *


class PyBatchspawner(PythonPackage):
    """This is a custom spawner for Jupyterhub that is designed for
    installations on clusters using batch scheduling software."""

    homepage = "https://github.com/jupyterhub/batchspawner"
    pypi     = "batchspawner/batchspawner-1.1.0.tar.gz"

    version('1.1.0',      sha256='9bae72f7c1bd9bb11aa58ecc3bc9fae5475a10fdd92dc0c0d67fa7eb95c9dd3a')

    depends_on('python@3.3:3', type=('build', 'run'))
    depends_on('py-setuptools',           type='build')
    depends_on('py-async-generator@1.8:', type=('build', 'run'))
    depends_on('py-jinja2',               type=('build', 'run'))
    depends_on('py-jupyterhub@0.5:',      type=('build', 'run'))