summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-fprettify/package.py
blob: 9807f25fb6eb0ae19011dcb66812fe1217129332 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2023 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 PyFprettify(PythonPackage):
    """fprettify is an auto-formatter for modern Fortran code (Fortran 90
    and later) that imposes strict whitespace formatting, written in
    Python."""

    homepage = "https://github.com/pseewald/fprettify"
    pypi = "fprettify/fprettify-0.3.6.tar.gz"

    version("0.3.7", sha256="1488a813f7e60a9e86c56fd0b82bd9df1b75bfb4bf2ee8e433c12f63b7e54057")
    version("0.3.6", sha256="5ee954763eba2bc54ee7444c1f592944f1c1933223bb0c07957d60d44f7f0b75")

    depends_on("py-setuptools", type="build")
    depends_on("py-configargparse", type=("build", "run"))