2025-01-02 22:40:28 +08:00
|
|
|
# Copyright Spack Project Developers. See COPYRIGHT file for details.
|
2023-08-19 00:59:47 +08:00
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
|
|
|
from spack.package import *
|
|
|
|
|
|
|
|
|
|
|
|
class PyConfection(PythonPackage):
|
|
|
|
"""The sweetest config system for Python"""
|
|
|
|
|
|
|
|
homepage = "https://github.com/explosion/confection"
|
|
|
|
pypi = "confection/confection-0.0.4.tar.gz"
|
|
|
|
|
2023-12-23 03:29:11 +08:00
|
|
|
license("MIT")
|
|
|
|
|
2023-08-19 00:59:47 +08:00
|
|
|
version("0.0.4", sha256="b1ddf5885da635f0e260a40b339730806dfb1bd17d30e08764f35af841b04ecf")
|
|
|
|
|
|
|
|
depends_on("python@3.6:", type=("build", "run"))
|
|
|
|
depends_on("py-setuptools", type="build")
|
|
|
|
depends_on("py-pydantic@1.7.4:1.7,1.9:1.10", type=("build", "run"))
|
|
|
|
depends_on("py-typing-extensions@3.7.4.1:4.4", type=("build", "run"), when="^python@3.7")
|
|
|
|
depends_on("py-srsly@2.4:2", type=("build", "run"))
|