public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 3/3] dev-libs/tree-sitter-cpp: restrict tests
@ 2022-12-03 18:30 matoro
  0 siblings, 0 replies; only message in thread
From: matoro @ 2022-12-03 18:30 UTC (permalink / raw
  To: Gentoo Dev

Requires sample files from tree-sitter-c to be available, but these
files are not installed with dev-libs/tree-sitter-c, and are instead
expected to be pulled down via making the tree-sitter-c javascript
wrapper package a dependency in package.json.  However since we invoke
"tree-sitter test" directly rather than via "npm test" the source
package for tree-sitter-c will not be available.

Bug: https://bugs.gentoo.org/844223
See: https://github.com/gentoo/gentoo/pull/28529
Signed-off-by: Matoro Mahri <matoro@users.noreply.github.com>
---
  dev-libs/tree-sitter-cpp/tree-sitter-cpp-0.20.0.ebuild | 3 +++
  1 file changed, 3 insertions(+)

diff --git a/dev-libs/tree-sitter-cpp/tree-sitter-cpp-0.20.0.ebuild 
b/dev-libs/tree-sitter-cpp/tree-sitter-cpp-0.20.0.ebuild
index dd304585137..654df3497df 100644
--- a/dev-libs/tree-sitter-cpp/tree-sitter-cpp-0.20.0.ebuild
+++ b/dev-libs/tree-sitter-cpp/tree-sitter-cpp-0.20.0.ebuild
@@ -11,3 +11,6 @@ 
HOMEPAGE="https://github.com/tree-sitter/tree-sitter-cpp"
  LICENSE="MIT"
  SLOT="0"
  KEYWORDS="amd64"
+
+# requires test data from tree-sitter-c
+RESTRICT="test"
-- 
2.38.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-03 18:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-03 18:30 [gentoo-dev] [PATCH 3/3] dev-libs/tree-sitter-cpp: restrict tests matoro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox