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 D53EB1581EE for ; Wed, 26 Mar 2025 07:55:20 +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 C09C5343109 for ; Wed, 26 Mar 2025 07:55:20 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id BB117110296; Wed, 26 Mar 2025 07:55:19 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id B1D7B110296 for ; Wed, 26 Mar 2025 07:55:19 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 69C6E343103 for ; Wed, 26 Mar 2025 07:55:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BFD461EEA for ; Wed, 26 Mar 2025 07:55:17 +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: <1742975406.181e2350bcffb743a26cb66029abaaf2d8583d7b.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.47.ebuild X-VCS-Directories: app-text/mdbook/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 181e2350bcffb743a26cb66029abaaf2d8583d7b X-VCS-Branch: master Date: Wed, 26 Mar 2025 07:55:17 +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: f1389424-f697-41d7-879a-03d7859dbcdf X-Archives-Hash: 51677f666037c93d9849588ec8fb3017 commit: 181e2350bcffb743a26cb66029abaaf2d8583d7b Author: Ionen Wolkens gentoo org> AuthorDate: Wed Mar 26 02:58:44 2025 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Wed Mar 26 07:50:06 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=181e2350 app-text/mdbook: add 0.4.47 Signed-off-by: Ionen Wolkens gentoo.org> app-text/mdbook/Manifest | 2 ++ app-text/mdbook/mdbook-0.4.47.ebuild | 52 ++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/app-text/mdbook/Manifest b/app-text/mdbook/Manifest index 13599e851f75..d186eace9805 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.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.47-vendor.tar.xz 8893860 BLAKE2B d37b421878f408c85d8af01c6ca4e2e8a9d341c003e19080a19dd8c81a2324df2249c1db016488ab54a29c3650cb037c1e892c0ae1411f4938ba8d7b19fd9dc7 SHA512 1e4f0eed569c64c47a3de8086005df5d75bcd1ad4c8205abb1c8921051bd50f6c194d272f222195789b466a9de369fe5a2d766111e09be6cb17f19373ee28249 +DIST mdbook-0.4.47.tar.gz 1551584 BLAKE2B 30755c8035a2653be50f232a4d6f064626f9b0fb1a459c7150392afda73e2aaeede36e1ac785e184878ab8cfc1c7a6da20721fb1b2c9cd615b1fce18efd51a2b SHA512 76fbc342503baf4bb06b6411dbd086627743e55bcb83f1553cf055a4596a47dd6b5bbd08abd078a762a91a5b2e4c4ba84d13b5ddac1ac3135dd02c0765e64d42 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.47.ebuild b/app-text/mdbook/mdbook-0.4.47.ebuild new file mode 100644 index 000000000000..3072b2705737 --- /dev/null +++ b/app-text/mdbook/mdbook-0.4.47.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 +}