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: Thu, 21 Jan 2021 18:00:58 +0100 [thread overview]
Message-ID: <20210121170058.Q04PUkBpzLTsvZLlnGXEM-Bt7wtkzW9ZKUidpFqF9aI@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: 555 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~~ Done
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: 1979 bytes --]
From 7001d495a1ad76e28d228e61ceaa761fd74472af 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 e030495fd63..c08a57985fb 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4045,3 +4045,4 @@ libutil-cmdline-samba4.so samba-libs-4.13.2_1
libwinbind-client-samba4.so samba-libs-4.13.2_1
libsixel.so.1 libsixel-1.8.6_1
libpamtest.so.0 pam_wrapper-1.1.3_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:[~2021-01-21 17:00 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 ` [PR PATCH] [Updated] " harrisonthorne
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 ` harrisonthorne [this message]
2021-01-21 17:01 ` harrisonthorne
2021-02-22 18:39 ` ericonr
2021-02-22 18:39 ` [PR PATCH] [Closed]: " 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=20210121170058.Q04PUkBpzLTsvZLlnGXEM-Bt7wtkzW9ZKUidpFqF9aI@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).