Skip to content

Commit f2aeb91

Browse files
fanyxclassabbyamp
authored andcommitted
New package: ty-0.0.5
1 parent 742da1d commit f2aeb91

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

srcpkgs/ty/template

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
}

0 commit comments

Comments
 (0)