summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-cookiecutter/package.py
blob: d47804c1c5932ac5daacbba3c8c3fedf3fd86f66 (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
24
25
26
27
# 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 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'))