
* Added new 4 new versions of py-loguru * Added new build dependency * Removed py-setuptools on versions beyond 0.7.2 Co-authored-by: Wouter Deconinck <wdconinc@gmail.com> * Fixed erroneous dependency range on py-aiocontextvars Co-authored-by: Wouter Deconinck <wdconinc@gmail.com> --------- Co-authored-by: Wouter Deconinck <wdconinc@gmail.com>
34 lines
1.6 KiB
Python
34 lines
1.6 KiB
Python
# Copyright Spack Project Developers. See 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"
|
|
|
|
license("MIT")
|
|
|
|
version("0.7.3", sha256="19480589e77d47b8d85b2c827ad95d49bf31b0dcde16593892eb51dd18706eb6")
|
|
version("0.7.2", sha256="e671a53522515f34fd406340ee968cb9ecafbc4b36c679da03c18fd8d0bd51ac")
|
|
version("0.7.1", sha256="7ba2a7d81b79a412b0ded69bd921e012335e80fd39937a633570f273a343579e")
|
|
version("0.7.0", sha256="1612053ced6ae84d7959dd7d5e431a0532642237ec21f7fd83ac73fe539e03e1")
|
|
version("0.6.0", sha256="066bd06758d0a513e9836fd9c6b5a75bfb3fd36841f4b996bc60b547a309d41c")
|
|
version("0.3.0", sha256="f2a0fa92f334d37a13351aa36ab18e8039649a3741836b4b6d8b8bce7e8457ac")
|
|
version("0.2.5", sha256="68297d9f23064c2f4764bb5d0c5c767f3ed7f9fc1218244841878f5fc7c94add")
|
|
|
|
depends_on("python@3.5:", type=("build", "run"))
|
|
depends_on("py-setuptools", when="@:0.7.2", type="build")
|
|
depends_on("py-flit-core@3", when="@0.7.3:", 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")
|