summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/tree-sitter')
-rw-r--r--dev-python/tree-sitter/tree-sitter-0.20.1-r1.ebuild (renamed from dev-python/tree-sitter/tree-sitter-0.20.1.ebuild)8
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-python/tree-sitter/tree-sitter-0.20.1.ebuild b/dev-python/tree-sitter/tree-sitter-0.20.1-r1.ebuild
index 8388598b62b2..f7fa52853dbd 100644
--- a/dev-python/tree-sitter/tree-sitter-0.20.1.ebuild
+++ b/dev-python/tree-sitter/tree-sitter-0.20.1-r1.ebuild
@@ -32,8 +32,12 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
-RDEPEND="dev-libs/tree-sitter:="
-DEPEND="${RDEPEND}"
+DEPEND="dev-libs/tree-sitter:="
+RDEPEND="${DEPEND}
+ $(python_gen_cond_dep '
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ ' 3.12)
+"
distutils_enable_tests unittest