summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2020-12-12 00:41:39 -0700
committerTim Harder <radhermit@gentoo.org>2020-12-12 00:47:57 -0700
commit58a867661b09a5bf0f10ce49d84a7e067e130e7f (patch)
treedba80d3cf385987f8ea3b9b98249b41f71133d48 /dev-python/tree-sitter
parentdev-ruby/rubygems: add 3.2.0 (diff)
downloadgentoo-58a867661b09a5bf0f10ce49d84a7e067e130e7f.tar.gz
gentoo-58a867661b09a5bf0f10ce49d84a7e067e130e7f.tar.bz2
gentoo-58a867661b09a5bf0f10ce49d84a7e067e130e7f.zip
dev-python/tree-sitter: initial import
Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'dev-python/tree-sitter')
-rw-r--r--dev-python/tree-sitter/Manifest1
-rw-r--r--dev-python/tree-sitter/metadata.xml12
-rw-r--r--dev-python/tree-sitter/tree-sitter-0.2.0.ebuild21
3 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/tree-sitter/Manifest b/dev-python/tree-sitter/Manifest
new file mode 100644
index 000000000000..25671236c3cf
--- /dev/null
+++ b/dev-python/tree-sitter/Manifest
@@ -0,0 +1 @@
+DIST tree_sitter-0.2.0.tar.gz 110387 BLAKE2B 62bd0cac84626738c051a16a6e1d8bf18985850e9c0174794d060e09f289edcf5e6183da28ab3805713b7d55d63c2210cc0e53d022689b46a3770243acf08937 SHA512 1b5c1dd8855de00357b5e8fc9dc3cb826c1cd10bec499b2db26f50fe2249a9848e1641765ee9717c8eae88b8d091f0de79cdfabafdecbe8e666a05f63fefe4ba
diff --git a/dev-python/tree-sitter/metadata.xml b/dev-python/tree-sitter/metadata.xml
new file mode 100644
index 000000000000..b625d4c3ee51
--- /dev/null
+++ b/dev-python/tree-sitter/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">tree-sitter</remote-id>
+ <remote-id type="github">tree-sitter/py-tree-sitter</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/tree-sitter/tree-sitter-0.2.0.ebuild b/dev-python/tree-sitter/tree-sitter-0.2.0.ebuild
new file mode 100644
index 000000000000..ab1298830dc7
--- /dev/null
+++ b/dev-python/tree-sitter/tree-sitter-0.2.0.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6..9} )
+inherit distutils-r1
+
+MY_PN=${PN/-/_}
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Python bindings to the Tree-sitter parsing library"
+HOMEPAGE="https://github.com/tree-sitter/py-tree-sitter"
+SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DISTUTILS_USE_SETUPTOOLS=bdepend
+
+S="${WORKDIR}/${MY_P}"