File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ # Template file for 'ty'
2+ pkgname=ty
3+ version=0.0.5
4+ revision=1
5+ build_style=python3-pep517
6+ build_helper="rust qemu"
7+ hostmakedepends="maturin cargo pkg-config libzstd-devel"
8+ makedepends="rust-std libzstd-devel"
9+ short_desc="Fast Python type checker and language server"
10+ maintainer="Hendrik Boll <
[email protected] >"
11+ license="MIT"
12+ homepage="https://docs.astral.sh/ty/"
13+ changelog="https://raw.githubusercontent.com/astral-sh/ty/main/CHANGELOG.md"
14+ distfiles="https://github.com/astral-sh/ty/releases/download/${version}/source.tar.gz"
15+ checksum=cac55a2975c5399831e6fe9693c0f14ea85c45c453f4cda9e26dde8e174df98f
16+
17+ post_install() {
18+ vlicense LICENSE
19+ for shell in bash fish zsh; do
20+ vtargetrun "$DESTDIR"/usr/bin/ty generate-shell-completion $shell > ty.$shell
21+ vcompletion ty.$shell $shell
22+ done
23+ }
You can’t perform that action at this time.
0 commit comments