From fc1142e02f990acc33bb2b90d0add9cb30262a42 Mon Sep 17 00:00:00 2001 From: c0m4r Date: Thu, 1 Feb 2024 03:59:29 +0100 Subject: [PATCH] New package: python3-typer-0.9.0 --- srcpkgs/python3-typer/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/python3-typer/template diff --git a/srcpkgs/python3-typer/template b/srcpkgs/python3-typer/template new file mode 100644 index 0000000000000..c2b9e16f75023 --- /dev/null +++ b/srcpkgs/python3-typer/template @@ -0,0 +1,27 @@ +# Template file for 'python3-typer' +pkgname=python3-typer +version=0.9.0 +revision=1 +build_style=python3-pep517 +make_build_args="--skip-dependency-check" +make_check_args="--deselect tests/test_tutorial/test_parameter_types/test_path/test_tutorial002_an.py::test_not_exists + --deselect tests/test_tutorial/test_subcommands/test_tutorial001.py::test_scripts + --deselect tests/test_tutorial/test_subcommands/test_tutorial003.py::test_scripts + --deselect tests/test_tutorial/test_parameter_types/test_path/test_tutorial002.py::test_not_exists" +hostmakedepends="python3-flit_core" +depends="python3 python3-click python3-colorama python3-rich + python3-shellingham python3-typing_extensions" +checkdepends="black python3-coverage python3-isort + python3-mypy python3-pipenv python3-pytest python3-pytest-black + python3-pytest-cov python3-pytest-subtests python3-pytest-sugar + python3-pytest-xdist ${depends}" +short_desc="Build great CLIs. Easy to code. Based on Python type hints" +maintainer="c0m4r " +license="MIT" +homepage="https://github.com/tiangolo/typer" +distfiles="${PYPI_SITE}/t/typer/typer-${version}.tar.gz" +checksum=50922fd79aea2f4751a8e0408ff10d2662bd0c8bbfa84755a699f3bada2978b2 + +post_install() { + vlicense LICENSE +}