mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
app-text/mdbook: add 0.4.46
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -120,6 +120,8 @@ DIST markup5ever_rcdom-0.2.0.crate 222948 BLAKE2B 2105ceee730f5fbb3c14ddb7bfe8ee
|
||||
DIST mdbook-0.4.43.tar.gz 1542646 BLAKE2B 844b7a0d40b0477cd702baa3be29576c83d5b76653c756bc8d9bdd8b36e4cdf02e838a4c83732096c94355e102ddcf383c5413dc61e9994f28b1730687abaad7 SHA512 b410f4490e4fa0058c981335c09e3cd993ed174a7b9104522da9719f18f310e5996eeb9cd154c7e196b87385277267167307d327d4a6e6979c217c8808772898
|
||||
DIST mdbook-0.4.45-vendor.tar.xz 8890444 BLAKE2B a444e1c7a85a93ff135f6c664a287f0a1c8b9be07d27bcd01724c6ee742ced8fabe0484c2b78dbbdc4247bf1de7390439070bc4a203f846d57f405939148025a SHA512 7169b32ec92db9eb9a066380a2668b4057c0d504332bb7975f059f2e5ec201c1fa25b0490bcb5d17bcdc586d83d0b6122462d4f621686a0099a3c9a254d25e0a
|
||||
DIST mdbook-0.4.45.tar.gz 1548067 BLAKE2B cf22888c5cee10c543ef00dfe583f1cbfc258362aa813feac5346b2c4d0cbda93c3e338030c3d1220947b2c991328a8c35ac92ccfaf0b11f24ed5de05e075554 SHA512 747ef1f9b5b286ad8a89f657eed609a1fcb1a1ad5e26cfb4023253eea6965a8a7fecd75507c9037449ba9eda76de00eba99bfeccc78410d807bbd39a11270a39
|
||||
DIST mdbook-0.4.46-vendor.tar.xz 8893432 BLAKE2B fd075811c3e0e9b8bcdf760149262585239e63595f2bfe1587ba06ef19512063f91f7b89aeccfe5db2760a72b05dcc80eaf9d6bd95bbd2b073deb0f2f142cd1e SHA512 00d823c1c799f5a0c3ceed0e56feb383c82384277ac0ca26404bd5b4a46f5f426e26f87bc8e1b82e361c57eb83582026881262bb1e0cebcab0544f4145bc2678
|
||||
DIST mdbook-0.4.46.tar.gz 1551625 BLAKE2B 7239b5fd3e13aacbd718d0a9b96d8a78652a73ddbca130076895a0a2217997b487741205d0f7af63466432f0f8d5ad8327e8060c609f5ba2e6eb21d8450d42d3 SHA512 c1aa8a8680de0626e224a30aa89e3ff1a089febbedabc5e2312558977c1060d5fa3ba0d8fd6db305307720f1182e25b24463a1f4f9a2456146cbe3b8008c915c
|
||||
DIST memchr-2.7.4.crate 96670 BLAKE2B da38114beca670467c3e1fbf4e415af6f22d52e3223715d52e181babb89b872b46511563985bcc16d7ff4e82f812c6e83ad904b0fe2501b14445119dfa8240e6 SHA512 8d0e8b9c30208897d4b1b920f1bdcccd0c2b75d92a06abe4a1b2407938768abb6487d63de56c6a80419798fe69517210643dfaf11f5f5540185f0eccf220adb2
|
||||
DIST mime-0.3.17.crate 15712 BLAKE2B abb892b75b40657d356b6b53b9a45b2c822a05873453e919f2bbfeed9e5c06104f24db9cef2716f302198020870eaf96b2c62aff55cc11d8ca4f4f614d7c8e17 SHA512 e6d2ca92bb58fc747c1bb65a7f9023e5dbf4b94966003a72e4913bcaaeccdd6752725cdbd5081e0fd69d9e8f364d79664fcbe70061737d5c39e5b3e3a154a0d1
|
||||
DIST mime_guess-2.0.5.crate 27166 BLAKE2B a8ec67e16a336e7d07c9aaa55025c24c3d4a62aae25213ce768786d9f292b76930132a880d662cd9a5d63aa899e9d488ab76fa9d99350e9f448ef484705ba4d9 SHA512 433c876e28394282cfbe14bb9543616cd296879f253ed331c15ace8a7d9f3629f5b596c2d5a64823a97ca9b774acc711b65006c46d54d1e9ee0553cbf1f13b7c
|
||||
|
||||
52
app-text/mdbook/mdbook-0.4.46.ebuild
Normal file
52
app-text/mdbook/mdbook-0.4.46.ebuild
Normal file
@@ -0,0 +1,52 @@
|
||||
# Copyright 2021-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
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
|
||||
https://dev.gentoo.org/~ionen/distfiles/${P}-vendor.tar.xz
|
||||
"
|
||||
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 CC0-1.0 ISC MIT Unicode-3.0" # crates
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~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
|
||||
"$(cargo_target_dir)"/${PN} build -d html guide || die
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local skip=(
|
||||
# fails with usersandbox
|
||||
--skip test_ignore_canonical
|
||||
)
|
||||
|
||||
cargo_src_test -- "${skip[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
|
||||
dodoc CHANGELOG.md README.md
|
||||
use doc && ! tc-is-cross-compiler && dodoc -r guide/html
|
||||
}
|
||||
Reference in New Issue
Block a user