app-text/mdbook: drop 0.4.46

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2025-08-01 22:43:19 -04:00
parent fb30aba06f
commit e5b1d5e8ac
2 changed files with 0 additions and 54 deletions

View File

@@ -1,5 +1,3 @@
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 mdbook-0.4.48-vendor.tar.xz 8893060 BLAKE2B da3a9965457f75022f6336da373aa33e43912013f9141377808b1422fbc821d918a436caad9d17ad08f9650bb4ded8fb91a094ee821bcb35f8d65ac066a22904 SHA512 19c2cf28bbe1f59599f5d42df9dd1a12c603bb22d3f109ad2eca0cb9aa93163449b67c262da3fc2898b89de5e5cbc51411d1fcce18e4f9cad3d8522fc8b13103
DIST mdbook-0.4.48.tar.gz 1556726 BLAKE2B 0801115e6f33594e64638ccfa014324f41f21c5df848ec6605088232ef6448b09d09660fe455241b8c123e596c455f7e5b94c4a7a9f47ba0d2baf1db79a151b9 SHA512 f8ef2fedc7b6ce215dd63aaa21240d116729a873739995cee652669243da486de456f90e096f1debe8eb1136a8518076147011cf81dcd0f36288cd19e655d89f
DIST mdbook-0.4.51-vendor.tar.xz 8421132 BLAKE2B ac02297ffc22b757b7eb54e92bd9a89439620445fafcbf7a3e18f7eddfa13a0c18be577652f3a9d07c8686b92ab45eb2bf217ba1f9aaabf303bc0f8867b85780 SHA512 c7f073e76acec89b723c1de4446eaba14ccdcff00fad9b1d979615b07b6c1202a61de45c15d47cfdbc6fbc84d01edb910d9a97811d13e39231372509ae75775d

View File

@@ -1,52 +0,0 @@
# 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
}