summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-cherrypy/package.py
blob: 1dbd2e2368b2105e46283f531333faeb7586322f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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 PyCherrypy(PythonPackage):
    """CherryPy is a pythonic, object-oriented HTTP framework."""

    homepage = "https://cherrypy.readthedocs.io/en/latest/"
    pypi = "CherryPy/CherryPy-18.1.1.tar.gz"

    version('18.1.1', sha256='6585c19b5e4faffa3613b5bf02c6a27dcc4c69a30d302aba819639a2af6fa48b')

    depends_on('py-setuptools',     type='build')
    depends_on('py-setuptools-scm', type='build')
    depends_on('py-more-itertools', type=('build', 'run'))
    depends_on('py-zc-lockfile',    type=('build', 'run'))
    depends_on('py-cheroot@6.2.4:', type=('build', 'run'))
    depends_on('py-portend@2.1.1:', type=('build', 'run'))
    depends_on('python@3.5:',       when='@18.0.0:',  type=('build', 'run'))