From 7125d7eebeaec9568b292643ed75bb7f56d07c3a Mon Sep 17 00:00:00 2001 From: Marc Mengel Date: Wed, 27 Nov 2019 14:02:43 -0600 Subject: [PATCH] New package: py-cheroot (#13583) * package py-cheroot * package py-cheroot * autopep8, docutils cleanup * Update var/spack/repos/builtin/packages/py-cheroot/package.py Co-Authored-By: Adam J. Stewart * missing deps * flake8 * license bits * Update var/spack/repos/builtin/packages/py-cheroot/package.py Co-Authored-By: Adam J. Stewart * Update var/spack/repos/builtin/packages/py-cheroot/package.py Co-Authored-By: Adam J. Stewart * Update var/spack/repos/builtin/packages/py-cheroot/package.py Co-Authored-By: Adam J. Stewart * Update var/spack/repos/builtin/packages/py-cheroot/package.py Co-Authored-By: Adam J. Stewart * python dep * flake8 --- .../builtin/packages/py-cheroot/package.py | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-cheroot/package.py diff --git a/var/spack/repos/builtin/packages/py-cheroot/package.py b/var/spack/repos/builtin/packages/py-cheroot/package.py new file mode 100644 index 0000000000..e18c2be9cd --- /dev/null +++ b/var/spack/repos/builtin/packages/py-cheroot/package.py @@ -0,0 +1,25 @@ +# 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 PyCheroot(PythonPackage): + """ Highly-optimized, pure-python HTTP server """ + + homepage = "https://cheroot.cherrypy.org/" + url = "https://pypi.io/packages/source/c/cheroot/cheroot-6.5.5.tar.gz" + + version( + '6.5.5', sha256='f6a85e005adb5bc5f3a92b998ff0e48795d4d98a0fbb7edde47a7513d4100601') + + depends_on('py-setuptools', type='build') + depends_on('py-setuptools-scm@1.15.0:', type='build') + depends_on('py-setuptools-scm-git-archive@1.0:', type='build') + depends_on('py-more-itertools@2.6:', type=('build', 'run')) + depends_on('py-six@1.11.0:', type=('build', 'run')) + depends_on('py-backports-functools-lru-cache', type=('build', 'run')) + depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))