diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-27 21:35:11 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-27 21:35:11 +0100 |
commit | 71b1191db94cd500516eb66f7ed3b643851e420b (patch) | |
tree | 3c508be55c3f958983b2b8e02c5c01b3cf3bbb74 /dev-python/typer/typer-0.2.1-r4.ebuild | |
parent | c1936601d9c2ca241e091e1d81b6c21aa29c11fe (diff) |
dev-python/typer : add python3.11 compat
Diffstat (limited to 'dev-python/typer/typer-0.2.1-r4.ebuild')
-rw-r--r-- | dev-python/typer/typer-0.2.1-r4.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-python/typer/typer-0.2.1-r4.ebuild b/dev-python/typer/typer-0.2.1-r4.ebuild new file mode 100644 index 00000000..e4c3e3f1 --- /dev/null +++ b/dev-python/typer/typer-0.2.1-r4.ebuild @@ -0,0 +1,29 @@ +# Copyright 2016-2020 Redcore Linux Project +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="Build great CLIs. Easy to code. Based on Python type hints" +HOMEPAGE="https://typer.tiangolo.com/" +SRC_URI="https://github.com/tiangolo/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] +" +RDEPEND=" + <dev-python/click-8[${PYTHON_USEDEP}] +" + +PATCHES=( "${FILESDIR}"/"${PN}"-avoid-python-dephell-dependency.patch ) + +python_install_all() { + distutils-r1_python_install_all +} |