mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
app-text/mdbook: drop 0.5.2
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
DIST mdbook-0.5.2-vendor.tar.xz 7859504 BLAKE2B f37b5464d986d89e466ed40317c392f449bcb65dbfcade1615bbff92f2697b9db7cdf4041c209d3493c9ec0c5dce6353fdf5510a3259fc020344b7ea65044b74 SHA512 43b30410ef5637431b3f8680870cbea62cabf167a9be6203c9b40e587267e676da15017f5114dfa7b419994691b06092899774872b0723e5928e743ca3ad1604
|
||||
DIST mdbook-0.5.2.tar.gz 974882 BLAKE2B 7337eb5930c41f7ee51390f5374e633db6fed4876c17150e34a8b4c1df92a5f4a9b33404cc48cf0eaa55ab20ef4d4540540834e994f3377f15d6b014fc653a1b SHA512 a10078d486b3e2659117cdcf08ba8a7902cc2764b5064b5c0f5ef33d4dadabac691d332f2b40d76cab2b615a2bda6ac5d30f28024ce732a6bb5fc67ce1a47de3
|
||||
DIST mdbook-0.5.3-vendor.tar.xz 8377040 BLAKE2B 6b21db63a960f0243944d4756c7090684b8095fb42360b9c46bb6b62b808dd013e0038bbb4038e4991e14e080453216f4897eb2ff71de730a54295d7994da123 SHA512 d425e8eb08b77a9a03a5192f9e9fdc8e8febc80372857a8c125ec956af8ce46427654e9f674d2e5b9edb00d90411a23f2c392f14ac5f00b7f08b85a65d823e9d
|
||||
DIST mdbook-0.5.3.tar.gz 980947 BLAKE2B da9b66f451ad62a8ec23e2a6434fbb2d5ec86a27de8aff6530c16ec5ce68fb1caae249c90d3e0f2822d0e4cd1958036ee765d602876dd3e2200256775fe6292b SHA512 453603c7c9e094e671656f83eecbee362a8ccc0ec8299e73ea382b53deecef2e723079c0c7455ba0e503db480c3e56ec5e56d4a35eca3835030b081ceb2b6198
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
# Copyright 2021-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
RUST_MIN_VER=1.85.0
|
||||
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://distfiles.gentoo.org/pub/dev/ionen@gentoo.org/${P}-vendor.tar.xz
|
||||
"
|
||||
S=${WORKDIR}/${P/b/B}
|
||||
|
||||
# OFL-1.1: embeds fonts inside the executable
|
||||
LICENSE="MPL-2.0 OFL-1.1"
|
||||
LICENSE+="
|
||||
Apache-2.0 BSD CC-BY-4.0 CC0-1.0 ISC MIT MPL-2.0 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 "${T}"/html guide || die
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local -x COLUMNS=100 #960393
|
||||
|
||||
cargo_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
|
||||
dodoc CHANGELOG.md README.md
|
||||
use doc && ! tc-is-cross-compiler && dodoc -r "${T}"/html
|
||||
}
|
||||
Reference in New Issue
Block a user