diff options
author | Matthias Wolf <matthias.wolf@epfl.ch> | 2020-02-18 03:27:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-17 20:27:06 -0600 |
commit | 86a3d58159f438d9442623bdfbf896901079a625 (patch) | |
tree | ba11c76f0ff3987ccecdc57cfe0ef0a8cc3c58ff /var | |
parent | 76bf5c53fa229356794d41a1b4186509a71732aa (diff) | |
download | spack-86a3d58159f438d9442623bdfbf896901079a625.tar.gz spack-86a3d58159f438d9442623bdfbf896901079a625.tar.bz2 spack-86a3d58159f438d9442623bdfbf896901079a625.tar.xz spack-86a3d58159f438d9442623bdfbf896901079a625.zip |
py-cookiecutter: new package (#14911)
* py-cookiecutter: new package
* address comments
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-cookiecutter/package.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-cookiecutter/package.py b/var/spack/repos/builtin/packages/py-cookiecutter/package.py new file mode 100644 index 0000000000..4a39c6ea3d --- /dev/null +++ b/var/spack/repos/builtin/packages/py-cookiecutter/package.py @@ -0,0 +1,27 @@ +# 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 PyCookiecutter(PythonPackage): + """A command-line utility that creates projects from cookiecutters + (project templates). E.g. Python package projects, jQuery plugin + projects.""" + + homepage = "https://cookiecutter.readthedocs.io/en/latest/" + url = "https://github.com/audreyr/cookiecutter/archive/1.6.0.tar.gz" + + version('1.6.0', sha256='0c9018699b556b83d7c37b27fe0cc17485b90b6e1f47365b3cdddf77f6ca9d36') + + depends_on('py-setuptools', type='build') + depends_on('py-future@0.15.2:', type=('build', 'run')) + depends_on('py-binaryornot@0.2.0:', type=('build', 'run')) + depends_on('py-jinja2@2.7:', type=('build', 'run')) + depends_on('py-click@5.0:', type=('build', 'run')) + depends_on('py-whichcraft@0.4.0:', type=('build', 'run')) + depends_on('py-poyo@0.1.0:', type=('build', 'run')) + depends_on('py-jinja2-time@0.1.0:', type=('build', 'run')) + depends_on('py-requests@2.18.0:', type=('build', 'run')) |