py-typer: add version 0.15.1 and "standard" optional dependencies (#48010)

* py-typer: add version 0.15.1 and "standard" optional dependencies
* py-typer: remove variant that only exists in source, not sdist. Remove trailing .0 from versions.
This commit is contained in:
Lehman Garrison 2024-12-19 13:35:05 -05:00 committed by GitHub
parent 8487842e11
commit eb178e6840
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,12 +12,23 @@ class PyTyper(PythonPackage):
homepage = "https://github.com/tiangolo/typer"
pypi = "typer/typer-0.9.0.tar.gz"
license("MIT")
license("MIT", checked_by="lgarrison")
version("0.15.1", sha256="a0588c0a7fa68a1978a069818657778f86abe6ff5ea6abf472f940a08bfe4f0a")
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"))
with when("@0.15.1:"):
depends_on("python@3.7:", type=("build", "run"))
depends_on("py-pdm-backend", type="build")
depends_on("py-click@8:", type=("build", "run"))
depends_on("py-shellingham@1.3:", type=("build", "run"))
depends_on("py-rich@10.11:", type=("build", "run"))
with when("@:0.9.0"):
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:")