pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

tree-sitter-python: add python grammar for tree-sitter



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Wed Jan 18 09:22:12 2023 +0100
Changeset:	6ee4ea780f314c368d9803e5bdbb84d18bc281fa

Modified Files:
	Makefile
Added Files:
	tree-sitter-python/DESCR
	tree-sitter-python/Makefile
	tree-sitter-python/PLIST
	tree-sitter-python/distinfo

Log Message:
tree-sitter-python: add python grammar for tree-sitter

for testing

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6ee4ea780f314c368d9803e5bdbb84d18bc281fa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                    |  4 +++-
 tree-sitter-python/DESCR    |  1 +
 tree-sitter-python/Makefile | 14 ++++++++++++++
 tree-sitter-python/PLIST    |  2 ++
 tree-sitter-python/distinfo |  5 +++++
 5 files changed, 25 insertions(+), 1 deletion(-)

diffs:
diff --git a/Makefile b/Makefile
index 619fff7e20..7707727db4 100644
--- a/Makefile
+++ b/Makefile
@@ -1854,6 +1854,7 @@ SUBDIR+=	ja-ptex
 SUBDIR+=	jabberd14
 SUBDIR+=	jabref
 SUBDIR+=	jabref3
+SUBDIR+=	jack-example-tools
 SUBDIR+=	jacorb-lib
 SUBDIR+=	jakarta-log4j
 SUBDIR+=	jakarta-struts
@@ -5282,7 +5283,6 @@ SUBDIR+=	shed
 SUBDIR+=	shell-fm
 SUBDIR+=	shellharden
 SUBDIR+=	shellinabox
-SUBDIR+=	shfmt
 SUBDIR+=	shotcut
 SUBDIR+=	shotwell
 SUBDIR+=	shoutcast
@@ -5703,6 +5703,7 @@ SUBDIR+=	theama
 SUBDIR+=	thedarkmod
 SUBDIR+=	thepeg
 SUBDIR+=	thrift
+SUBDIR+=	thunderbird
 SUBDIR+=	thunderbird68-enigmail
 SUBDIR+=	tilda
 SUBDIR+=	tilix
@@ -5763,6 +5764,7 @@ SUBDIR+=	trackballs
 SUBDIR+=	tracy
 SUBDIR+=	translate-toolkit
 SUBDIR+=	trayion
+SUBDIR+=	tree-sitter-python
 SUBDIR+=	treetool
 SUBDIR+=	treeviewx
 SUBDIR+=	trelby
diff --git a/tree-sitter-python/DESCR b/tree-sitter-python/DESCR
new file mode 100644
index 0000000000..0ba4c47920
--- /dev/null
+++ b/tree-sitter-python/DESCR
@@ -0,0 +1 @@
+Python grammar for tree-sitter
diff --git a/tree-sitter-python/Makefile b/tree-sitter-python/Makefile
new file mode 100644
index 0000000000..1839dab5c3
--- /dev/null
+++ b/tree-sitter-python/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+DISTNAME=	tree-sitter-python-0.20.0
+CATEGORIES=	textproc devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=tree-sitter/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/tree-sitter/tree-sitter-python/
+COMMENT=	Python grammar for tree-sitter
+LICENSE=	mit
+
+.include "../../textproc/tree-sitter/grammar.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/tree-sitter-python/PLIST b/tree-sitter-python/PLIST
new file mode 100644
index 0000000000..d6141c88c9
--- /dev/null
+++ b/tree-sitter-python/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+lib/libtree-sitter-python.so
diff --git a/tree-sitter-python/distinfo b/tree-sitter-python/distinfo
new file mode 100644
index 0000000000..35b0d10252
--- /dev/null
+++ b/tree-sitter-python/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (tree-sitter-python-0.20.0.tar.gz) = afb9c9a4b12ae57c7d88c4cdc83517cb8a48081b0808df78d566afcf71ae2b92
+SHA512 (tree-sitter-python-0.20.0.tar.gz) = 6eff62f40a0cf95c9acb8bd571ed5d74ab9db7d15104a039273861c28f932c79d5e4d32e3017ed38fe35a8e92660f46bcdab8091a2dd2cc0d9699598a6d46606
+Size (tree-sitter-python-0.20.0.tar.gz) = 155192 bytes


Home | Main Index | Thread Index | Old Index