diff options
author | Jen Herting <jen@herting.cc> | 2022-08-23 13:00:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-23 10:00:25 -0700 |
commit | 00feccde3450e61339796e40c796d380ff6a14a3 (patch) | |
tree | c03512011a978fdb09d370580b31a4c92e1fdaa4 /var | |
parent | 2c567edc1d1f0089ce87e7f3427c4c456807e50c (diff) | |
download | spack-00feccde3450e61339796e40c796d380ff6a14a3.tar.gz spack-00feccde3450e61339796e40c796d380ff6a14a3.tar.bz2 spack-00feccde3450e61339796e40c796d380ff6a14a3.tar.xz spack-00feccde3450e61339796e40c796d380ff6a14a3.zip |
New package: py-loguru (#32074)
* [py-loguru] New package
* [py-loguru] Removed commented out line
* [py-loguru] Added types removed extra dependencies
* [py-loguru] missing windows dependency. listing windows as a conflict for now
* [py-loguru] depends on py-colorama when platform=windows
* [py-loguru] flake8
* [py-loguru] Import update
* [py-loguru]
- python is a runtime dependency
- setuptools is a build dependency
* [@spackbot] updating style on behalf of qwertos
Co-authored-by: James A Zilberman <jazrc@rit.edu>
Co-authored-by: qwertos <qwertos@users.noreply.github.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-loguru/package.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-loguru/package.py b/var/spack/repos/builtin/packages/py-loguru/package.py new file mode 100644 index 0000000000..b9bd61aabd --- /dev/null +++ b/var/spack/repos/builtin/packages/py-loguru/package.py @@ -0,0 +1,25 @@ +# 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.package import * + + +class PyLoguru(PythonPackage): + """Loguru is a library which aims to bring enjoyable logging in Python.""" + + homepage = "https://github.com/Delgan/loguru" + pypi = "loguru/loguru-0.6.0.tar.gz" + + version("0.6.0", sha256="066bd06758d0a513e9836fd9c6b5a75bfb3fd36841f4b996bc60b547a309d41c") + + depends_on("python@3.5:", type=("build", "run")) + depends_on("py-setuptools", type="build") + depends_on("py-aiocontextvars@0.2.0:", when="^python@3.6:", type=("build", "run")) + depends_on("py-colorama@0.3.4:", when="platform=windows", type=("build", "run")) + # Missing dependency required for windows + # depends_on('py-win32-setctime@1.0.0:', + # when='platform=windows', + # type=('build', 'run')) + conflicts("platform=windows") |