summaryrefslogtreecommitdiff
path: root/app-text/mdbook
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/mdbook')
-rw-r--r--app-text/mdbook/Manifest3
-rw-r--r--app-text/mdbook/mdbook-0.4.15.ebuild259
2 files changed, 262 insertions, 0 deletions
diff --git a/app-text/mdbook/Manifest b/app-text/mdbook/Manifest
index 438782941ff3..73657eb7e52f 100644
--- a/app-text/mdbook/Manifest
+++ b/app-text/mdbook/Manifest
@@ -88,6 +88,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.14.tar.gz 1502800 BLAKE2B c1bef8761120bdbdbcbb34454813c620761db16208a935bb0dba39936ca661adc8fbc1cbefc185da7c087de880a8b3c5894536719d01a1376d6d96c72a5539bc SHA512 c45e930e0ff20def1a11e85dbadc3759855fe2a9b5ad63d02d547423abfc16a93d35ff13567ce206274f35e68cf083958cd3caa83a648786e7c32bcfa9bdb6dd
+DIST mdbook-0.4.15.tar.gz 1508364 BLAKE2B 8f0a883908378b440528044136233bc6d481c7c0137cbd0875aee11654246f103c5e301276838bd403a68715eec48ea2d31f6e746f5996a354733f5c3a8c0046 SHA512 da5b1dee3718bb89f61438f39ee72d4d4db42034e620699b62e21513d1ee9f1cb9163456a4673d66c96d83ebd9f35f8b4d5c0829752a500a72f1561fa14060bf
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
@@ -131,6 +132,7 @@ DIST proc-macro-hack-0.5.19.crate 15556 BLAKE2B 98c22fc3e5f5fa8b6f44d15de42b6ffc
DIST proc-macro-nested-0.1.7.crate 6495 BLAKE2B c27ad92b57837ab1ce220958846253ed29de12ee1ed849948e5202913371d877bb648e6880ac3e6619b8d48342e1fe105df56a0abda1b13bd62262bea4c85fff SHA512 dc5d898c6d5588d279aa0852193105bbb3824798a05875e2181c66da8c3849fcb32189d9b213cad09054242aa4ae9cb602f9c2d1b5e7302963bac244bbaa27c2
DIST proc-macro2-1.0.28.crate 38732 BLAKE2B f2d4765789d03d5d26c9de7e1283ce6e4086ca640d95a36649f8fdfe96533ad768b2a8ba56726e0462ba4fcd8f332fc455307987e0b7c79a5e96f2e75a641162 SHA512 2a4e34ab2bb692c3661db40ebc6d22f3dbcbc30c2f4d88e1a7f022f8522e943ffe2a1c9b92411c7e04941dc0156cb365e0de953fa45d8710e39b660ee9028741
DIST pulldown-cmark-0.8.0.crate 106330 BLAKE2B bb59298b605993530e2363f3264c3ac1104ec57885c2dd183dcdf3aa9dc613999d24caeb86848ca3542544238aaa4eb49d5a6599d2fdef53af50b5dbead68e22 SHA512 396ade131c0a74cdfb8454e137e41c21f0b81b7cce654ba6ae9ceb132ba0fa0a467a190e6dd69cd7d59a267efbe83f008c9c8a5c9db47665aabc31a4bb9cb967
+DIST pulldown-cmark-0.9.0.crate 115000 BLAKE2B b627deaf477b27eabb1086f2d4b81450e8d9247c6fb931514e87c9d7b49850bb38bf4aaa8738cf6a74214f00260804c0bbd001e3150c8cd3bde1edd07c173eaf SHA512 57151704ea4e46138b5712d32a67600569615886d7b9f1329324bac2e26ec5cbee3a3db1634348b485bc39e8ccd4531ece3ae377efcce9a4b8e128cdad9792bd
DIST quick-error-1.2.3.crate 15066 BLAKE2B 1c61525d383f3588c1c5017f016f60b484bbf2035e7f63c553bd9a49b638ab0c6106ac3676a41072b24da4e13dde78706e0f99fd1ec9ee329d5be81d45a85866 SHA512 f8aaf9024d20ccd42b706c756eed8320aee339f8776392b47a41cc82ca06b03df1a5b1f00854cea96689c5af261b4d8c5d2b1a242d10f2755e7e33dc41be35b9
DIST quick-error-2.0.1.crate 14265 BLAKE2B 3815c89e960923bfe0abc962c38714b953fa1d5af991f3de22d1d084a8cd1ba1761fc961ba97e06ead3992ed1b61f525d04bcce459599e5546315932281c1dfd SHA512 e028deb598466ae91663e5d090606be4f117662d0fa6e0c0b0043c7261f26787057e84e644cae72a45b1a0a7b1fb03fc9712faa3abee94b97ce2c8d25c365c32
DIST quote-1.0.9.crate 25042 BLAKE2B 26ef31e89fd2f0cc21ff65f8072f30c7977ac634d2536cf9845a0894d6659f62a96cd0a6ee48f7706036c2c1b898ef8c9167bd62714ad0c9cba4fb02f30922af SHA512 dd6cdaea183b85400531ef01e56657edbec0d8f7c27898c1e591b72dff755fa5875b33ca320bd65be0e9aecfc6a61ec119a4bd1291e9f2057fca642ab5b198c8
@@ -217,4 +219,5 @@ DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e
DIST ws2_32-sys-0.2.1.crate 4697 BLAKE2B 52a7a3f57bcd73156730ada4d78fe12a54a498c9064e0928e09de13a95bd9237f884538e5f9368b47a7ac3c425f0f798c26bad85f20bed4ea26c2fa16c779b97 SHA512 18356861fc595efe7d0180afb8ce7649da35a4f9ba456271d2068679ab258a861af32a2e016e241fbfbf5f6ef0eb33127b26eabfc11428af39506538faa4821f
DIST xml5ever-0.16.1.crate 41282 BLAKE2B 3a1a634244a138faf665ca3a287bafb54adad829a1e8edc541d6cd6a2357c5afd00114e340f33b0735139a630475a58d7e5d36bef094574efcceccfd08b57778 SHA512 20ad09f202336950c13867d69582a12e5daba671d5ffc79d3f8a69a13f7911b04e135cf5791a24744d6bb909b10e6eef5d5f0b52b5d1124ead2b1017e4d4c4ee
EBUILD mdbook-0.4.14.ebuild 4806 BLAKE2B e99a2034e4625a07613da4424a453c438ea416b1df02217f5a8e547053d517b727c85b7ad347695df6dd97947ebbf39dca2e9aad7224d8825776816a1f015f68 SHA512 981b91aa13a0260b05731b10f6905f43e6957756700376bab495afb77e0233c153c2912cab83aad8f1d3b172ff809bb22409fcc16ed74c0c4fea794414fad150
+EBUILD mdbook-0.4.15.ebuild 4811 BLAKE2B 690344caab91b349c0aac120f8d9fa133e89dc05219acedcf548026462444a9d8496d3cea39cfa14575a0063ba24bcc2fbda65650f27e959848f841df9493e32 SHA512 c41f8c89ca2d13d3a8421d802fcf845478efa700ec8c40618763ec5357ad9189462f3bca29f5dc0bcbbbd28dec8b83a00afb1503fbece371084953216dd7dd5d
MISC metadata.xml 327 BLAKE2B bb56613ec49f3b00a39b3131534cb064154ca05d46fda58d4e1d0c601e49561b4d73bc3d075e378e7ab2df720560d169fbe9fd39b40171184aa8e88d8f7291a4 SHA512 e678a70558e83d27e5c0146174d9e740f3ec2e6bdbbb17e61b71fdea6879d61b7babbd9437ee9928dc0322e65a0863b3909bffc7b3ad9313566c5de5baa17f62
diff --git a/app-text/mdbook/mdbook-0.4.15.ebuild b/app-text/mdbook/mdbook-0.4.15.ebuild
new file mode 100644
index 000000000000..61270c429392
--- /dev/null
+++ b/app-text/mdbook/mdbook-0.4.15.ebuild
@@ -0,0 +1,259 @@
+# 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-2.33.3
+ 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
+ getopts-0.2.21
+ 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
+ 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.0
+ 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.4
+ 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-0.11.0
+ semver-parser-0.10.2
+ 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.8.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.11.0
+ 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-width-0.1.8
+ unicode-xid-0.2.2
+ url-2.2.2
+ utf-8-0.7.6
+ vec_map-0.8.2
+ 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
+}