summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-fortranformat/package.py
blob: fa9e534e0f63c406153ab31940ad27ea8309dced (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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 PyFortranformat(PythonPackage):
    """Mimics Fortran textual IO in Python"""

    homepage = "http://bitbucket.org/brendanarnold/py-fortranformat"
    pypi = "fortranformat/fortranformat-0.2.5.tar.gz"

    version("0.2.5", sha256="6b5fbc1f129c7a70543c3a81f334fb4d57f07df2834b22ce69f6d7e8539cd3f9")

    # pip silently replaces distutils with setuptools
    depends_on("py-setuptools", type="build")