spack/var/spack/repos/builtin/packages/py-yapf/package.py
Andreas Baumbach 9b493e75a2
py-yapf: add v0.29.0 (#23729)
Change-Id: I2c24cbeeee0be0088dfa60bd83628a0f05272d1c
2021-05-19 13:48:52 +00:00

20 lines
791 B
Python

# Copyright 2013-2021 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.30.0', sha256='9f561af26f8d27c3a334d3d2ee8947b8826a86691087e447ce483512d834682c')
version('0.29.0', sha256='f4bc9924de51d30da0241503d56e9e26a1a583bc58b3a13b2c450c4d16c9920d')
version('0.2.1', sha256='13158055acd8e3c2f3a577528051a1c5057237f699150211a86fb405c4ea3936')
depends_on('py-setuptools', type='build')