diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-11-28 13:22:45 -0500 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-11-28 13:23:48 -0500 |
commit | 96ca7e7ee55ced12516645964195a19988af5591 (patch) | |
tree | 5701031f7de9a8f567154b427d21dc64c30e4721 /app-text/mdbook | |
parent | media-fonts/smiley-sans: new package, add 1.0.0 (diff) | |
download | gentoo-96ca7e7ee55ced12516645964195a19988af5591.tar.gz gentoo-96ca7e7ee55ced12516645964195a19988af5591.tar.bz2 gentoo-96ca7e7ee55ced12516645964195a19988af5591.zip |
app-text/mdbook: add 0.4.22
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-text/mdbook')
-rw-r--r-- | app-text/mdbook/Manifest | 2 | ||||
-rw-r--r-- | app-text/mdbook/mdbook-0.4.22.ebuild | 252 |
2 files changed, 254 insertions, 0 deletions
diff --git a/app-text/mdbook/Manifest b/app-text/mdbook/Manifest index 5c5226791519..17afec21b9d7 100644 --- a/app-text/mdbook/Manifest +++ b/app-text/mdbook/Manifest @@ -84,6 +84,7 @@ DIST markup5ever-0.10.1.crate 34668 BLAKE2B a13f39ba93a26a558a8f03ebbbaa98bf2c7c DIST markup5ever_rcdom-0.1.0.crate 25165 BLAKE2B 4123ee804991e9be31e6a4dbcb7dcce12bb776d22e4409ad388678a92965834acb9b1b2fa51e6472ee2c0db156e4a75e5b6db5f6b6d4220159ab93b056d0418c SHA512 7c21836fcdd45bfdef7305327255291c92d75d3329798d31abab26297de8c381e41b4419fb7ac631310835d590b63751a63bdd87e2697ea3dfdd6599033433c7 DIST matches-0.1.9.crate 2246 BLAKE2B de155202636c6a03ed68cdb21e8ef96e19b45be040a82943d2d7e5192c0ab5c253ab6d65f0b30b2689e21da79cba684af5be6e63c48266681aceba356f6eea41 SHA512 6a2809687d30ff04ea97bf9d1610d746e097699a4c3625ffd1b7b1e4a9673ece9d559058c9f760b99d6ab509024f7b338e7cfa6fe767499c983efa98bfb98305 DIST mdbook-0.4.21.tar.gz 1513223 BLAKE2B 47f9fed97c08af77729288b06cfd89b0ad6e738f25dab30968ce7c6a8bc1c6bef1645c99bd0841a709d247b2f41a16c62a14540db6ad313b795240571a772bfe SHA512 74e78f0d7a2352c4402324373f6249810feb836b77493b0d128eebc2b3092cd399ac30a1886f4c9e8ad8401ccc75a7377dbbe5c9c9d3fcc260dbaf2d8d83e66a +DIST mdbook-0.4.22.tar.gz 1515130 BLAKE2B 5dcb4368ec67c631b83c90e0c71420b743083a5fec82bdb7e7b319d080c0857144ccce45d39dea01dfd5419103517c00f003e3e801e406c3c489aba15bae7545 SHA512 059cd874e1124ea19deeaeec9f2112b0a50d442dc390f5927afa35081b5adf0cc54bcfd2dd7d9334bfad47d91a73b66ec4b71b97abbfc5a415a284ced777839e DIST memchr-2.4.1.crate 64977 BLAKE2B 31479718c118093b684bed946eae0706d77d9d275bd49f5aeff4de490f479abd60c7dc462150eafffc6d6fc1da0853123b78be038826b775d2a41a4c39d93ab5 SHA512 d8912e3902a2126f86159bdc998532a2890b882cbb7d59b5a470fffcad4c32281e045f2fff48a235aa4189f1928866bf3d33b699d50866ad6b6c272bba7adb11 DIST mime-0.3.16.crate 15206 BLAKE2B 9a599ca82fd0dd6d3d2dea68a47b8441b1024d016ee1fb23cc6431b39ead20c9b3fe1ff3397af79c2c1b2cd277c440d4fff69f6b28c550ddbe15f680923c834b SHA512 cb1d691610cb82720e553247336fc5eab63407ad37febf2eb50aaa4e329cca70959ecd8bb8c7af5753acec2c8e86fc9a0f8ad9ad2de93fe9295ce84033d6054c DIST mime_guess-2.0.3.crate 27437 BLAKE2B 6f9176749241dc9b8c08eea3285ac1aeb40ab079f8184d93c436c00b205ab754d9c2b5c481774837bd1c4522b33338fb7ecabe88ee2da471478cdc1391d9281c SHA512 b08013ce235e66eaf49a88ab4c5cf4d1f1b95846c1bbdc1a73efea9052058860c7dbe2b028fe1b33c713621862fe9af2ed097558cbf5e08903ee406a44af162d @@ -100,6 +101,7 @@ DIST ntapi-0.3.6.crate 127221 BLAKE2B 5e530c90eab66c73fa1864084eb462490bb0cce58e DIST num-integer-0.1.44.crate 22216 BLAKE2B e1c08427e006cde6f2084adadb6086e87e6d6f8bb8dfa757a8228aa671e862a366e4bd8ca5e0500008c18bab128aead9bd5b1e53568a4f40afadcaf3882ee98f SHA512 d07e27ede02a1d007373935fd91e57a26e0e84ae14bbe24be66763baae6850788bd64ad2598d2bde4f4fad6c8a4675c40bfe0927164b16b9b69de5e9a83d9771 DIST num-traits-0.2.14.crate 45476 BLAKE2B ae310d9d5640acc3e45e1e5d1d2f519539795922c0058ee940c94c94b6654b39358b7c18dd23a276f2c1b16a30dd4de4cbc8575bcda6a5c11e70665d670e6439 SHA512 c3028eca9f7b718de0db3a36cf3e462bdba43562d52c9b809ed4cc0aa6af403aea542d6d4da743cd1dd541397815a3c5a84cef4d6e40122994e4be6a62319b2e DIST num_cpus-1.13.0.crate 14704 BLAKE2B e7a26e597ad5e45309393a9500b031ba64a77831320cbb96d7861139a2f7a453b7ba06a3255439b43ac1e2e36269b0a350d514020d3cd82c2513b57934b3ebbc SHA512 e75ec298fa682be84bf4efb6cf40126da9233ef25f07e887c2fa7421ee78790204564e6406c8219466651f47421e27f69eca690bb9cdfc982b644d78cc10de3f +DIST once_cell-1.15.0.crate 31460 BLAKE2B ae4481883865abe6a684d63520fb2e91b64d6ccdd0374464200015640122bd68b8a769309773226c8a31d0119f450ee821a2bd35c346fd86adb4474ea7c28fcf SHA512 934a7c3631e9ca4fa78d9577b6672ca0b2f926a8d6c3be9542b906c5968033446f98f76ae6f368a1a5b92ab9064c31a57d74ab6d2097108029a7ea951541ff7e DIST opaque-debug-0.2.3.crate 5643 BLAKE2B fc0cf1ca373f2eef8a37f6d7eb02acc7cbe4d71f7844e01453c036c7595121272c207023f43ae5287b343756ca0a8bddc53c5e0186e95c75c019268a5f716087 SHA512 7aa44aedd3fa5a6ed3d60239c23dce4cb7b27693e110140e6b332579bf1c1b773244f12271ced975e53caf68f3f381a7edaada573efb982d2e13d638a3a6dd40 DIST opaque-debug-0.3.0.crate 5767 BLAKE2B fb5d32c876a271b41582563f5d6978d75bc1cba2cc34167f491bc198e6eded45b9dea65effa3aa972ede20978808b37ad1aadb6837f926fa3378ffd382076d41 SHA512 9909b06668a4f97b4d0e916de3e1d0a922a5a0b911a7ce190de786f62ceaccd382cbd0dbe01ab0f15e5472c10848482da2307a6d897928b6b7d5365bc0321cae DIST opener-0.5.0.crate 12350 BLAKE2B 5992f6d564ae14b609aff2d0415c4d7414a8cafebdccb9ac0b66056cd2968f346d63855d8251b153414115c6c8d8cc91134ab53d6b714df78f2c3c858b22cf8a SHA512 4a9be4d280cc5039d080bfaa318b47a80dfa930f3e60068ca10346aeac421abc8575d7eef3649061847e24ad3a6262fb58ab183f6f2704f429e9674f392c30a7 diff --git a/app-text/mdbook/mdbook-0.4.22.ebuild b/app-text/mdbook/mdbook-0.4.22.ebuild new file mode 100644 index 000000000000..cc6a53cb6652 --- /dev/null +++ b/app-text/mdbook/mdbook-0.4.22.ebuild @@ -0,0 +1,252 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + aho-corasick-0.7.18 + ammonia-3.1.2 + ansi_term-0.12.1 + anyhow-1.0.43 + assert_cmd-1.0.7 + atty-0.2.14 + autocfg-1.0.1 + base64-0.13.0 + bit-set-0.5.2 + bit-vec-0.6.3 + bitflags-1.3.2 + block-buffer-0.7.3 + block-buffer-0.9.0 + block-padding-0.1.5 + bstr-0.2.17 + byte-tools-0.3.1 + byteorder-1.4.3 + bytes-1.0.1 + cfg-if-0.1.10 + cfg-if-1.0.0 + chrono-0.4.19 + clap-3.0.10 + clap_complete-3.0.4 + cpufeatures-0.1.5 + ctor-0.1.20 + diff-0.1.12 + difflib-0.4.0 + digest-0.8.1 + digest-0.9.0 + doc-comment-0.3.3 + either-1.6.1 + elasticlunr-rs-3.0.0 + env_logger-0.9.0 + fake-simd-0.1.2 + filetime-0.2.15 + float-cmp-0.9.0 + fnv-1.0.7 + form_urlencoded-1.0.1 + fsevent-0.4.0 + fsevent-sys-2.0.1 + fuchsia-zircon-0.3.3 + fuchsia-zircon-sys-0.3.3 + futf-0.1.4 + futures-channel-0.3.21 + futures-core-0.3.21 + futures-macro-0.3.16 + futures-sink-0.3.21 + futures-task-0.3.16 + futures-util-0.3.16 + generic-array-0.12.4 + generic-array-0.14.4 + getrandom-0.1.16 + getrandom-0.2.3 + gitignore-1.0.7 + glob-0.3.0 + h2-0.3.4 + handlebars-4.1.2 + hashbrown-0.11.2 + headers-0.3.4 + headers-core-0.2.0 + hermit-abi-0.1.19 + html5ever-0.25.1 + http-0.2.4 + http-body-0.4.3 + httparse-1.5.1 + httpdate-1.0.1 + humantime-2.1.0 + hyper-0.14.11 + idna-0.2.3 + indexmap-1.7.0 + inotify-0.7.1 + inotify-sys-0.1.5 + iovec-0.1.4 + itertools-0.10.1 + itoa-0.4.8 + kernel32-sys-0.2.2 + lazy_static-1.4.0 + lazycell-1.3.0 + libc-0.2.100 + log-0.4.14 + mac-0.1.1 + maplit-1.0.2 + markup5ever-0.10.1 + markup5ever_rcdom-0.1.0 + matches-0.1.9 + memchr-2.4.1 + mime-0.3.16 + mime_guess-2.0.3 + mio-0.6.23 + mio-0.7.13 + mio-extras-2.0.6 + miow-0.2.2 + miow-0.3.7 + net2-0.2.37 + new_debug_unreachable-1.0.4 + normalize-line-endings-0.3.0 + notify-4.0.17 + ntapi-0.3.6 + num-integer-0.1.44 + num-traits-0.2.14 + num_cpus-1.13.0 + once_cell-1.15.0 + opaque-debug-0.2.3 + opaque-debug-0.3.0 + opener-0.5.0 + os_str_bytes-6.0.0 + output_vt100-0.1.2 + percent-encoding-2.1.0 + pest-2.1.3 + pest_derive-2.1.0 + pest_generator-2.1.3 + pest_meta-2.1.3 + phf-0.8.0 + phf_codegen-0.8.0 + phf_generator-0.8.0 + phf_shared-0.8.0 + pin-project-1.0.8 + pin-project-internal-1.0.8 + pin-project-lite-0.2.7 + pin-utils-0.1.0 + ppv-lite86-0.2.10 + precomputed-hash-0.1.1 + predicates-2.0.1 + predicates-core-1.0.2 + predicates-tree-1.0.2 + pretty_assertions-1.2.1 + proc-macro-hack-0.5.19 + proc-macro-nested-0.1.7 + proc-macro2-1.0.28 + pulldown-cmark-0.9.1 + quick-error-2.0.1 + quote-1.0.9 + rand-0.7.3 + rand-0.8.4 + rand_chacha-0.2.2 + rand_chacha-0.3.1 + rand_core-0.5.1 + rand_core-0.6.3 + rand_hc-0.2.0 + rand_hc-0.3.1 + rand_pcg-0.2.1 + redox_syscall-0.2.10 + regex-1.5.5 + regex-automata-0.1.10 + regex-syntax-0.6.25 + remove_dir_all-0.5.3 + ryu-1.0.5 + same-file-1.0.6 + scoped-tls-1.0.0 + select-0.5.0 + semver-1.0.4 + serde-1.0.129 + serde_derive-1.0.129 + serde_json-1.0.66 + serde_urlencoded-0.7.0 + sha-1-0.8.2 + sha-1-0.9.7 + shlex-1.0.0 + siphasher-0.3.6 + slab-0.4.4 + socket2-0.4.1 + string_cache-0.8.1 + string_cache_codegen-0.5.1 + strsim-0.10.0 + syn-1.0.75 + tempfile-3.2.0 + tendril-0.4.2 + termcolor-1.1.2 + textwrap-0.14.2 + thiserror-1.0.31 + thiserror-impl-1.0.31 + time-0.1.43 + tinyvec-1.3.1 + tinyvec_macros-0.1.0 + tokio-1.16.1 + tokio-macros-1.8.0 + tokio-stream-0.1.7 + tokio-tungstenite-0.15.0 + tokio-util-0.6.7 + toml-0.5.8 + topological-sort-0.1.0 + tower-service-0.3.1 + tracing-0.1.26 + tracing-core-0.1.19 + treeline-0.1.0 + try-lock-0.2.3 + tungstenite-0.14.0 + typenum-1.13.0 + ucd-trie-0.1.3 + unicase-2.6.0 + unicode-bidi-0.3.6 + unicode-normalization-0.1.19 + unicode-xid-0.2.2 + url-2.2.2 + utf-8-0.7.6 + version_check-0.9.3 + wait-timeout-0.2.0 + walkdir-2.3.2 + want-0.3.0 + warp-0.3.2 + wasi-0.10.2+wasi-snapshot-preview1 + wasi-0.9.0+wasi-snapshot-preview1 + winapi-0.2.8 + winapi-0.3.9 + winapi-build-0.1.1 + winapi-i686-pc-windows-gnu-0.4.0 + winapi-util-0.1.5 + winapi-x86_64-pc-windows-gnu-0.4.0 + ws2_32-sys-0.2.1 + xml5ever-0.16.1" +inherit cargo toolchain-funcs + +DESCRIPTION="Create a book from markdown files" +HOMEPAGE="https://rust-lang.github.io/mdBook/" +SRC_URI=" + https://github.com/rust-lang/mdBook/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + $(cargo_crate_uris)" +S="${WORKDIR}/${P/b/B}" + +# CC-BY-4.0/OFL-1.1: embeds fonts inside the executable +LICENSE="Apache-2.0 BSD CC-BY-4.0 CC0-1.0 ISC MIT MPL-2.0 OFL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="doc" + +QA_FLAGS_IGNORED="usr/bin/${PN}" + +src_compile() { + cargo_src_compile + + if use doc; then + if tc-is-cross-compiler; then + ewarn "html docs were skipped due to cross-compilation" + else + target/$(usex debug{,} release)/${PN} build -d html guide || die + fi + fi +} + +src_install() { + cargo_src_install + + dodoc CHANGELOG.md README.md + + [[ -e guide/html ]] && dodoc -r guide/html +} |