summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Scemama <scemama@irsamc.ups-tlse.fr>2020-03-11 20:44:36 +0100
committerGitHub <noreply@github.com>2020-03-11 14:44:36 -0500
commit83584afa35fcde93de98976b12909f7c19f69529 (patch)
tree437735fe54d141a65333a591c52fed21ccbb501e
parent87e69eed1c4864730aa221aa014c234e4ac3f83f (diff)
downloadspack-83584afa35fcde93de98976b12909f7c19f69529.tar.gz
spack-83584afa35fcde93de98976b12909f7c19f69529.tar.bz2
spack-83584afa35fcde93de98976b12909f7c19f69529.tar.xz
spack-83584afa35fcde93de98976b12909f7c19f69529.zip
Package for the resultsFile Python module (#15088)
* Added resultsFile package * Added comments * Fixed PEP8 * Added Python3 package * Removed py-setuptools
-rw-r--r--var/spack/repos/builtin/packages/py-resultsfile/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-resultsfile/package.py b/var/spack/repos/builtin/packages/py-resultsfile/package.py
new file mode 100644
index 0000000000..6f00a3ab1d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-resultsfile/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2020 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')
+
+ depends_on('python@2.7:2.8.999', type=('build', 'run'), when='@1.0:1.999')
+ depends_on('python@3:', type=('build', 'run'), when='@2.0:')