dev-python/typer: new package, add 0.9.0
This commit is contained in:
parent
d28bf295f1
commit
7cf2cb68f3
1
dev-python/typer/Manifest
Normal file
1
dev-python/typer/Manifest
Normal file
|
@ -0,0 +1 @@
|
|||
DIST typer-0.9.0.gh.tar.gz 266744 BLAKE2B ebc405408bb3990c1a849291b5e59f0cbbccffbd44e0634c7dc33151ff33f58bb3fdfa768299a262d05fea4e62a955df4fe6815cc97b05b3711415b6136a1a75 SHA512 76a455b17278c1fcf97a1fef7b3186cb0edda1501f537b1c689fa8fc1cdae233fbf2b0bbbcf8b886e7d35d2f480343427ad3410274218dee8689890321f93b58
|
16
dev-python/typer/metadata.xml
Normal file
16
dev-python/typer/metadata.xml
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>florianbadie@odrling.xyz</email>
|
||||
<name>odrling</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="rich">Rich text output via <pkg>dev-python/rich</pkg></flag>
|
||||
<flag name="shell-detection">detect current shell with <pkg>dev-python/shellingham</pkg> for completions</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">tiangolo/typer</remote-id>
|
||||
<remote-id type="pypi">typer</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
32
dev-python/typer/typer-0.9.0.ebuild
Normal file
32
dev-python/typer/typer-0.9.0.ebuild
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Build great CLIs. Easy to code. Based on Python type hints."
|
||||
HOMEPAGE="
|
||||
https://typer.tiangolo.com/
|
||||
https://github.com/tiangolo/typer
|
||||
https://pypi.org/project/typer/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/tiangolo/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
IUSE="+rich shell-detection"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/click[${PYTHON_USEDEP}]
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
rich? ( dev-python/rich[${PYTHON_USEDEP}] )
|
||||
shell-detection? ( dev-python/shellingham[${PYTHON_USEDEP}] )
|
||||
"
|
Loading…
Reference in a new issue