summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-radical-gtod/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/py-radical-gtod/package.py')
-rwxr-xr-xvar/spack/repos/builtin/packages/py-radical-gtod/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-radical-gtod/package.py b/var/spack/repos/builtin/packages/py-radical-gtod/package.py
new file mode 100755
index 0000000000..4e8eda7ea2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-radical-gtod/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2021 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 PyRadicalGtod(PythonPackage):
+ """RADICAL-GTOD provides a single method, gtod, which returns the current
+ time in seconds since epoch (01.01.1970) with sub-second resolution and a
+ binary tool, radical-gtod, which is a compiled binary and does not require
+ the invocation of the Python interpreter."""
+
+ homepage = 'https://radical-cybertools.github.io'
+ git = 'https://github.com/radical-cybertools/radical.gtod.git'
+ pypi = 'radical.gtod/radical.gtod-1.6.7.tar.gz'
+
+ maintainers = ['andre-merzky']
+
+ version('develop', branch='devel')
+ version('1.6.7', sha256='8d7d32e3d0bcf6d7cf176454a9892a46919b03e1ed96bee389380e6d75d6eff8')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')