
* new package: py-batchspawner Change-Id: I508bad7ba7f1fc32c2f6c0bfccf35d864cf47ced * fixup Change-Id: If183933ce40a8d12214ea24acc683cb046fcfbcb * fix broken version Change-Id: Ie4dd8d18465877cd8f9cb862112af37d85b1c30f * fixup license Change-Id: I51d92a6d229f6a6b56eea6e53c65ed31fe59f6af * Update var/spack/repos/builtin/packages/py-batchspawner/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
23 lines
920 B
Python
23 lines
920 B
Python
# 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 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.999', 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'))
|