unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Jean Pierre De Jesus DIAZ via Guix-patches via <guix-patches@gnu.org>
To: "63906@debbugs.gnu.org" <63906@debbugs.gnu.org>
Cc: "ngraves@ngraves.fr" <ngraves@ngraves.fr>
Subject: [bug#63906] [PATCH] gnu: Add python-tree-sitter.
Date: Mon, 05 Jun 2023 13:51:04 +0000	[thread overview]
Message-ID: <jfgK_sU-pGb2marRGPDAacwdfHlkYjOLGvPIj-uX6X2e1FfDXse86txKqAUK3-r4bul1C4BUUp2EAdqMwJdR9ETWvD4Kgnw_bbIhpNLoNiw=@jeandudey.tech> (raw)
In-Reply-To: <bd1217a8b3e5184d568ab99980af3fb46065ba51.1685966075.git.ngraves@ngraves.fr>

Hello Nicholas,

I took a look at the package and it bundles the tree-sitter code and
compiles it from source code.  As tree-sitter is already packaged in
GNU Guix the setup.py script could be patched to instead build the
bindings and link with the system tree-sitter.

So the `origin' should contain a `snippet' to remove the bundled
code and on the build phases `setup.py' (and any other files) should
be patched to use the system tree-sitter.

Cheers,

—
Jean-Pierre De Jesus DIAZ




  reply	other threads:[~2023-06-05 13:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-05 11:54 [bug#63906] [PATCH] gnu: Add python-tree-sitter Nicolas Graves via Guix-patches via
2023-06-05 13:51 ` Jean Pierre De Jesus DIAZ via Guix-patches via [this message]
2023-06-06  8:35 ` [bug#63906] [PATCH v2] " Nicolas Graves via Guix-patches via
2023-07-01 21:37   ` bug#63906: [PATCH] " Ludovic Courtès

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='jfgK_sU-pGb2marRGPDAacwdfHlkYjOLGvPIj-uX6X2e1FfDXse86txKqAUK3-r4bul1C4BUUp2EAdqMwJdR9ETWvD4Kgnw_bbIhpNLoNiw=@jeandudey.tech' \
    --to=guix-patches@gnu.org \
    --cc=63906@debbugs.gnu.org \
    --cc=me@jeandudey.tech \
    --cc=ngraves@ngraves.fr \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).