From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5EFCE1582EF for ; Tue, 18 Feb 2025 03:18:32 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 48BCB343123 for ; Tue, 18 Feb 2025 03:18:32 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 3DB281103A8; Tue, 18 Feb 2025 03:18:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 310871103A8 for ; Tue, 18 Feb 2025 03:18:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CDFDA34311C for ; Tue, 18 Feb 2025 03:18:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5FC8B175A for ; Tue, 18 Feb 2025 03:18:29 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1739848693.de2682047041e8b0ceb9b471e900ecac4a6ba809.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/mdbook/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/mdbook/Manifest app-text/mdbook/mdbook-0.4.45.ebuild X-VCS-Directories: app-text/mdbook/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: de2682047041e8b0ceb9b471e900ecac4a6ba809 X-VCS-Branch: master Date: Tue, 18 Feb 2025 03:18:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f3f9f650-1f0d-4b16-9032-11f3b7f319dd X-Archives-Hash: 07b287eedad2f9a76819e8afa5af471d commit: de2682047041e8b0ceb9b471e900ecac4a6ba809 Author: Ionen Wolkens gentoo org> AuthorDate: Tue Feb 18 03:14:21 2025 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Tue Feb 18 03:18:13 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de268204 app-text/mdbook: add 0.4.45 Signed-off-by: Ionen Wolkens gentoo.org> app-text/mdbook/Manifest | 2 ++ app-text/mdbook/mdbook-0.4.45.ebuild | 52 ++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/app-text/mdbook/Manifest b/app-text/mdbook/Manifest index ae39d390e1ed..a72d992ac5d6 100644 --- a/app-text/mdbook/Manifest +++ b/app-text/mdbook/Manifest @@ -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.44-vendor.tar.xz 8889244 BLAKE2B 2128dd7829b41f099e835713ea5bb721824a7522783b9ef6428bfb0288fc010de59ec9aec5aee5a116fc87fd7bacba33b3a886cd38fed8c64ea5328927446e10 SHA512 df330943db6d5cfabeddde76cb4f107082ae413e1e862f94b26f17c6971254a5537ac9f73c312c60622887ef82e446e9a2c91b367de528155360681973e5a5c5 DIST mdbook-0.4.44.tar.gz 1547713 BLAKE2B 5fa5104fc8cf23c8c2c444736feaaa156a5aedc4092eb2b55dd36e0b097ab926299b98d38698de87bf56e35c96938cbcf34ea7c553a5922658ef1836709693fa SHA512 6c8a12d01e252ebf1223c699d58bc3f4ecf1ca8fc531bb276124e01982d4fa5534c7960530460e84299da69c27075a8e063a270804fcafc6f06cc43ad91905a6 +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 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 diff --git a/app-text/mdbook/mdbook-0.4.45.ebuild b/app-text/mdbook/mdbook-0.4.45.ebuild new file mode 100644 index 000000000000..3072b2705737 --- /dev/null +++ b/app-text/mdbook/mdbook-0.4.45.ebuild @@ -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 +}