[py-typer] new package (#38270)
* [py-typer] new package * [py-typer] added version 0.7.0
This commit is contained in:
parent
295726e6b8
commit
ee106c747f
21
var/spack/repos/builtin/packages/py-typer/package.py
Normal file
21
var/spack/repos/builtin/packages/py-typer/package.py
Normal 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 PyTyper(PythonPackage):
|
||||
"""Typer, build great CLIs. Easy to code. Based on Python type hints."""
|
||||
|
||||
homepage = "https://github.com/tiangolo/typer"
|
||||
pypi = "typer/typer-0.9.0.tar.gz"
|
||||
|
||||
version("0.9.0", sha256="50922fd79aea2f4751a8e0408ff10d2662bd0c8bbfa84755a699f3bada2978b2")
|
||||
version("0.7.0", sha256="ff797846578a9f2a201b53442aedeb543319466870fbe1c701eab66dd7681165")
|
||||
|
||||
depends_on("python@3.6:", type=("build", "run"))
|
||||
depends_on("py-flit-core@2.0:2", type="build")
|
||||
depends_on("py-click@7.1.1:8", type=("build", "run"))
|
||||
depends_on("py-typing-extensions@3.7.4.3:", type=("build", "run"), when="@0.9.0:")
|
Loading…
Reference in New Issue
Block a user