summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-yapf/package.py
blob: 1b71fbe2ba6c1a7a52f6cdfd4dc507d3ab23c9f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright 2013-2018 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 PyYapf(PythonPackage):
    """ Yet Another Python Formatter """
    homepage = "https://github.com/google/yapf"
    # base https://pypi.python.org/pypi/cffi
    url      = "https://github.com/google/yapf/archive/v0.2.1.tar.gz"

    version('0.2.1', '348ccf86cf2057872e4451b204fb914c')

    depends_on('py-setuptools', type='build')