New package: py-reindent (#23828)
This commit is contained in:
parent
d2178fb47b
commit
6e378102fd
19
var/spack/repos/builtin/packages/py-reindent/package.py
Normal file
19
var/spack/repos/builtin/packages/py-reindent/package.py
Normal file
@ -0,0 +1,19 @@
|
||||
# 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 PyReindent(PythonPackage):
|
||||
"""Change Python (.py) files to use 4-space indents and no hard tab
|
||||
characters. Also trim excess spaces and tabs from ends of lines, and remove
|
||||
empty lines at the end of files. Also ensure the last line ends with a
|
||||
newline."""
|
||||
|
||||
pypi = "reindent/reindent-3.5.1.tar.gz"
|
||||
|
||||
version('3.5.1', sha256='59aeb8fbc16e45686f65df23b91896a17eb14ace7a7546860f50d2bb5ec4c9c0')
|
||||
|
||||
depends_on('py-setuptools', type='build')
|
Loading…
Reference in New Issue
Block a user