Skip to content

Commit 578b47c

Browse files
committed
app-text/mdbook: add 0.4.30
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
1 parent 114b4e6 commit 578b47c

File tree

2 files changed

+281
-0
lines changed

2 files changed

+281
-0
lines changed

app-text/mdbook/Manifest

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ DIST markup5ever-0.11.0.crate 34667 BLAKE2B 7a4e9c860949296912616fab105b688fc5ad
149149
DIST markup5ever_rcdom-0.2.0.crate 222948 BLAKE2B 2105ceee730f5fbb3c14ddb7bfe8ee5139febc870e37e9ea169f107ac8060ee4f5782b185310bada5f646600c2b8bb7fbed144c056e5b437133443f62a04ad99 SHA512 bf21aee14ec41ea9ac5a5645285173394a561c34311f4b4a7f3c2e8fb32a54a777e4913c985daa2f693bb7b1aaf799d45ab9a6f359b900d2bb916b1ff376fbe4
150150
DIST mdbook-0.4.28.tar.gz 1518890 BLAKE2B edabc227d28e7e4e38299e5e9e1973dd8f6cf533e9f21bbda01a5357376032da2319bc86bc2077b85ddb65317c4cd5e6d03e0dd67cdf51dc10e15426febd0330 SHA512 91c82aabd9b422c3714257a2de415f74b5091ef114586281e1adfdfa9d385e416c483d4f2c2ef052e9bd86234ca78f63f26ad24abcaeae05abebac0483f824ea
151151
DIST mdbook-0.4.29.tar.gz 1522049 BLAKE2B 1190d90493c5c58bf7dece1eb8a073a2ec457df1761c6311d0fee41f50f5c06f71af8c94eb8f37b198a15afacb411b74eca26ae8957e61f75c8b2a483faec007 SHA512 3917f212fe1070216824d9df69b3b110c1d74f7901bb7f35a7153759d60fd187c0b588cf90c389e5d6080d6011ebb227f25e11c1a9ed41a3126d7f8bc274d1e7
152+
DIST mdbook-0.4.30.tar.gz 1524241 BLAKE2B 45ecd836deae0fb8fbc2c7b3d8cd65df2bdf491ec5d30aba9b9fb1d3e76fcab58e3f6f9fecf08833ffc3a620d433f394d19e690877a633403199c1c8cd48a8cb SHA512 251b1a5a1dc44301d350033a0a63a12cf2188d08ff1b889a01657d9a16eab14cc4f97adcd735e6d301295807a9f2dc79355645f51a9c892ec479ca46f7f652f6
152153
DIST memchr-2.5.0.crate 65812 BLAKE2B 57966413a1f933dcb2d2d4ccb29c247070f65a83299b2a9f5aa83f5a48a5c5f1c4c7c632fa63bd19f9508e9291e7258db2f16e2813a56fd84e0856f70f1e67ab SHA512 444a163b484c233e78c0e2e4d51f01ce2da93d7d29f516a95e4b0866b20bdfd3f34137653abed53eb70387991ee3e2b5937d8d4360a85bbcb50a93005a75defa
153154
DIST mime-0.3.16.crate 15206 BLAKE2B 9a599ca82fd0dd6d3d2dea68a47b8441b1024d016ee1fb23cc6431b39ead20c9b3fe1ff3397af79c2c1b2cd277c440d4fff69f6b28c550ddbe15f680923c834b SHA512 cb1d691610cb82720e553247336fc5eab63407ad37febf2eb50aaa4e329cca70959ecd8bb8c7af5753acec2c8e86fc9a0f8ad9ad2de93fe9295ce84033d6054c
154155
DIST mime-0.3.17.crate 15712 BLAKE2B abb892b75b40657d356b6b53b9a45b2c822a05873453e919f2bbfeed9e5c06104f24db9cef2716f302198020870eaf96b2c62aff55cc11d8ca4f4f614d7c8e17 SHA512 e6d2ca92bb58fc747c1bb65a7f9023e5dbf4b94966003a72e4913bcaaeccdd6752725cdbd5081e0fd69d9e8f364d79664fcbe70061737d5c39e5b3e3a154a0d1
@@ -201,6 +202,7 @@ DIST pretty_assertions-1.3.0.crate 79441 BLAKE2B e9d29267ee77532de9432f075daab70
201202
DIST proc-macro2-1.0.47.crate 41955 BLAKE2B dbfc20b61443225130d08b05deeba56e63e76921e56359c9b0531798b18778d6ddcb56c3372fb6ccc68586a6c1dc725054f0e83f93e8623cb5ff6a7a2ed3dc83 SHA512 60c5d0dcbdee7ddab40664882d3cf5a868f7ea5b49ebab3b4419c3f325582b816625e73e0d1737bbd46bd7d765ece6c81c2ff4be894555d4b255f5cb9255e931
202203
DIST proc-macro2-1.0.56.crate 44454 BLAKE2B b2a1f28979245a784a4b3a0af8cb04bd01ef3e7aba32c45122fc05a6cceddb1b7303890827f1a2cb99b0b2ae013cd772bffd6e94ea226f0030cde867d6c22aad SHA512 511fd8332eca47ed834736d405e18d53d83642cf528bebb8fd67fa5561e19b0a43c359b3e8020ecd28f9fafdb065c484ca360abc0287a0f97e94d4f779145f03
203204
DIST pulldown-cmark-0.9.2.crate 115824 BLAKE2B cc8b8cac890b333a864ecb1444128b1aa187392b296c54ccb0c3048d79d17aa7f53bd0ac31f0c6492544ea78636deefaf3ad44804a1c79008e17b27fe1e61fad SHA512 2268a3284da5def75b906373a3c70927bc68ecde7b641231d96ff9437785732134568abaf0b6f81c582dc56498da4e677a7b2e2f1914cd42b345db0a06d75c60
205+
DIST pulldown-cmark-0.9.3.crate 117339 BLAKE2B 0b4105a9452139865723a66e434804da7fec35771a90335debe579164ce7ddd78192949db77ad5427ff80b44805a8fa5ca497e6b4111344aaa014faaa508904f SHA512 2f5acf1b6f345ea2f82c6daeb4b73c93c2772dcfb7ccff6fba9e51b8840b0662202eb3bd1c917f8f81be1ba86b58fb3d5f87616dbdca991e0ef6fc249dc888fe
204206
DIST quote-1.0.21.crate 28030 BLAKE2B 547344ba9272874f5fbb4bd27a69ef5be99823e10e1318afe71971b18f37e9c73d54168f16efb82c53a332e4874c80a82ea951fb2c85fad50cdfe783622b79fc SHA512 0728eb4df7e1f7c4d32ab08c901c2c969db8eb46b03bcec3e4956a4f6b360939d32abc6b6ebd7a31058e8e9b69c3d995a24cb484f93656f05b4ee963be1c74fc
205207
DIST quote-1.0.27.crate 28416 BLAKE2B 68715000ad56f93c573ebacfbad0987054ef7716e10144cc8de47636812271060e3aa8f0754d105abef46a27024cda03a7054f11cbdecf110735ef845dc59a31 SHA512 5fb5802aa667c60d1a721766081b01bfd6cd929db7a5d71cb74627c2325f7108740752e514db73fb3612c163840e60ef2d4bde31c41978f3d77605418bdf2b4a
206208
DIST rand-0.8.5.crate 87113 BLAKE2B 516f26bb2a969d0d79e957818133f35d2c0b4d9f1b401098ea23c5b80d27599e842b9298c0c5e46e2a6cb6953857bf8a9fb71ec9366c5ce6708cf17df14f179c SHA512 8b33a8988906ba5e2057a9a84bdd11f867a5536c22f5056eec59ed4ec4e3a6da2fd773da4c0510d343762e5a4ea0f007db4c4a7cef87a47f90e36c1a84d86fb2

app-text/mdbook/mdbook-0.4.30.ebuild

Lines changed: 279 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,279 @@
1+
# Copyright 2021-2023 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
6+
CRATES="
7+
aho-corasick-0.7.20
8+
aho-corasick-1.0.1
9+
ammonia-3.3.0
10+
android_system_properties-0.1.5
11+
anstream-0.3.2
12+
anstyle-1.0.0
13+
anstyle-parse-0.2.0
14+
anstyle-query-1.0.0
15+
anstyle-wincon-1.0.1
16+
anyhow-1.0.71
17+
assert_cmd-2.0.11
18+
autocfg-1.1.0
19+
base64-0.13.1
20+
base64-0.21.0
21+
bit-set-0.5.3
22+
bit-vec-0.6.3
23+
bitflags-1.3.2
24+
block-buffer-0.10.4
25+
bstr-1.4.0
26+
bumpalo-3.12.2
27+
byteorder-1.4.3
28+
bytes-1.4.0
29+
cc-1.0.79
30+
cfg-if-1.0.0
31+
chrono-0.4.24
32+
clap-4.2.7
33+
clap_builder-4.2.7
34+
clap_complete-4.2.3
35+
clap_lex-0.4.1
36+
colorchoice-1.0.0
37+
core-foundation-sys-0.8.4
38+
cpufeatures-0.2.7
39+
crossbeam-channel-0.5.8
40+
crossbeam-utils-0.8.15
41+
crypto-common-0.1.6
42+
ctor-0.1.26
43+
diff-0.1.13
44+
difflib-0.4.0
45+
digest-0.10.6
46+
doc-comment-0.3.3
47+
either-1.8.1
48+
elasticlunr-rs-3.0.2
49+
env_logger-0.10.0
50+
errno-0.2.8
51+
errno-0.3.1
52+
errno-dragonfly-0.1.2
53+
fastrand-1.9.0
54+
filetime-0.2.21
55+
float-cmp-0.9.0
56+
fnv-1.0.7
57+
form_urlencoded-1.1.0
58+
fsevent-sys-4.1.0
59+
futf-0.1.5
60+
futures-channel-0.3.28
61+
futures-core-0.3.28
62+
futures-macro-0.3.28
63+
futures-sink-0.3.28
64+
futures-task-0.3.28
65+
futures-util-0.3.28
66+
generic-array-0.14.7
67+
getrandom-0.2.9
68+
globset-0.4.10
69+
h2-0.3.19
70+
handlebars-4.3.7
71+
hashbrown-0.12.3
72+
headers-0.3.8
73+
headers-core-0.2.0
74+
hermit-abi-0.2.6
75+
hermit-abi-0.3.1
76+
html5ever-0.26.0
77+
http-0.2.9
78+
http-body-0.4.5
79+
httparse-1.8.0
80+
httpdate-1.0.2
81+
humantime-2.1.0
82+
hyper-0.14.26
83+
iana-time-zone-0.1.56
84+
iana-time-zone-haiku-0.1.2
85+
idna-0.3.0
86+
ignore-0.4.20
87+
indexmap-1.9.3
88+
inotify-0.9.6
89+
inotify-sys-0.1.5
90+
instant-0.1.12
91+
io-lifetimes-1.0.10
92+
is-terminal-0.4.7
93+
itertools-0.10.5
94+
itoa-1.0.6
95+
js-sys-0.3.62
96+
kqueue-1.0.7
97+
kqueue-sys-1.0.3
98+
lazy_static-1.4.0
99+
libc-0.2.144
100+
linux-raw-sys-0.1.4
101+
linux-raw-sys-0.3.7
102+
lock_api-0.4.9
103+
log-0.4.17
104+
mac-0.1.1
105+
maplit-1.0.2
106+
markup5ever-0.11.0
107+
markup5ever_rcdom-0.2.0
108+
memchr-2.5.0
109+
mime-0.3.17
110+
mime_guess-2.0.4
111+
mio-0.8.5
112+
new_debug_unreachable-1.0.4
113+
normalize-line-endings-0.3.0
114+
notify-5.1.0
115+
notify-debouncer-mini-0.2.1
116+
num-integer-0.1.45
117+
num-traits-0.2.15
118+
num_cpus-1.15.0
119+
once_cell-1.17.1
120+
opener-0.5.2
121+
output_vt100-0.1.3
122+
parking_lot-0.12.1
123+
parking_lot_core-0.9.6
124+
percent-encoding-2.2.0
125+
pest-2.6.0
126+
pest_derive-2.6.0
127+
pest_generator-2.6.0
128+
pest_meta-2.6.0
129+
phf-0.10.1
130+
phf_codegen-0.10.0
131+
phf_generator-0.10.0
132+
phf_shared-0.10.0
133+
pin-project-1.1.0
134+
pin-project-internal-1.1.0
135+
pin-project-lite-0.2.9
136+
pin-utils-0.1.0
137+
ppv-lite86-0.2.17
138+
precomputed-hash-0.1.1
139+
predicates-2.1.5
140+
predicates-3.0.3
141+
predicates-core-1.0.6
142+
predicates-tree-1.0.9
143+
pretty_assertions-1.3.0
144+
proc-macro2-1.0.56
145+
pulldown-cmark-0.9.3
146+
quote-1.0.27
147+
rand-0.8.5
148+
rand_chacha-0.3.1
149+
rand_core-0.6.4
150+
redox_syscall-0.2.16
151+
regex-1.8.1
152+
regex-automata-0.1.10
153+
regex-syntax-0.7.1
154+
rustix-0.36.7
155+
rustix-0.37.19
156+
rustls-pemfile-1.0.2
157+
ryu-1.0.13
158+
same-file-1.0.6
159+
scoped-tls-1.0.1
160+
scopeguard-1.1.0
161+
select-0.6.0
162+
semver-1.0.17
163+
serde-1.0.163
164+
serde_derive-1.0.163
165+
serde_json-1.0.96
166+
serde_urlencoded-0.7.1
167+
sha1-0.10.5
168+
sha2-0.10.6
169+
shlex-1.1.0
170+
siphasher-0.3.10
171+
slab-0.4.8
172+
smallvec-1.10.0
173+
socket2-0.4.9
174+
string_cache-0.8.7
175+
string_cache_codegen-0.5.2
176+
strsim-0.10.0
177+
syn-1.0.105
178+
syn-2.0.15
179+
tempfile-3.4.0
180+
tendril-0.4.3
181+
termcolor-1.2.0
182+
terminal_size-0.2.6
183+
termtree-0.4.1
184+
thiserror-1.0.40
185+
thiserror-impl-1.0.40
186+
thread_local-1.1.7
187+
tinyvec-1.6.0
188+
tinyvec_macros-0.1.1
189+
tokio-1.28.1
190+
tokio-macros-2.1.0
191+
tokio-stream-0.1.14
192+
tokio-tungstenite-0.18.0
193+
tokio-util-0.7.8
194+
toml-0.5.11
195+
topological-sort-0.2.2
196+
tower-service-0.3.2
197+
tracing-0.1.37
198+
tracing-core-0.1.31
199+
try-lock-0.2.4
200+
tungstenite-0.18.0
201+
typenum-1.16.0
202+
ucd-trie-0.1.5
203+
unicase-2.6.0
204+
unicode-bidi-0.3.13
205+
unicode-ident-1.0.8
206+
unicode-normalization-0.1.22
207+
url-2.3.1
208+
utf-8-0.7.6
209+
utf8parse-0.2.1
210+
version_check-0.9.4
211+
wait-timeout-0.2.0
212+
walkdir-2.3.3
213+
want-0.3.0
214+
warp-0.3.5
215+
wasi-0.11.0+wasi-snapshot-preview1
216+
wasm-bindgen-0.2.85
217+
wasm-bindgen-backend-0.2.85
218+
wasm-bindgen-macro-0.2.85
219+
wasm-bindgen-macro-support-0.2.85
220+
wasm-bindgen-shared-0.2.85
221+
winapi-0.3.9
222+
winapi-i686-pc-windows-gnu-0.4.0
223+
winapi-util-0.1.5
224+
winapi-x86_64-pc-windows-gnu-0.4.0
225+
windows-0.48.0
226+
windows-sys-0.42.0
227+
windows-sys-0.48.0
228+
windows-targets-0.48.0
229+
windows_aarch64_gnullvm-0.42.0
230+
windows_aarch64_gnullvm-0.48.0
231+
windows_aarch64_msvc-0.42.0
232+
windows_aarch64_msvc-0.48.0
233+
windows_i686_gnu-0.42.0
234+
windows_i686_gnu-0.48.0
235+
windows_i686_msvc-0.42.0
236+
windows_i686_msvc-0.48.0
237+
windows_x86_64_gnu-0.42.0
238+
windows_x86_64_gnu-0.48.0
239+
windows_x86_64_gnullvm-0.42.0
240+
windows_x86_64_gnullvm-0.48.0
241+
windows_x86_64_msvc-0.42.0
242+
windows_x86_64_msvc-0.48.0
243+
xml5ever-0.17.0
244+
yansi-0.5.1"
245+
inherit cargo toolchain-funcs
246+
247+
DESCRIPTION="Create a book from markdown files"
248+
HOMEPAGE="https://rust-lang.github.io/mdBook/"
249+
SRC_URI="
250+
https://github.com/rust-lang/mdBook/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
251+
$(cargo_crate_uris)"
252+
S="${WORKDIR}/${P/b/B}"
253+
254+
# CC-BY-4.0/OFL-1.1: embeds fonts inside the executable
255+
LICENSE="Apache-2.0 Artistic-2 BSD CC-BY-4.0 CC0-1.0 ISC MIT MPL-2.0 OFL-1.1 Unicode-DFS-2016"
256+
SLOT="0"
257+
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
258+
IUSE="doc"
259+
260+
QA_FLAGS_IGNORED="usr/bin/${PN}"
261+
262+
src_compile() {
263+
cargo_src_compile
264+
265+
if use doc; then
266+
if tc-is-cross-compiler; then
267+
ewarn "html docs were skipped due to cross-compilation"
268+
else
269+
target/$(usex debug{,} release)/${PN} build -d html guide || die
270+
fi
271+
fi
272+
}
273+
274+
src_install() {
275+
cargo_src_install
276+
277+
dodoc CHANGELOG.md README.md
278+
use doc && ! tc-is-cross-compiler && dodoc -r guide/html
279+
}

0 commit comments

Comments
 (0)