Gentoo Archives: gentoo-commits

From: Matthew Smith <matthew@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/tree-sitter/
Date: Sun, 27 Feb 2022 16:47:10
Message-Id: 1645980414.59ff2e8382d1a36c9185d42dc82485cb0c76ab52.matthew@gentoo
1 commit: 59ff2e8382d1a36c9185d42dc82485cb0c76ab52
2 Author: Matthew Smith <matthew <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 27 16:45:00 2022 +0000
4 Commit: Matthew Smith <matthew <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 27 16:46:54 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59ff2e83
7
8 dev-libs/tree-sitter: drop 0.20.2
9
10 Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>
11
12 dev-libs/tree-sitter/tree-sitter-0.20.2.ebuild | 171 -------------------------
13 1 file changed, 171 deletions(-)
14
15 diff --git a/dev-libs/tree-sitter/tree-sitter-0.20.2.ebuild b/dev-libs/tree-sitter/tree-sitter-0.20.2.ebuild
16 deleted file mode 100644
17 index f85c79757058..000000000000
18 --- a/dev-libs/tree-sitter/tree-sitter-0.20.2.ebuild
19 +++ /dev/null
20 @@ -1,171 +0,0 @@
21 -# Copyright 1999-2022 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=8
25 -
26 -CARGO_OPTIONAL=1
27 -
28 -CRATES="
29 - aho-corasick-0.7.15
30 - ansi_term-0.11.0
31 - ansi_term-0.12.1
32 - anyhow-1.0.40
33 - arrayref-0.3.6
34 - arrayvec-0.5.2
35 - ascii-1.0.0
36 - atty-0.2.14
37 - autocfg-1.0.1
38 - base64-0.13.0
39 - bitflags-1.2.1
40 - blake2b_simd-0.5.11
41 - bumpalo-3.6.1
42 - cc-1.0.67
43 - cfg-if-1.0.0
44 - chrono-0.4.19
45 - chunked_transfer-1.4.0
46 - clap-2.33.3
47 - constant_time_eq-0.1.5
48 - crossbeam-utils-0.8.3
49 - ctor-0.1.20
50 - diff-0.1.12
51 - difference-2.0.0
52 - dirs-3.0.1
53 - dirs-sys-0.3.5
54 - either-1.6.1
55 - form_urlencoded-1.0.1
56 - getrandom-0.1.16
57 - getrandom-0.2.2
58 - glob-0.3.0
59 - hashbrown-0.9.1
60 - hermit-abi-0.1.18
61 - html-escape-0.2.6
62 - idna-0.2.2
63 - indexmap-1.6.1
64 - itoa-0.4.7
65 - js-sys-0.3.48
66 - lazy_static-1.4.0
67 - libc-0.2.86
68 - libloading-0.7.0
69 - log-0.4.14
70 - matches-0.1.8
71 - memchr-2.3.4
72 - num-integer-0.1.44
73 - num-traits-0.2.14
74 - once_cell-1.7.0
75 - output_vt100-0.1.2
76 - percent-encoding-2.1.0
77 - ppv-lite86-0.2.10
78 - pretty_assertions-0.7.2
79 - proc-macro2-1.0.24
80 - quote-1.0.9
81 - rand-0.8.3
82 - rand_chacha-0.3.0
83 - rand_core-0.6.2
84 - rand_hc-0.3.0
85 - redox_syscall-0.1.57
86 - redox_syscall-0.2.5
87 - redox_users-0.3.5
88 - regex-1.4.3
89 - regex-syntax-0.6.22
90 - remove_dir_all-0.5.3
91 - rust-argon2-0.8.3
92 - rustc-hash-1.1.0
93 - ryu-1.0.5
94 - same-file-1.0.6
95 - serde-1.0.130
96 - serde_derive-1.0.130
97 - serde_json-1.0.63
98 - smallbitvec-2.5.1
99 - strsim-0.8.0
100 - syn-1.0.67
101 - tempfile-3.2.0
102 - textwrap-0.11.0
103 - thiserror-1.0.25
104 - thiserror-impl-1.0.25
105 - thread_local-1.1.3
106 - time-0.1.43
107 - tiny_http-0.8.0
108 - tinyvec-1.1.1
109 - tinyvec_macros-0.1.0
110 - toml-0.5.8
111 - unicode-bidi-0.3.4
112 - unicode-normalization-0.1.17
113 - unicode-width-0.1.8
114 - unicode-xid-0.2.1
115 - url-2.2.1
116 - utf8-width-0.1.4
117 - vec_map-0.8.2
118 - walkdir-2.3.1
119 - wasi-0.9.0+wasi-snapshot-preview1
120 - wasi-0.10.2+wasi-snapshot-preview1
121 - wasm-bindgen-0.2.71
122 - wasm-bindgen-backend-0.2.71
123 - wasm-bindgen-macro-0.2.71
124 - wasm-bindgen-macro-support-0.2.71
125 - wasm-bindgen-shared-0.2.71
126 - web-sys-0.3.48
127 - webbrowser-0.5.5
128 - which-4.1.0
129 - widestring-0.4.3
130 - winapi-0.3.9
131 - winapi-i686-pc-windows-gnu-0.4.0
132 - winapi-util-0.1.5
133 - winapi-x86_64-pc-windows-gnu-0.4.0
134 -"
135 -
136 -inherit toolchain-funcs cargo
137 -
138 -DESCRIPTION="Tree-sitter is a parser generator tool and an incremental parsing library"
139 -HOMEPAGE="https://github.com/tree-sitter/tree-sitter"
140 -
141 -if [[ ${PV} == *9999* ]]; then
142 - inherit git-r3
143 - EGIT_REPO_URI="https://github.com/${PN}/${PN}"
144 -else
145 - SRC_URI="
146 - https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
147 - ts-cli? ( $(cargo_crate_uris) )
148 - "
149 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
150 -fi
151 -
152 -LICENSE="MIT ts-cli? ( Apache-2.0 BSD-2 CC0-1.0 ISC MIT )"
153 -SLOT="0"
154 -
155 -IUSE="ts-cli"
156 -
157 -BDEPEND="ts-cli? ( virtual/rust )"
158 -
159 -PATCHES=(
160 - "${FILESDIR}/${PN}-No-static-libs-gentoo.patch"
161 -)
162 -
163 -src_unpack() {
164 - if [[ ${PV} == *9999* ]]; then
165 - git-r3_src_unpack
166 - use ts-cli && cargo_live_src_unpack
167 - else
168 - # behaves as default too, so it is ok to call it unconditonally
169 - cargo_src_unpack
170 - fi
171 -}
172 -
173 -src_prepare() {
174 - default
175 - tc-export CC
176 -}
177 -
178 -src_configure() {
179 - default
180 - use ts-cli && cargo_src_configure
181 -}
182 -
183 -src_compile() {
184 - default
185 - use ts-cli && cargo_src_compile
186 -}
187 -
188 -src_install() {
189 - emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" install
190 - use ts-cli && cargo_src_install --path "./cli"
191 -}