commit:     3c536dcdd64b3d7ad9aeda1c3a49bc17a53969bb
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 15 20:13:38 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Apr 15 20:38:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c536dcd

app-text/mdbook: add 0.4.18

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 app-text/mdbook/Manifest             |   1 +
 app-text/mdbook/mdbook-0.4.18.ebuild | 257 +++++++++++++++++++++++++++++++++++
 2 files changed, 258 insertions(+)

diff --git a/app-text/mdbook/Manifest b/app-text/mdbook/Manifest
index e18570679741..0bb499bc8fce 100644
--- a/app-text/mdbook/Manifest
+++ b/app-text/mdbook/Manifest
@@ -91,6 +91,7 @@ DIST markup5ever_rcdom-0.1.0.crate 25165 BLAKE2B 
4123ee804991e9be31e6a4dbcb7dcce
 DIST matches-0.1.9.crate 2246 BLAKE2B 
de155202636c6a03ed68cdb21e8ef96e19b45be040a82943d2d7e5192c0ab5c253ab6d65f0b30b2689e21da79cba684af5be6e63c48266681aceba356f6eea41
 SHA512 
6a2809687d30ff04ea97bf9d1610d746e097699a4c3625ffd1b7b1e4a9673ece9d559058c9f760b99d6ab509024f7b338e7cfa6fe767499c983efa98bfb98305
 DIST mdbook-0.4.15.tar.gz 1508364 BLAKE2B 
8f0a883908378b440528044136233bc6d481c7c0137cbd0875aee11654246f103c5e301276838bd403a68715eec48ea2d31f6e746f5996a354733f5c3a8c0046
 SHA512 
da5b1dee3718bb89f61438f39ee72d4d4db42034e620699b62e21513d1ee9f1cb9163456a4673d66c96d83ebd9f35f8b4d5c0829752a500a72f1561fa14060bf
 DIST mdbook-0.4.17.tar.gz 1510324 BLAKE2B 
a77fefd2bc50b11f8606deaa9c380e40dffa1ed534548621181817b7eb2234964097461ab5f7d2d3300ca37d9f37ae210acabea29e848de22d818930b51406c1
 SHA512 
9190e01ea29ee22f8994e361caeeca6d459f8bc064a5d8bc51e461eb852fdac6c857f745ca4fce62130f49bba4d7dbb839dbca5dcddbd94d025d4a4516a155a6
+DIST mdbook-0.4.18.tar.gz 1510868 BLAKE2B 
4b47b41fc03fb923891b419098bf553dbbfb0066b1d51bfd58e3cc69e1e686f7bdb5210b6b4cb19f09c35cd6e926ede3378e49debd5a54d838c2028d44186aaa
 SHA512 
f209d8882ff317deb3356a5de0d39c71fe0c51cf80874f0edc56c7ddf46b537c7194c58172dd5f704554bf0724cb0899ecb61b1eeea467226fa83c0679c336f5
 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

diff --git a/app-text/mdbook/mdbook-0.4.18.ebuild 
b/app-text/mdbook/mdbook-0.4.18.ebuild
new file mode 100644
index 000000000000..d8ca08e385d4
--- /dev/null
+++ b/app-text/mdbook/mdbook-0.4.18.ebuild
@@ -0,0 +1,257 @@
+# 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.11.0
+       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
+       difference-2.0.0
+       difflib-0.4.0
+       digest-0.8.1
+       digest-0.9.0
+       doc-comment-0.3.3
+       either-1.6.1
+       elasticlunr-rs-2.3.13
+       env_logger-0.7.1
+       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-0.3.16
+       futures-channel-0.3.16
+       futures-core-0.3.16
+       futures-io-0.3.16
+       futures-macro-0.3.16
+       futures-sink-0.3.16
+       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
+       heck-0.3.3
+       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-1.3.0
+       hyper-0.14.11
+       idna-0.2.3
+       indexmap-1.7.0
+       inotify-0.7.1
+       inotify-sys-0.1.5
+       input_buffer-0.4.0
+       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
+       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-0.6.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-1.2.3
+       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
+       strum-0.21.0
+       strum_macros-0.21.1
+       syn-1.0.75
+       tempfile-3.2.0
+       tendril-0.4.2
+       termcolor-1.1.2
+       textwrap-0.14.2
+       time-0.1.43
+       tinyvec-1.3.1
+       tinyvec_macros-0.1.0
+       tokio-1.10.0
+       tokio-macros-1.3.0
+       tokio-stream-0.1.7
+       tokio-tungstenite-0.13.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.12.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-segmentation-1.8.0
+       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.1
+       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 ~arm64 ~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
+}

Reply via email to