commit:     a1ae5e5c3922aba3fc897f9497d2f0c28137c4f8
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  5 02:21:58 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Mar  5 02:21:58 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1ae5e5c

app-text/mdbook: add 0.4.28

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

 app-text/mdbook/Manifest             |   1 +
 app-text/mdbook/mdbook-0.4.28.ebuild | 262 +++++++++++++++++++++++++++++++++++
 2 files changed, 263 insertions(+)

diff --git a/app-text/mdbook/Manifest b/app-text/mdbook/Manifest
index 165715069c98..2106d3330b18 100644
--- a/app-text/mdbook/Manifest
+++ b/app-text/mdbook/Manifest
@@ -94,6 +94,7 @@ DIST maplit-1.0.2.crate 8871 BLAKE2B 
3cf975d35de2d2fbd50227a6d2c5e72227e99197b62
 DIST markup5ever-0.11.0.crate 34667 BLAKE2B 
7a4e9c860949296912616fab105b688fc5ad86df012f064efb3e5125aae57869b4e63f4a551fc787e65987e5bb8c0dc26e2ff99651a2e56fa67237796f5967e8
 SHA512 
c9e9452f5bd43a7e578434467ce324a857ad600965fe37a24650f0f3e968fe1dc603ac8c7b9c4ebe2f624511cbdbc592ca0072b04ae094738670e199df9ad05e
 DIST markup5ever_rcdom-0.2.0.crate 222948 BLAKE2B 
2105ceee730f5fbb3c14ddb7bfe8ee5139febc870e37e9ea169f107ac8060ee4f5782b185310bada5f646600c2b8bb7fbed144c056e5b437133443f62a04ad99
 SHA512 
bf21aee14ec41ea9ac5a5645285173394a561c34311f4b4a7f3c2e8fb32a54a777e4913c985daa2f693bb7b1aaf799d45ab9a6f359b900d2bb916b1ff376fbe4
 DIST mdbook-0.4.27.tar.gz 1518389 BLAKE2B 
6eb386a48d631eb246871fe5269e0a49f008ff8395fd05a3948de7b10d663c64ca22e3ee96aa79afbeac37a0f732c988ef7620359da2c25f563859664c8313f3
 SHA512 
30d78b11dd1c4302c156c5a2df7b3e32de7a9d8074d9826b555c4c1cafe43692fc80273ead9bce26c85885e16f2d99c872f89919239820d420048b8a56a09193
+DIST mdbook-0.4.28.tar.gz 1518890 BLAKE2B 
edabc227d28e7e4e38299e5e9e1973dd8f6cf533e9f21bbda01a5357376032da2319bc86bc2077b85ddb65317c4cd5e6d03e0dd67cdf51dc10e15426febd0330
 SHA512 
91c82aabd9b422c3714257a2de415f74b5091ef114586281e1adfdfa9d385e416c483d4f2c2ef052e9bd86234ca78f63f26ad24abcaeae05abebac0483f824ea
 DIST memchr-2.5.0.crate 65812 BLAKE2B 
57966413a1f933dcb2d2d4ccb29c247070f65a83299b2a9f5aa83f5a48a5c5f1c4c7c632fa63bd19f9508e9291e7258db2f16e2813a56fd84e0856f70f1e67ab
 SHA512 
444a163b484c233e78c0e2e4d51f01ce2da93d7d29f516a95e4b0866b20bdfd3f34137653abed53eb70387991ee3e2b5937d8d4360a85bbcb50a93005a75defa
 DIST mime-0.3.16.crate 15206 BLAKE2B 
9a599ca82fd0dd6d3d2dea68a47b8441b1024d016ee1fb23cc6431b39ead20c9b3fe1ff3397af79c2c1b2cd277c440d4fff69f6b28c550ddbe15f680923c834b
 SHA512 
cb1d691610cb82720e553247336fc5eab63407ad37febf2eb50aaa4e329cca70959ecd8bb8c7af5753acec2c8e86fc9a0f8ad9ad2de93fe9295ce84033d6054c
 DIST mime_guess-2.0.4.crate 26399 BLAKE2B 
667f9b8009bac2e1d8b835ae8825afaaa2ea6eddd4cebbf18de8f8fcde9318eacaeeb08066bdd611883bef5f8a53fa2506b57dffff543c3a57316e07b525f7f5
 SHA512 
acfbbfdc5bd725edde43e4915858b8d016e90a5b483664f0bcd5e8d2b0b3684bf0f6020aea147b5bf429f218a7af8080761cea4c5c04b68fa66fd6a676376908

diff --git a/app-text/mdbook/mdbook-0.4.28.ebuild 
b/app-text/mdbook/mdbook-0.4.28.ebuild
new file mode 100644
index 000000000000..8ccef7d9ff34
--- /dev/null
+++ b/app-text/mdbook/mdbook-0.4.28.ebuild
@@ -0,0 +1,262 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES="
+       aho-corasick-0.7.20
+       ammonia-3.3.0
+       android_system_properties-0.1.5
+       anyhow-1.0.69
+       assert_cmd-2.0.8
+       autocfg-1.1.0
+       base64-0.13.1
+       bit-set-0.5.3
+       bit-vec-0.6.3
+       bitflags-1.3.2
+       block-buffer-0.10.3
+       bstr-1.0.1
+       bumpalo-3.11.1
+       byteorder-1.4.3
+       bytes-1.3.0
+       cc-1.0.77
+       cfg-if-1.0.0
+       chrono-0.4.23
+       clap-4.0.29
+       clap_complete-4.0.6
+       clap_lex-0.3.0
+       codespan-reporting-0.11.1
+       core-foundation-sys-0.8.3
+       cpufeatures-0.2.5
+       crossbeam-channel-0.5.6
+       crossbeam-utils-0.8.14
+       crypto-common-0.1.6
+       ctor-0.1.26
+       cxx-1.0.83
+       cxx-build-1.0.83
+       cxxbridge-flags-1.0.83
+       cxxbridge-macro-1.0.83
+       diff-0.1.13
+       difflib-0.4.0
+       digest-0.10.6
+       doc-comment-0.3.3
+       either-1.8.0
+       elasticlunr-rs-3.0.1
+       env_logger-0.10.0
+       errno-0.2.8
+       errno-dragonfly-0.1.2
+       fastrand-1.8.0
+       filetime-0.2.19
+       float-cmp-0.9.0
+       fnv-1.0.7
+       form_urlencoded-1.1.0
+       fsevent-sys-4.1.0
+       futf-0.1.5
+       futures-channel-0.3.25
+       futures-core-0.3.25
+       futures-macro-0.3.25
+       futures-sink-0.3.25
+       futures-task-0.3.25
+       futures-util-0.3.25
+       generic-array-0.14.6
+       getrandom-0.2.8
+       gitignore-1.0.7
+       glob-0.3.0
+       h2-0.3.15
+       handlebars-4.3.6
+       hashbrown-0.12.3
+       headers-0.3.8
+       headers-core-0.2.0
+       hermit-abi-0.1.19
+       hermit-abi-0.2.6
+       html5ever-0.26.0
+       http-0.2.8
+       http-body-0.4.5
+       httparse-1.8.0
+       httpdate-1.0.2
+       humantime-2.1.0
+       hyper-0.14.23
+       iana-time-zone-0.1.53
+       iana-time-zone-haiku-0.1.1
+       idna-0.3.0
+       indexmap-1.9.2
+       inotify-0.9.6
+       inotify-sys-0.1.5
+       instant-0.1.12
+       io-lifetimes-1.0.3
+       is-terminal-0.4.1
+       itertools-0.10.5
+       itoa-1.0.4
+       js-sys-0.3.60
+       kqueue-1.0.7
+       kqueue-sys-1.0.3
+       libc-0.2.138
+       link-cplusplus-1.0.7
+       linux-raw-sys-0.1.4
+       lock_api-0.4.9
+       log-0.4.17
+       mac-0.1.1
+       maplit-1.0.2
+       markup5ever-0.11.0
+       markup5ever_rcdom-0.2.0
+       memchr-2.5.0
+       mime-0.3.16
+       mime_guess-2.0.4
+       mio-0.8.5
+       new_debug_unreachable-1.0.4
+       normalize-line-endings-0.3.0
+       notify-5.1.0
+       notify-debouncer-mini-0.2.1
+       num-integer-0.1.45
+       num-traits-0.2.15
+       num_cpus-1.14.0
+       once_cell-1.17.0
+       opener-0.5.2
+       os_str_bytes-6.4.1
+       output_vt100-0.1.3
+       parking_lot-0.12.1
+       parking_lot_core-0.9.5
+       percent-encoding-2.2.0
+       pest-2.5.1
+       pest_derive-2.5.1
+       pest_generator-2.5.1
+       pest_meta-2.5.1
+       phf-0.10.1
+       phf_codegen-0.10.0
+       phf_generator-0.10.0
+       phf_shared-0.10.0
+       pin-project-1.0.12
+       pin-project-internal-1.0.12
+       pin-project-lite-0.2.9
+       pin-utils-0.1.0
+       ppv-lite86-0.2.17
+       precomputed-hash-0.1.1
+       predicates-2.1.5
+       predicates-core-1.0.5
+       predicates-tree-1.0.7
+       pretty_assertions-1.3.0
+       proc-macro2-1.0.47
+       pulldown-cmark-0.9.2
+       quote-1.0.21
+       rand-0.8.5
+       rand_chacha-0.3.1
+       rand_core-0.6.4
+       redox_syscall-0.2.16
+       regex-1.7.1
+       regex-automata-0.1.10
+       regex-syntax-0.6.28
+       remove_dir_all-0.5.3
+       rustix-0.36.5
+       rustls-pemfile-0.2.1
+       ryu-1.0.11
+       same-file-1.0.6
+       scoped-tls-1.0.1
+       scopeguard-1.1.0
+       scratch-1.0.2
+       select-0.6.0
+       semver-1.0.16
+       serde-1.0.152
+       serde_derive-1.0.152
+       serde_json-1.0.93
+       serde_urlencoded-0.7.1
+       sha-1-0.10.1
+       sha1-0.10.5
+       shlex-1.1.0
+       siphasher-0.3.10
+       slab-0.4.7
+       smallvec-1.10.0
+       socket2-0.4.7
+       string_cache-0.8.4
+       string_cache_codegen-0.5.2
+       strsim-0.10.0
+       syn-1.0.105
+       tempfile-3.3.0
+       tendril-0.4.3
+       termcolor-1.1.3
+       terminal_size-0.2.3
+       termtree-0.4.0
+       thiserror-1.0.37
+       thiserror-impl-1.0.37
+       tinyvec-1.6.0
+       tinyvec_macros-0.1.0
+       tokio-1.25.0
+       tokio-macros-1.8.2
+       tokio-stream-0.1.11
+       tokio-tungstenite-0.17.2
+       tokio-util-0.7.4
+       toml-0.5.10
+       topological-sort-0.2.2
+       tower-service-0.3.2
+       tracing-0.1.37
+       tracing-core-0.1.30
+       try-lock-0.2.3
+       tungstenite-0.17.3
+       typenum-1.16.0
+       ucd-trie-0.1.5
+       unicase-2.6.0
+       unicode-bidi-0.3.8
+       unicode-ident-1.0.5
+       unicode-normalization-0.1.22
+       unicode-width-0.1.10
+       url-2.3.1
+       utf-8-0.7.6
+       version_check-0.9.4
+       wait-timeout-0.2.0
+       walkdir-2.3.2
+       want-0.3.0
+       warp-0.3.3
+       wasi-0.11.0+wasi-snapshot-preview1
+       wasm-bindgen-0.2.83
+       wasm-bindgen-backend-0.2.83
+       wasm-bindgen-macro-0.2.83
+       wasm-bindgen-macro-support-0.2.83
+       wasm-bindgen-shared-0.2.83
+       winapi-0.3.9
+       winapi-i686-pc-windows-gnu-0.4.0
+       winapi-util-0.1.5
+       winapi-x86_64-pc-windows-gnu-0.4.0
+       windows-sys-0.42.0
+       windows_aarch64_gnullvm-0.42.0
+       windows_aarch64_msvc-0.42.0
+       windows_i686_gnu-0.42.0
+       windows_i686_msvc-0.42.0
+       windows_x86_64_gnu-0.42.0
+       windows_x86_64_gnullvm-0.42.0
+       windows_x86_64_msvc-0.42.0
+       xml5ever-0.17.0
+       yansi-0.5.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 Artistic-2 BSD CC-BY-4.0 CC0-1.0 ISC MIT MPL-2.0 OFL-1.1 
Unicode-DFS-2016"
+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
+       use doc && ! tc-is-cross-compiler && dodoc -r guide/html
+}

Reply via email to