summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-resultsfile/package.py
blob: f239c84ec6b70fa9acb8b17ca78da5bf4d7b5bf5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 2013-2022 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 PyResultsfile(PythonPackage):
    """Python module to read output files of quantum chemistry programs"""

    homepage = "https://gitlab.com/scemama/resultsFile"
    url      = "https://gitlab.com/scemama/resultsFile/-/archive/v1.0/resultsFile-v1.0.tar.gz"
    git      = "https://gitlab.com/scemama/resultsFile.git"

    maintainers = ['scemama']

    version('2.0', sha256='2a34208254e4bea155695690437f6a59bf5f7b0ddb421d6c1a2d377510f018f7')
    version('1.0', sha256='e029054b2727131da9684fa2ec9fb8b6a3225dc7f648216a9390267b2d5d60c3', deprecated=True)

    depends_on('python@2.7:2.8', type=('build', 'run'), when='@1.0:1')
    depends_on('python@3:', type=('build', 'run'), when='@2.0:')
    # pip silently replaces distutils with setuptools
    depends_on('py-setuptools', type='build')