From b62381b18b4bf2e919cbfbae11ebcad391e38e77 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 16 Dec 2022 03:35:12 +0000 Subject: gentoo auto-resync : 16:12:2022 - 03:35:12 --- app-text/mdbook/Manifest | 4 +- app-text/mdbook/mdbook-0.4.23.ebuild | 267 ----------------------------------- app-text/mdbook/mdbook-0.4.24.ebuild | 267 +++++++++++++++++++++++++++++++++++ 3 files changed, 269 insertions(+), 269 deletions(-) delete mode 100644 app-text/mdbook/mdbook-0.4.23.ebuild create mode 100644 app-text/mdbook/mdbook-0.4.24.ebuild (limited to 'app-text/mdbook') diff --git a/app-text/mdbook/Manifest b/app-text/mdbook/Manifest index 112155d00d1c..0e10f0b2bb3c 100644 --- a/app-text/mdbook/Manifest +++ b/app-text/mdbook/Manifest @@ -164,7 +164,7 @@ DIST markup5ever_rcdom-0.2.0.crate 222948 BLAKE2B 2105ceee730f5fbb3c14ddb7bfe8ee 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 mdbook-0.4.23.tar.gz 1514892 BLAKE2B 137f283d153f713e6791df5ec3acbf596bd49b12c97b92363652ce5dd03b2694be984432876e985f7c174e7e3ff530207b0860b51b6ce7362688800b5cba0248 SHA512 e78621ff8e29c40c7a4eaf4c7dba70b6d9937f73be7e3761a665fd07d7b30dc95e139c9ee0ce81990915642180c2395320857851ddcbb79618da53d5a82bc399 +DIST mdbook-0.4.24.tar.gz 1515017 BLAKE2B afc152453e2817ec0b2fdcf8ce70b254bedd29f2130523e6c47bd45d914ee42ef801cc72544e0aee109b8d124518ce51a222b77a04b4cb0f0740c5c7cd1b7523 SHA512 a41ea1ffbd3de106194257c2d2514ca4b18069d03deb53c860ad79f95730f68c10af59f053a3b7b3c5b85e30ba9bed39a266ed1815f7d8de88f6359e290c3745 DIST memchr-2.4.1.crate 64977 BLAKE2B 31479718c118093b684bed946eae0706d77d9d275bd49f5aeff4de490f479abd60c7dc462150eafffc6d6fc1da0853123b78be038826b775d2a41a4c39d93ab5 SHA512 d8912e3902a2126f86159bdc998532a2890b882cbb7d59b5a470fffcad4c32281e045f2fff48a235aa4189f1928866bf3d33b699d50866ad6b6c272bba7adb11 DIST memchr-2.5.0.crate 65812 BLAKE2B 57966413a1f933dcb2d2d4ccb29c247070f65a83299b2a9f5aa83f5a48a5c5f1c4c7c632fa63bd19f9508e9291e7258db2f16e2813a56fd84e0856f70f1e67ab SHA512 444a163b484c233e78c0e2e4d51f01ce2da93d7d29f516a95e4b0866b20bdfd3f34137653abed53eb70387991ee3e2b5937d8d4360a85bbcb50a93005a75defa DIST mime-0.3.16.crate 15206 BLAKE2B 9a599ca82fd0dd6d3d2dea68a47b8441b1024d016ee1fb23cc6431b39ead20c9b3fe1ff3397af79c2c1b2cd277c440d4fff69f6b28c550ddbe15f680923c834b SHA512 cb1d691610cb82720e553247336fc5eab63407ad37febf2eb50aaa4e329cca70959ecd8bb8c7af5753acec2c8e86fc9a0f8ad9ad2de93fe9295ce84033d6054c @@ -398,5 +398,5 @@ DIST xml5ever-0.17.0.crate 41208 BLAKE2B 42be2b72566bf44d3cf70b365aee45a6c8034c2 DIST yansi-0.5.1.crate 16525 BLAKE2B 3b5a93b98293daae72f53bf3f13bfc05feba8d5b27921f79595f7448fbcb9a0dfa6cd70f467c5735b914c46b7d3592e6cce080c540a458a904308525eb3aa839 SHA512 7b33005a066cc612408a65df6533e8718d1de43efc0fd57416a19dc2b811497570e6e18f100fb26073565e395e711518c27de7d644ae64777713f1a102eb16d2 EBUILD mdbook-0.4.21.ebuild 4700 BLAKE2B c533e073f9ae39682df690685518e20f975505b46337dc9fa516760c21fa91639d34c429e43c45be41e302a170fcbb04805f5221496176e5ee0f2604947ec75c SHA512 987bccc1eff481bec341d857033bbc8ec2b8107d4a4e2b70475bffc628959b85880de35798ad0d8bf67a8f04e8ab544b3153ba6842d89fbbdd1b9200da650646 EBUILD mdbook-0.4.22.ebuild 4719 BLAKE2B cc5e149d1f232acbff99cc81acd53be163acf5540c1e6c393b14cc886cbf9e6b9ee64258c77133a1c36f934557037258e97df3c57e33397b2d46b4f8db26a93f SHA512 1bd88953f6b016f1574e23da80ac6ec0d5ff91957154afe9a765a0c3d5629b8ed43b6f17efac19a99dc59a4164dede9b66de0f2881105949932a5c8451f026ea -EBUILD mdbook-0.4.23.ebuild 5258 BLAKE2B 88b2c4b8b36e03526ee5a7831e8f091066e429ca805bed5b60a0cb368163b296d10bb8bf141fc1bc3673680ec1794554ce1728a2547a2f9874353cbc903ff8ea SHA512 4142dd023a95f0f758339d59f64bcfdf359981efc9c5197354460d7e148da5ca0dd87ff6e506b5c30ca07d29539ee6ce56e78e4b727eb4693471503802a25ff5 +EBUILD mdbook-0.4.24.ebuild 5258 BLAKE2B 88b2c4b8b36e03526ee5a7831e8f091066e429ca805bed5b60a0cb368163b296d10bb8bf141fc1bc3673680ec1794554ce1728a2547a2f9874353cbc903ff8ea SHA512 4142dd023a95f0f758339d59f64bcfdf359981efc9c5197354460d7e148da5ca0dd87ff6e506b5c30ca07d29539ee6ce56e78e4b727eb4693471503802a25ff5 MISC metadata.xml 327 BLAKE2B bb56613ec49f3b00a39b3131534cb064154ca05d46fda58d4e1d0c601e49561b4d73bc3d075e378e7ab2df720560d169fbe9fd39b40171184aa8e88d8f7291a4 SHA512 e678a70558e83d27e5c0146174d9e740f3ec2e6bdbbb17e61b71fdea6879d61b7babbd9437ee9928dc0322e65a0863b3909bffc7b3ad9313566c5de5baa17f62 diff --git a/app-text/mdbook/mdbook-0.4.23.ebuild b/app-text/mdbook/mdbook-0.4.23.ebuild deleted file mode 100644 index 9f880885594e..000000000000 --- a/app-text/mdbook/mdbook-0.4.23.ebuild +++ /dev/null @@ -1,267 +0,0 @@ -# Copyright 2021-2022 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.66 - assert_cmd-2.0.7 - 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-0.2.17 - 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.5 - 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 - lazy_static-1.4.0 - 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.0.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.16.0 - opener-0.5.0 - 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.4 - 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.0 - 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.14 - serde-1.0.150 - serde_derive-1.0.150 - serde_json-1.0.89 - 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 - time-0.1.45 - tinyvec-1.6.0 - tinyvec_macros-0.1.0 - tokio-1.23.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.10.0+wasi-snapshot-preview1 - 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 - - [[ -e guide/html ]] && dodoc -r guide/html -} diff --git a/app-text/mdbook/mdbook-0.4.24.ebuild b/app-text/mdbook/mdbook-0.4.24.ebuild new file mode 100644 index 000000000000..9f880885594e --- /dev/null +++ b/app-text/mdbook/mdbook-0.4.24.ebuild @@ -0,0 +1,267 @@ +# Copyright 2021-2022 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.66 + assert_cmd-2.0.7 + 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-0.2.17 + 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.5 + 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 + lazy_static-1.4.0 + 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.0.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.16.0 + opener-0.5.0 + 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.4 + 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.0 + 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.14 + serde-1.0.150 + serde_derive-1.0.150 + serde_json-1.0.89 + 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 + time-0.1.45 + tinyvec-1.6.0 + tinyvec_macros-0.1.0 + tokio-1.23.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.10.0+wasi-snapshot-preview1 + 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 + + [[ -e guide/html ]] && dodoc -r guide/html +} -- cgit v1.2.3