16 |
16 |
# - rust/serde_bser/Cargo.toml
|
17 |
17 |
# - cli/Cargo.toml
|
18 |
18 |
CRATES="
|
19 |
|
ahash-0.8.3
|
20 |
|
aho-corasick-0.7.20
|
21 |
|
android_system_properties-0.1.5
|
22 |
|
ansi_term-0.12.1
|
23 |
|
anyhow-1.0.70
|
24 |
|
atty-0.2.14
|
25 |
|
autocfg-1.1.0
|
26 |
|
base64-0.10.1
|
27 |
|
bitflags-1.3.2
|
28 |
|
bumpalo-3.12.0
|
29 |
|
byteorder-1.4.3
|
30 |
|
bytes-1.4.0
|
31 |
|
cc-1.0.79
|
32 |
|
cfg-if-1.0.0
|
33 |
|
chrono-0.4.24
|
34 |
|
clap-2.34.0
|
35 |
|
codespan-reporting-0.11.1
|
36 |
|
core-foundation-sys-0.8.4
|
37 |
|
crossbeam-0.8.2
|
38 |
|
crossbeam-channel-0.5.8
|
39 |
|
crossbeam-deque-0.8.3
|
40 |
|
crossbeam-epoch-0.9.14
|
41 |
|
crossbeam-queue-0.3.8
|
42 |
|
crossbeam-utils-0.8.15
|
43 |
|
cxx-1.0.94
|
44 |
|
cxxbridge-flags-1.0.94
|
45 |
|
cxxbridge-macro-1.0.94
|
46 |
|
cxx-build-1.0.94
|
47 |
|
deelevate-0.1.1
|
48 |
|
dirs-4.0.0
|
49 |
|
dirs-sys-0.3.7
|
50 |
|
duct-0.13.6
|
51 |
|
either-1.8.1
|
52 |
|
embed-resource-1.8.0
|
53 |
|
filedescriptor-0.7.3
|
54 |
|
fnv-1.0.7
|
55 |
|
futures-0.1.31
|
56 |
|
futures-0.3.28
|
57 |
|
futures-channel-0.3.28
|
58 |
|
futures-core-0.3.28
|
59 |
|
futures-executor-0.3.28
|
60 |
|
futures-io-0.3.28
|
61 |
|
futures-macro-0.3.28
|
62 |
|
futures-sink-0.3.28
|
63 |
|
futures-task-0.3.28
|
64 |
|
futures-util-0.3.28
|
65 |
|
getrandom-0.1.16
|
66 |
|
getrandom-0.2.9
|
67 |
|
heck-0.3.3
|
68 |
|
hermit-abi-0.1.19
|
69 |
|
hermit-abi-0.2.6
|
70 |
|
iana-time-zone-0.1.56
|
71 |
|
iana-time-zone-haiku-0.1.1
|
72 |
|
itoa-1.0.6
|
73 |
|
js-sys-0.3.61
|
74 |
|
jwalk-0.6.2
|
75 |
|
lazy_static-1.4.0
|
76 |
|
libc-0.2.141
|
77 |
|
link-cplusplus-1.0.8
|
78 |
|
lock_api-0.4.9
|
79 |
|
log-0.4.17
|
80 |
|
maplit-1.0.2
|
81 |
|
maybe-uninit-2.0.0
|
82 |
|
memchr-2.5.0
|
83 |
|
memmem-0.1.1
|
84 |
|
memoffset-0.6.5
|
85 |
|
memoffset-0.8.0
|
86 |
|
mio-0.8.6
|
87 |
|
nix-0.25.1
|
88 |
|
nom-5.1.2
|
89 |
|
ntapi-0.4.0
|
90 |
|
num-0.2.1
|
91 |
|
num-bigint-0.2.6
|
92 |
|
num-complex-0.2.4
|
93 |
|
num_cpus-1.15.0
|
94 |
|
num-derive-0.2.5
|
95 |
|
num-integer-0.1.45
|
96 |
|
num-iter-0.1.43
|
97 |
|
num-rational-0.2.4
|
98 |
|
num-traits-0.2.15
|
99 |
|
once_cell-1.17.1
|
100 |
|
ordered-float-1.1.1
|
101 |
|
os_pipe-1.1.3
|
102 |
|
parking_lot-0.12.1
|
103 |
|
parking_lot_core-0.9.7
|
104 |
|
pathsearch-0.2.0
|
105 |
|
phf-0.11.1
|
106 |
|
phf_codegen-0.11.1
|
107 |
|
phf_generator-0.11.1
|
108 |
|
phf_shared-0.11.1
|
109 |
|
pin-project-lite-0.2.9
|
110 |
|
pin-utils-0.1.0
|
111 |
|
ppv-lite86-0.2.17
|
112 |
|
proc-macro2-0.4.30
|
113 |
|
proc-macro2-1.0.56
|
114 |
|
proc-macro-error-1.0.4
|
115 |
|
proc-macro-error-attr-1.0.4
|
116 |
|
quote-0.6.13
|
117 |
|
quote-1.0.26
|
118 |
|
rand-0.7.3
|
119 |
|
rand-0.8.5
|
120 |
|
rand_chacha-0.2.2
|
121 |
|
rand_core-0.5.1
|
122 |
|
rand_core-0.6.4
|
123 |
|
rand_hc-0.2.0
|
124 |
|
rayon-1.7.0
|
125 |
|
rayon-core-1.11.0
|
126 |
|
redox_syscall-0.2.16
|
127 |
|
redox_users-0.4.3
|
128 |
|
regex-1.7.3
|
129 |
|
regex-syntax-0.6.29
|
130 |
|
rustc_version-0.4.0
|
131 |
|
ryu-1.0.13
|
132 |
|
scopeguard-1.1.0
|
133 |
|
scratch-1.0.5
|
134 |
|
semver-0.9.0
|
135 |
|
semver-1.0.17
|
136 |
|
semver-parser-0.7.0
|
137 |
|
serde-1.0.160
|
138 |
|
serde_bytes-0.11.9
|
139 |
|
serde_derive-1.0.160
|
140 |
|
serde_json-1.0.96
|
141 |
|
shared_child-1.0.0
|
142 |
|
shared_library-0.1.9
|
143 |
|
signal-hook-0.1.17
|
144 |
|
signal-hook-registry-1.4.1
|
145 |
|
siphasher-0.3.10
|
146 |
|
slab-0.4.8
|
147 |
|
smallvec-0.6.14
|
148 |
|
smallvec-1.10.0
|
149 |
|
socket2-0.4.9
|
150 |
|
strsim-0.8.0
|
151 |
|
structopt-0.3.26
|
152 |
|
structopt-derive-0.4.18
|
153 |
|
syn-0.15.44
|
154 |
|
syn-1.0.109
|
155 |
|
syn-2.0.15
|
156 |
|
sysinfo-0.26.9
|
157 |
|
tabular-0.2.0
|
158 |
|
termcolor-1.2.0
|
159 |
|
terminfo-0.7.5
|
160 |
|
termios-0.3.3
|
161 |
|
termwiz-0.8.0
|
162 |
|
textwrap-0.11.0
|
163 |
|
thiserror-1.0.40
|
164 |
|
thiserror-impl-1.0.40
|
165 |
|
time-0.1.45
|
166 |
|
tokio-1.27.0
|
167 |
|
tokio-macros-2.0.0
|
168 |
|
tokio-util-0.6.10
|
169 |
|
toml-0.5.11
|
170 |
|
tracing-0.1.37
|
171 |
|
tracing-core-0.1.30
|
172 |
|
unicode-ident-1.0.8
|
173 |
|
unicode-segmentation-1.10.1
|
174 |
|
unicode-width-0.1.10
|
175 |
|
unicode-xid-0.1.0
|
176 |
|
utf8parse-0.1.1
|
177 |
|
vec_map-0.8.2
|
178 |
|
vergen-3.2.0
|
179 |
|
version_check-0.9.4
|
180 |
|
vswhom-0.1.0
|
181 |
|
vswhom-sys-0.1.2
|
182 |
|
vtparse-0.2.2
|
183 |
|
wasi-0.10.0+wasi-snapshot-preview1
|
184 |
|
wasi-0.11.0+wasi-snapshot-preview1
|
185 |
|
wasi-0.9.0+wasi-snapshot-preview1
|
186 |
|
wasm-bindgen-0.2.84
|
187 |
|
wasm-bindgen-backend-0.2.84
|
188 |
|
wasm-bindgen-macro-0.2.84
|
189 |
|
wasm-bindgen-macro-support-0.2.84
|
190 |
|
wasm-bindgen-shared-0.2.84
|
191 |
|
winapi-0.3.9
|
192 |
|
winapi-i686-pc-windows-gnu-0.4.0
|
193 |
|
winapi-util-0.1.5
|
194 |
|
winapi-x86_64-pc-windows-gnu-0.4.0
|
195 |
|
windows-0.48.0
|
196 |
|
windows_aarch64_gnullvm-0.42.2
|
197 |
|
windows_aarch64_gnullvm-0.48.0
|
198 |
|
windows_aarch64_msvc-0.42.2
|
199 |
|
windows_aarch64_msvc-0.48.0
|
200 |
|
windows_i686_gnu-0.42.2
|
201 |
|
windows_i686_gnu-0.48.0
|
202 |
|
windows_i686_msvc-0.42.2
|
203 |
|
windows_i686_msvc-0.48.0
|
204 |
|
windows-sys-0.45.0
|
205 |
|
windows-targets-0.42.2
|
206 |
|
windows-targets-0.48.0
|
207 |
|
windows_x86_64_gnu-0.42.2
|
208 |
|
windows_x86_64_gnu-0.48.0
|
209 |
|
windows_x86_64_gnullvm-0.42.2
|
210 |
|
windows_x86_64_gnullvm-0.48.0
|
211 |
|
windows_x86_64_msvc-0.42.2
|
212 |
|
windows_x86_64_msvc-0.48.0
|
213 |
|
winreg-0.10.1
|
214 |
|
xi-unicode-0.2.1
|
|
19 |
ahash@0.8.3
|
|
20 |
ansi_term@0.12.1
|
|
21 |
anyhow@1.0.71
|
|
22 |
atty@0.2.14
|
|
23 |
autocfg@1.1.0
|
|
24 |
bitflags@1.3.2
|
|
25 |
byteorder@1.4.3
|
|
26 |
bytes@1.4.0
|
|
27 |
cfg-if@1.0.0
|
|
28 |
clap@2.34.0
|
|
29 |
core-foundation-sys@0.8.4
|
|
30 |
crossbeam-channel@0.5.8
|
|
31 |
crossbeam-deque@0.8.3
|
|
32 |
crossbeam-epoch@0.9.15
|
|
33 |
crossbeam-queue@0.3.8
|
|
34 |
crossbeam-utils@0.8.16
|
|
35 |
crossbeam@0.8.2
|
|
36 |
duct@0.13.6
|
|
37 |
either@1.8.1
|
|
38 |
futures-channel@0.3.28
|
|
39 |
futures-core@0.3.28
|
|
40 |
futures-executor@0.3.28
|
|
41 |
futures-io@0.3.28
|
|
42 |
futures-macro@0.3.28
|
|
43 |
futures-sink@0.3.28
|
|
44 |
futures-task@0.3.28
|
|
45 |
futures-util@0.3.28
|
|
46 |
futures@0.1.31
|
|
47 |
futures@0.3.28
|
|
48 |
getrandom@0.2.10
|
|
49 |
heck@0.3.3
|
|
50 |
hermit-abi@0.1.19
|
|
51 |
hermit-abi@0.2.6
|
|
52 |
itoa@1.0.6
|
|
53 |
jwalk@0.6.2
|
|
54 |
lazy_static@1.4.0
|
|
55 |
libc@0.2.146
|
|
56 |
lock_api@0.4.10
|
|
57 |
log@0.4.19
|
|
58 |
maplit@1.0.2
|
|
59 |
memchr@2.5.0
|
|
60 |
memoffset@0.6.5
|
|
61 |
memoffset@0.9.0
|
|
62 |
mio@0.8.8
|
|
63 |
nix@0.25.1
|
|
64 |
ntapi@0.4.1
|
|
65 |
num_cpus@1.15.0
|
|
66 |
once_cell@1.18.0
|
|
67 |
os_pipe@1.1.4
|
|
68 |
parking_lot@0.12.1
|
|
69 |
parking_lot_core@0.9.8
|
|
70 |
pin-project-lite@0.2.9
|
|
71 |
pin-utils@0.1.0
|
|
72 |
proc-macro-error-attr@1.0.4
|
|
73 |
proc-macro-error@1.0.4
|
|
74 |
proc-macro2@1.0.60
|
|
75 |
quote@1.0.28
|
|
76 |
rayon-core@1.11.0
|
|
77 |
rayon@1.7.0
|
|
78 |
redox_syscall@0.3.5
|
|
79 |
ryu@1.0.13
|
|
80 |
scopeguard@1.1.0
|
|
81 |
serde@1.0.164
|
|
82 |
serde_bytes@0.11.9
|
|
83 |
serde_derive@1.0.164
|
|
84 |
serde_json@1.0.99
|
|
85 |
shared_child@1.0.0
|
|
86 |
signal-hook-registry@1.4.1
|
|
87 |
slab@0.4.8
|
|
88 |
smallvec@1.10.0
|
|
89 |
socket2@0.4.9
|
|
90 |
strsim@0.8.0
|
|
91 |
structopt-derive@0.4.18
|
|
92 |
structopt@0.3.26
|
|
93 |
syn@1.0.109
|
|
94 |
syn@2.0.20
|
|
95 |
sysinfo@0.26.9
|
|
96 |
tabular@0.2.0
|
|
97 |
textwrap@0.11.0
|
|
98 |
thiserror-impl@1.0.40
|
|
99 |
thiserror@1.0.40
|
|
100 |
tokio-macros@2.1.0
|
|
101 |
tokio-util@0.6.10
|
|
102 |
tokio@1.28.2
|
|
103 |
tracing-core@0.1.31
|
|
104 |
tracing@0.1.37
|
|
105 |
unicode-ident@1.0.9
|
|
106 |
unicode-segmentation@1.10.1
|
|
107 |
unicode-width@0.1.10
|
|
108 |
vec_map@0.8.2
|
|
109 |
version_check@0.9.4
|
|
110 |
wasi@0.11.0+wasi-snapshot-preview1
|
|
111 |
winapi-i686-pc-windows-gnu@0.4.0
|
|
112 |
winapi-x86_64-pc-windows-gnu@0.4.0
|
|
113 |
winapi@0.3.9
|
|
114 |
windows-sys@0.48.0
|
|
115 |
windows-targets@0.48.0
|
|
116 |
windows_aarch64_gnullvm@0.48.0
|
|
117 |
windows_aarch64_msvc@0.48.0
|
|
118 |
windows_i686_gnu@0.48.0
|
|
119 |
windows_i686_msvc@0.48.0
|
|
120 |
windows_x86_64_gnu@0.48.0
|
|
121 |
windows_x86_64_gnullvm@0.48.0
|
|
122 |
windows_x86_64_msvc@0.48.0
|
215 |
123 |
"
|
216 |
124 |
|
217 |
125 |
DISTUTILS_USE_PEP517=setuptools
|
218 |
|
PYTHON_COMPAT=( python3_{9..11} )
|
|
126 |
PYTHON_COMPAT=( python3_{10..11} )
|
219 |
127 |
inherit cargo cmake distutils-r1 tmpfiles
|
220 |
128 |
|
221 |
129 |
DESCRIPTION="A file watching service"
|
222 |
130 |
HOMEPAGE="https://facebook.github.io/watchman/"
|
223 |
131 |
SRC_URI="https://github.com/facebook/watchman/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
224 |
|
SRC_URI+=" $(cargo_crate_uris)"
|
|
132 |
SRC_URI+=" ${CARGO_CRATE_URIS}"
|
225 |
133 |
|
226 |
134 |
LICENSE="Apache-2.0"
|
|
135 |
# Dependent crate licenses
|
|
136 |
LICENSE+="
|
|
137 |
MIT Unicode-DFS-2016
|
|
138 |
|| ( Apache-2.0 Boost-1.0 )
|
|
139 |
"
|
227 |
140 |
SLOT="0"
|
228 |
|
KEYWORDS="amd64"
|
|
141 |
KEYWORDS="~amd64"
|
229 |
142 |
IUSE="llvm-libunwind python"
|
230 |
143 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
231 |
144 |
|
... | ... | |
240 |
153 |
dev-libs/openssl:=
|
241 |
154 |
llvm-libunwind? ( sys-libs/llvm-libunwind:= )
|
242 |
155 |
!llvm-libunwind? ( sys-libs/libunwind:= )
|
243 |
|
python? ( ${PYTHON_DEPS} )"
|
|
156 |
python? ( ${PYTHON_DEPS} )
|
|
157 |
"
|
244 |
158 |
# TODO: Make gtest test-only (needs a fair bit of patching)
|
245 |
|
DEPEND="${RDEPEND}
|
246 |
|
dev-cpp/gtest"
|
|
159 |
DEPEND="
|
|
160 |
${RDEPEND}
|
|
161 |
dev-cpp/gtest
|
|
162 |
"
|
247 |
163 |
|
248 |
164 |
PATCHES=(
|
249 |
165 |
"${FILESDIR}"/${PN}-2023.01.16.00-python-working-dir.patch
|
250 |
166 |
"${FILESDIR}"/${PN}-2022.02.28.00-libatomic.patch
|
251 |
167 |
"${FILESDIR}"/${PN}-2022.08.08.00-musl-fsword-fix.patch
|
|
168 |
"${FILESDIR}"/${PN}-2023.06.19.00-rust-1.70-avoidance.patch
|
252 |
169 |
)
|
253 |
170 |
|
254 |
171 |
# Rust utility
|
... | ... | |
257 |
174 |
distutils_enable_tests unittest
|
258 |
175 |
|
259 |
176 |
src_prepare() {
|
|
177 |
# Avoid cargo_src_prepare
|
260 |
178 |
cmake_src_prepare
|
261 |
179 |
}
|
262 |
180 |
|