diff options
Diffstat (limited to 'app-text/mdbook')
-rw-r--r-- | app-text/mdbook/Manifest | 2 | ||||
-rw-r--r-- | app-text/mdbook/mdbook-0.4.33.ebuild | 291 |
2 files changed, 293 insertions, 0 deletions
diff --git a/app-text/mdbook/Manifest b/app-text/mdbook/Manifest index 2425a6d93558..5a95a0ca32d1 100644 --- a/app-text/mdbook/Manifest +++ b/app-text/mdbook/Manifest @@ -144,6 +144,7 @@ DIST markup5ever_rcdom-0.2.0.crate 222948 BLAKE2B 2105ceee730f5fbb3c14ddb7bfe8ee DIST mdbook-0.4.30.tar.gz 1524241 BLAKE2B 45ecd836deae0fb8fbc2c7b3d8cd65df2bdf491ec5d30aba9b9fb1d3e76fcab58e3f6f9fecf08833ffc3a620d433f394d19e690877a633403199c1c8cd48a8cb SHA512 251b1a5a1dc44301d350033a0a63a12cf2188d08ff1b889a01657d9a16eab14cc4f97adcd735e6d301295807a9f2dc79355645f51a9c892ec479ca46f7f652f6 DIST mdbook-0.4.31.tar.gz 1524533 BLAKE2B aa52d1fa3cae8eb82f7aa1a86a9f47804d7097ef00e61978b1dfe9b31e21dab609306fff067cd5531bb0fc103e3a9289fc20cfc0b59cbee129a5256c539ef015 SHA512 7db3b2fd57c49b840ae2add2a13d4f8ea0eebce69ec423e071d49baf01e12f52840480247b0e75e27683e5e8d6a44f83b51e997ace0ad38e5e4b8e627a15b2bc DIST mdbook-0.4.32.tar.gz 1525186 BLAKE2B 3ec58745b7ccf3c563bdd68ad191fccac0c14dd6a1defebdffa72c6114a30772de1c4b0818fb0c385b1379ffa03b47c4030020aae89d95e4ab96dba308c14657 SHA512 eef89cf9a38a609c18b56254cc8ecf71ff0e387876e46a0c0214ebff28ba801b4ce9b3bc4e9091b4389f21cdf2eb1b05ed655fc18a6b2497545bc6b1c0106c5f +DIST mdbook-0.4.33.tar.gz 1524667 BLAKE2B 20b22dd2eeca6e1ea75ce6f6fea3a465c5702ffb9e5484cd554c348702d03dc6e9ae0dc2a6610831f342e9edc5afc6d338b3d5f8b044144e3e3b71b68187be4b SHA512 d2693600da5822961dfe52f82e6b64ce663f086feff419527f1fdceb091099ffab963ba395535bc36eb348ed6ad16806d8bc4f2ce272f42110d464d500ef5205 DIST memchr-2.5.0.crate 65812 BLAKE2B 57966413a1f933dcb2d2d4ccb29c247070f65a83299b2a9f5aa83f5a48a5c5f1c4c7c632fa63bd19f9508e9291e7258db2f16e2813a56fd84e0856f70f1e67ab SHA512 444a163b484c233e78c0e2e4d51f01ce2da93d7d29f516a95e4b0866b20bdfd3f34137653abed53eb70387991ee3e2b5937d8d4360a85bbcb50a93005a75defa DIST mime-0.3.17.crate 15712 BLAKE2B abb892b75b40657d356b6b53b9a45b2c822a05873453e919f2bbfeed9e5c06104f24db9cef2716f302198020870eaf96b2c62aff55cc11d8ca4f4f614d7c8e17 SHA512 e6d2ca92bb58fc747c1bb65a7f9023e5dbf4b94966003a72e4913bcaaeccdd6752725cdbd5081e0fd69d9e8f364d79664fcbe70061737d5c39e5b3e3a154a0d1 DIST mime_guess-2.0.4.crate 26399 BLAKE2B 667f9b8009bac2e1d8b835ae8825afaaa2ea6eddd4cebbf18de8f8fcde9318eacaeeb08066bdd611883bef5f8a53fa2506b57dffff543c3a57316e07b525f7f5 SHA512 acfbbfdc5bd725edde43e4915858b8d016e90a5b483664f0bcd5e8d2b0b3684bf0f6020aea147b5bf429f218a7af8080761cea4c5c04b68fa66fd6a676376908 @@ -351,4 +352,5 @@ DIST yansi-0.5.1.crate 16525 BLAKE2B 3b5a93b98293daae72f53bf3f13bfc05feba8d5b279 EBUILD mdbook-0.4.30.ebuild 5571 BLAKE2B c1eb0196e4c298c8c87e4e712f0d1bab8c869cc9927a71c5d90ab949d74193a9ea8d3d00d335b496dd8aadc366d37a7193e1d2ce78b178e7e7c89e85b71ace88 SHA512 071548f7dc2a5a2361f8761c66c0cb7836655cce71bdddc7c127ca5af47ab005bdade7adf580474eefc19c5af8cb88305fdcd14b2a89322e97e04bc1f053ae44 EBUILD mdbook-0.4.31.ebuild 5578 BLAKE2B 171b3f5f3bf18512d0c651b1357df4b88e09792c6b1920bee6152c7a1018ba66786d849d6f18b340794252a61d6a95b58eddeeb583a6bd58573657b021e8ac45 SHA512 93423cccbec594c140bf3865a701f050b6880ecdca55ebbc313970ca0c5bb6336d07f9330f46d488107e68958f71b9603b65e3e05028193e3e3d2bdfb8626e54 EBUILD mdbook-0.4.32.ebuild 5806 BLAKE2B bb4ec02bb277c8e7519a2aa29efdd9169bb41e123e15e466da6b7d84fa5593ab1fb4b076ac6f6bf6d2c5070c0c54878c4f8750c01006123c0d58c7bdc51f081c SHA512 bdb1e650c71aa71507f268d04637dd75b62118d2fb48495b0694da56d882f27f593d963fbc2cb23acd38adc886f5d23596b0ad44f862dc33ddd864e04a2395e9 +EBUILD mdbook-0.4.33.ebuild 5683 BLAKE2B 1c473dde9b8b1e7830bd15d16e941c5950ae9f81ac5b8aeb2b7d722de3a1c75acbfb5d28035dfa9557e7bf393349b572e458f8da71cde2a396e1e30d8bb05962 SHA512 45f6197487f3d912ccdf05790261a69f07753f14c391b510ad782ce5eeb5e1838c257abe57fa1b77c99e3724ce19be395d48c936f3f45eeb1f7d42fa37bed961 MISC metadata.xml 327 BLAKE2B bb56613ec49f3b00a39b3131534cb064154ca05d46fda58d4e1d0c601e49561b4d73bc3d075e378e7ab2df720560d169fbe9fd39b40171184aa8e88d8f7291a4 SHA512 e678a70558e83d27e5c0146174d9e740f3ec2e6bdbbb17e61b71fdea6879d61b7babbd9437ee9928dc0322e65a0863b3909bffc7b3ad9313566c5de5baa17f62 diff --git a/app-text/mdbook/mdbook-0.4.33.ebuild b/app-text/mdbook/mdbook-0.4.33.ebuild new file mode 100644 index 000000000000..6b90dcd50faf --- /dev/null +++ b/app-text/mdbook/mdbook-0.4.33.ebuild @@ -0,0 +1,291 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + addr2line@0.20.0 + adler@1.0.2 + aho-corasick@1.0.2 + ammonia@3.3.0 + android-tzdata@0.1.1 + android_system_properties@0.1.5 + anstream@0.3.2 + anstyle-parse@0.2.1 + anstyle-query@1.0.0 + anstyle-wincon@1.0.1 + anstyle@1.0.1 + anyhow@1.0.72 + assert_cmd@2.0.12 + autocfg@1.1.0 + backtrace@0.3.68 + base64@0.13.1 + base64@0.21.2 + bitflags@1.3.2 + bitflags@2.3.3 + bit-set@0.5.3 + bit-vec@0.6.3 + block-buffer@0.10.4 + bstr@1.6.0 + bumpalo@3.13.0 + byteorder@1.4.3 + bytes@1.4.0 + cc@1.0.79 + cfg-if@1.0.0 + chrono@0.4.26 + clap@4.3.12 + clap_builder@4.3.12 + clap_complete@4.3.2 + clap_lex@0.5.0 + colorchoice@1.0.0 + core-foundation-sys@0.8.4 + cpufeatures@0.2.9 + crossbeam-channel@0.5.8 + crossbeam-utils@0.8.16 + crypto-common@0.1.6 + difflib@0.4.0 + diff@0.1.13 + digest@0.10.7 + doc-comment@0.3.3 + either@1.8.1 + elasticlunr-rs@3.0.2 + env_logger@0.10.0 + errno-dragonfly@0.1.2 + errno@0.3.1 + fastrand@1.9.0 + filetime@0.2.21 + float-cmp@0.9.0 + fnv@1.0.7 + form_urlencoded@1.2.0 + fsevent-sys@4.1.0 + futf@0.1.5 + futures-channel@0.3.28 + futures-core@0.3.28 + futures-macro@0.3.28 + futures-sink@0.3.28 + futures-task@0.3.28 + futures-util@0.3.28 + generic-array@0.14.7 + getrandom@0.2.10 + gimli@0.27.3 + globset@0.4.11 + h2@0.3.20 + handlebars@4.3.7 + hashbrown@0.12.3 + headers-core@0.2.0 + headers@0.3.8 + hermit-abi@0.3.2 + html5ever@0.26.0 + httparse@1.8.0 + httpdate@1.0.2 + http-body@0.4.5 + http@0.2.9 + humantime@2.1.0 + hyper@0.14.27 + iana-time-zone-haiku@0.1.2 + iana-time-zone@0.1.57 + idna@0.4.0 + ignore@0.4.20 + indexmap@1.9.3 + inotify-sys@0.1.5 + inotify@0.9.6 + instant@0.1.12 + io-lifetimes@1.0.11 + is-terminal@0.4.9 + itertools@0.10.5 + itoa@1.0.9 + js-sys@0.3.64 + kqueue-sys@1.0.3 + kqueue@1.0.7 + lazy_static@1.4.0 + libc@0.2.147 + linux-raw-sys@0.3.8 + linux-raw-sys@0.4.3 + lock_api@0.4.10 + log@0.4.19 + mac@0.1.1 + maplit@1.0.2 + markup5ever@0.11.0 + markup5ever_rcdom@0.2.0 + memchr@2.5.0 + mime@0.3.17 + mime_guess@2.0.4 + miniz_oxide@0.7.1 + mio@0.8.8 + new_debug_unreachable@1.0.4 + normalize-line-endings@0.3.0 + normpath@1.1.1 + notify-debouncer-mini@0.3.0 + notify@6.0.1 + num-traits@0.2.15 + num_cpus@1.16.0 + object@0.31.1 + once_cell@1.18.0 + opener@0.6.1 + parking_lot@0.12.1 + parking_lot_core@0.9.8 + percent-encoding@2.3.0 + pest@2.7.0 + pest_derive@2.7.0 + pest_generator@2.7.0 + pest_meta@2.7.0 + phf@0.10.1 + phf_codegen@0.10.0 + phf_generator@0.10.0 + phf_shared@0.10.0 + pin-project-internal@1.1.2 + pin-project-lite@0.2.10 + pin-project@1.1.2 + pin-utils@0.1.0 + ppv-lite86@0.2.17 + precomputed-hash@0.1.1 + predicates-core@1.0.6 + predicates-tree@1.0.9 + predicates@3.0.3 + pretty_assertions@1.4.0 + proc-macro2@1.0.66 + pulldown-cmark@0.9.3 + quote@1.0.31 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + redox_syscall@0.2.16 + redox_syscall@0.3.5 + regex-automata@0.3.3 + regex-syntax@0.7.4 + regex@1.9.1 + rustc-demangle@0.1.23 + rustix@0.37.23 + rustix@0.38.4 + rustls-pemfile@1.0.3 + ryu@1.0.15 + same-file@1.0.6 + scoped-tls@1.0.1 + scopeguard@1.1.0 + select@0.6.0 + semver@1.0.18 + serde@1.0.171 + serde_derive@1.0.171 + serde_json@1.0.103 + serde_urlencoded@0.7.1 + sha1@0.10.5 + sha2@0.10.7 + shlex@1.1.0 + siphasher@0.3.10 + slab@0.4.8 + smallvec@1.11.0 + socket2@0.4.9 + string_cache@0.8.7 + string_cache_codegen@0.5.2 + strsim@0.10.0 + syn@1.0.109 + syn@2.0.26 + tempfile@3.6.0 + tendril@0.4.3 + termcolor@1.2.0 + terminal_size@0.2.6 + termtree@0.4.1 + thiserror-impl@1.0.43 + thiserror@1.0.43 + thread_local@1.1.7 + tinyvec@1.6.0 + tinyvec_macros@0.1.1 + tokio-macros@2.1.0 + tokio-stream@0.1.14 + tokio-tungstenite@0.18.0 + tokio-util@0.7.8 + tokio@1.29.1 + toml@0.5.11 + topological-sort@0.2.2 + tower-service@0.3.2 + tracing-core@0.1.31 + tracing@0.1.37 + try-lock@0.2.4 + tungstenite@0.18.0 + typenum@1.16.0 + ucd-trie@0.1.6 + unicase@2.6.0 + unicode-bidi@0.3.13 + unicode-ident@1.0.11 + unicode-normalization@0.1.22 + url@2.4.0 + utf8parse@0.2.1 + utf-8@0.7.6 + version_check@0.9.4 + wait-timeout@0.2.0 + walkdir@2.3.3 + want@0.3.1 + warp@0.3.5 + wasi@0.11.0+wasi-snapshot-preview1 + wasm-bindgen-backend@0.2.87 + wasm-bindgen-macro-support@0.2.87 + wasm-bindgen-macro@0.2.87 + wasm-bindgen-shared@0.2.87 + wasm-bindgen@0.2.87 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.5 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-sys@0.45.0 + windows-sys@0.48.0 + windows-targets@0.42.2 + windows-targets@0.48.1 + windows@0.48.0 + windows_aarch64_gnullvm@0.42.2 + windows_aarch64_gnullvm@0.48.0 + windows_aarch64_msvc@0.42.2 + windows_aarch64_msvc@0.48.0 + windows_i686_gnu@0.42.2 + windows_i686_gnu@0.48.0 + windows_i686_msvc@0.42.2 + windows_i686_msvc@0.48.0 + windows_x86_64_gnullvm@0.42.2 + windows_x86_64_gnullvm@0.48.0 + windows_x86_64_gnu@0.42.2 + windows_x86_64_gnu@0.48.0 + windows_x86_64_msvc@0.42.2 + windows_x86_64_msvc@0.48.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="MPL-2.0 CC-BY-4.0 OFL-1.1" +LICENSE+=" + Apache-2.0 BSD ISC MIT Unicode-DFS-2016 + || ( Artistic-2 CC0-1.0 ) +" # crates +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 +} |