summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-fortranformat/package.py
blob: c08935be4066acb21d346fd898ee8a136d5b4e58 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2024 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"

    license("MIT")

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

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