summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrahmajit Das <brahmajit.xyz@gmail.com>2024-06-10 11:32:32 +0000
committerMatthew Smith <matthew@gentoo.org>2024-06-11 16:53:18 +0000
commit7bb981c09c2752290d66fc0fd898abcfb1e674a8 (patch)
tree9deeb5fd97e5beab12aee11317494d5136a67221 /dev-libs/tree-sitter-markdown-inline
parentdev-libs/tree-sitter-markdown: new package, add 0.2.3 (diff)
downloadgentoo-7bb981c09c2752290d66fc0fd898abcfb1e674a8.tar.gz
gentoo-7bb981c09c2752290d66fc0fd898abcfb1e674a8.tar.bz2
gentoo-7bb981c09c2752290d66fc0fd898abcfb1e674a8.zip
dev-libs/tree-sitter-markdown-inline: new package, add 0.2.3
Closes: https://bugs.gentoo.org/933833 Closes: https://bugs.gentoo.org/922146 Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Signed-off-by: Matthew Smith <matthew@gentoo.org>
Diffstat (limited to 'dev-libs/tree-sitter-markdown-inline')
-rw-r--r--dev-libs/tree-sitter-markdown-inline/Manifest1
-rw-r--r--dev-libs/tree-sitter-markdown-inline/metadata.xml23
-rw-r--r--dev-libs/tree-sitter-markdown-inline/tree-sitter-markdown-inline-0.2.3.ebuild25
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-libs/tree-sitter-markdown-inline/Manifest b/dev-libs/tree-sitter-markdown-inline/Manifest
new file mode 100644
index 000000000000..5a28acb03ed5
--- /dev/null
+++ b/dev-libs/tree-sitter-markdown-inline/Manifest
@@ -0,0 +1 @@
+DIST tree-sitter-markdown-0.2.3.tar.gz 418293 BLAKE2B 803c35b697f19225a887e2839921235155920e7bb7d851406275da436407b3a19a0122ae03ae67722f66f80b4e88099c23f403f4318629224ae3473bfbb29ffe SHA512 8b6849d6dc964c82e45c3d18599d9f3e0ee9656a5085a9ec47f72d0343969e379ce190628a04dae64cb4ecdca2497e6d33ca7175e1f73796742a3ee6ffea743f
diff --git a/dev-libs/tree-sitter-markdown-inline/metadata.xml b/dev-libs/tree-sitter-markdown-inline/metadata.xml
new file mode 100644
index 000000000000..b1d03c5dd240
--- /dev/null
+++ b/dev-libs/tree-sitter-markdown-inline/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>matthew@gentoo.org</email>
+ <name>Matthew Smith</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>sarnex@gentoo.org</email>
+ <name>Nick Sarnie</name>
+ </maintainer>
+ <maintainer type="person" proxied="yes">
+ <email>brahmajit.xyz@gmail.com</email>
+ <name>Brahmajit Das</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">tree-sitter-grammars/tree-sitter-markdown_inline</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-libs/tree-sitter-markdown-inline/tree-sitter-markdown-inline-0.2.3.ebuild b/dev-libs/tree-sitter-markdown-inline/tree-sitter-markdown-inline-0.2.3.ebuild
new file mode 100644
index 000000000000..14b18f4df9f2
--- /dev/null
+++ b/dev-libs/tree-sitter-markdown-inline/tree-sitter-markdown-inline-0.2.3.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+TS_BINDINGS=( python )
+
+inherit tree-sitter-grammar
+
+MY_PN=tree-sitter-markdown
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Lua grammar for Tree-sitter"
+HOMEPAGE="https://github.com/tree-sitter-grammars/tree-sitter-markdown"
+SRC_URI="https://github.com/tree-sitter-grammars/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
+S="${WORKDIR}"/${MY_P}/${MY_PN}-inline
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# Running the tests requires extensions to be enabled, but the parser
+# generated by upstream does not include the extensions.
+# https://github.com/tree-sitter-grammars/tree-sitter-markdown/issues/136
+RESTRICT="test"