[py-confection] new package (#39491)

This commit is contained in:
Jen Herting 2023-08-18 12:59:47 -04:00 committed by GitHub
parent 77760c8ea4
commit fd70e7fb31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,21 @@
# Copyright 2013-2023 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 PyConfection(PythonPackage):
"""The sweetest config system for Python"""
homepage = "https://github.com/explosion/confection"
pypi = "confection/confection-0.0.4.tar.gz"
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"))