From: harrisonthorne <harrisonthorne@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: tree-sitter 0.17.3
Date: Wed, 18 Nov 2020 17:40:51 +0100 [thread overview]
Message-ID: <20201118164051.bI4ufNa2myV2ktzqUlsUJvh1akFfWO-SZwBt1v-r6Bc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26484@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 546 bytes --]
There is an updated pull request by harrisonthorne against master on the void-packages repository
https://github.com/harrisonthorne/void-packages tree-sitter
https://github.com/void-linux/void-packages/pull/26484
New package: tree-sitter 0.17.3
Neovim's upcoming 0.5 seems to have `tree-sitter` as a dependency. This pull request adds both `tree-sitter` and `tree-sitter-devel` packages.
Edit: oops, I'll need to get rid of those other pesky commits
A patch file from https://github.com/void-linux/void-packages/pull/26484.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tree-sitter-26484.patch --]
[-- Type: text/x-diff, Size: 1945 bytes --]
From 276a417b695d3b558187e7a4160e59debb15190a Mon Sep 17 00:00:00 2001
From: Harrison Thorne <harrisonthorne@protonmail.com>
Date: Wed, 18 Nov 2020 08:25:32 -0700
Subject: [PATCH] New package: tree-sitter-0.17.3
---
common/shlibs | 1 +
srcpkgs/tree-sitter-devel | 1 +
srcpkgs/tree-sitter/template | 26 ++++++++++++++++++++++++++
3 files changed, 28 insertions(+)
create mode 120000 srcpkgs/tree-sitter-devel
create mode 100644 srcpkgs/tree-sitter/template
diff --git a/common/shlibs b/common/shlibs
index 5e274cc8d8d..de9da1c194a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3991,3 +3991,4 @@ liburing.so.1 liburing-0.7_1
libbson-1.0.so.0 libbson-1.17.0_1
libsonic.so.0 libsonic-0.2.0_1
libtickit.so.3 libtickit-0.4.1_1
+libtree-sitter.so.0 tree-sitter-0.17.3_1
diff --git a/srcpkgs/tree-sitter-devel b/srcpkgs/tree-sitter-devel
new file mode 120000
index 00000000000..25ba75a1097
--- /dev/null
+++ b/srcpkgs/tree-sitter-devel
@@ -0,0 +1 @@
+tree-sitter/
\ No newline at end of file
diff --git a/srcpkgs/tree-sitter/template b/srcpkgs/tree-sitter/template
new file mode 100644
index 00000000000..3130ba7eaf6
--- /dev/null
+++ b/srcpkgs/tree-sitter/template
@@ -0,0 +1,26 @@
+# Template file for 'tree-sitter'
+pkgname=tree-sitter
+version=0.17.3
+revision=1
+build_style=gnu-makefile
+short_desc="Parser generator tool and incremental parsing library"
+maintainer="Harrison Thorne <harrisonthorne@protonmail.com>"
+license="MIT"
+homepage="https://tree-sitter.github.io"
+distfiles="https://github.com/tree-sitter/${pkgname}/archive/${version}.tar.gz"
+checksum=a897e5c9a7ccb74271d9b20d59121d2d2e9de8b896c4d1cfaac0f8104c1ef9f8
+
+post_install() {
+ vlicense LICENSE
+}
+
+tree-sitter-devel_package() {
+ short_desc+=" - development files"
+ depends="${sourcepkg}>=${version}_${revision}"
+ pkg_install() {
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/lib/pkgconfig
+ }
+}
next prev parent reply other threads:[~2020-11-18 16:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-18 16:27 [PR PATCH] " harrisonthorne
2020-11-18 16:40 ` harrisonthorne [this message]
2020-11-18 16:54 ` ericonr
2020-11-18 17:16 ` ericonr
2020-11-22 21:30 ` ericonr
2021-01-21 16:49 ` [PR PATCH] [Updated] " harrisonthorne
2021-01-21 16:57 ` harrisonthorne
2021-01-21 16:59 ` harrisonthorne
2021-01-21 17:00 ` [PR PATCH] [Updated] " harrisonthorne
2021-01-21 17:01 ` harrisonthorne
2021-02-22 18:39 ` [PR PATCH] [Closed]: " ericonr
2021-02-22 18:39 ` ericonr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201118164051.bI4ufNa2myV2ktzqUlsUJvh1akFfWO-SZwBt1v-r6Bc@z \
--to=harrisonthorne@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).