Maxim Karasev 9a96fa1ff6 community/tree-sitter-python: upgrade to 0.19.1_git20220207
Latest tag doesn't work with modern nvim-treesitter.
2022-04-09 03:14:07 +02:00

27 lines
873 B
Plaintext

# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=tree-sitter-python
pkgver=0.19.1_git20220207
_gitrev=78c4e9b6b2f08e1be23b541ffced47b15e2972ad
pkgrel=0
pkgdesc="Python grammar for tree-sitter"
url="https://github.com/tree-sitter/tree-sitter-python"
arch="all"
license="MIT"
makedepends="tree-sitter-dev"
install_if="tree-sitter-grammars"
source="https://github.com/tree-sitter/tree-sitter-python/archive/$_gitrev/tree-sitter-python-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$_gitrev"
options="!check" # no tests for shared lib
build() {
abuild-tree-sitter build
}
package() {
DESTDIR="$pkgdir" abuild-tree-sitter install
}
sha512sums="
e778383886cbaaf35b3a0b8a31cc39c42870b691d53d6ebaca26b890dcf0671f2a5fc5fdd0e9c71bafc218f62ea4d0456806c33d9d108bc94f01989161c79e03 tree-sitter-python-0.19.1_git20220207.tar.gz
"