summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-09-24 09:17:11 +0800
committerGitHub <noreply@github.com>2020-09-23 20:17:11 -0500
commitdd4f55cb4620c0be255da5bd5fedb6cff2c690c9 (patch)
treeac22e822a9822773af74a1dc42572dde92a5cb94 /var
parent0dcfd8909a63e5d78e440918af3df43b568629fd (diff)
downloadspack-dd4f55cb4620c0be255da5bd5fedb6cff2c690c9.tar.gz
spack-dd4f55cb4620c0be255da5bd5fedb6cff2c690c9.tar.bz2
spack-dd4f55cb4620c0be255da5bd5fedb6cff2c690c9.tar.xz
spack-dd4f55cb4620c0be255da5bd5fedb6cff2c690c9.zip
Add new package: py-chronyk (#18815)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-chronyk/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-chronyk/package.py b/var/spack/repos/builtin/packages/py-chronyk/package.py
new file mode 100644
index 0000000000..9523814f8e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-chronyk/package.py
@@ -0,0 +1,20 @@
+# 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 PyChronyk(PythonPackage):
+ """A small Python 3 library containing some handy tools for handling time,
+ especially when it comes to interfacing with those pesky humans."""
+
+ homepage = "https://github.com/KoffeinFlummi/Chronyk/"
+ url = "https://github.com/KoffeinFlummi/Chronyk/archive/v1.0.1.tar.gz"
+
+ version('1.0.1', sha256='fc47773ab27d68b56f241ff112b72c2b6590558769b3f225994175ca75115bc8')
+ version('0.9.1', sha256='94ebef9f8cf282136413b3963a958b2ab8aad3d552987b56afb3d517cd1e3e59')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('python@3:', type=('build', 'run'))