Add new package: py-chronyk (#18815)

This commit is contained in:
darmac 2020-09-24 09:17:11 +08:00 committed by GitHub
parent 0dcfd8909a
commit dd4f55cb46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'))