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 9A8BB1581EE for ; Tue, 01 Apr 2025 03:16:13 +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 7B0F13431D9 for ; Tue, 01 Apr 2025 03:16:13 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 9CB021104B1; Tue, 01 Apr 2025 03:16:09 +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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 8FF491104B1 for ; Tue, 01 Apr 2025 03:16:09 +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 4498634306C for ; Tue, 01 Apr 2025 03:16:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5E71520FB for ; Tue, 01 Apr 2025 03:16:07 +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: <1743477323.4757e608439b7ea8dd44dd4200fe2d0d0381dbee.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.48.ebuild X-VCS-Directories: app-text/mdbook/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 4757e608439b7ea8dd44dd4200fe2d0d0381dbee X-VCS-Branch: master Date: Tue, 01 Apr 2025 03:16:07 +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: 85a54564-83a7-4a94-b51a-2a32417101f8 X-Archives-Hash: afd77dde022608a04b24bfd00f9f25fa commit: 4757e608439b7ea8dd44dd4200fe2d0d0381dbee Author: Ionen Wolkens gentoo org> AuthorDate: Tue Apr 1 02:42:04 2025 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Tue Apr 1 03:15:23 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4757e608 app-text/mdbook: add 0.4.48 Signed-off-by: Ionen Wolkens gentoo.org> app-text/mdbook/Manifest | 2 ++ app-text/mdbook/mdbook-0.4.48.ebuild | 52 ++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/app-text/mdbook/Manifest b/app-text/mdbook/Manifest index 71c57078374f..f63076ffd3f4 100644 --- a/app-text/mdbook/Manifest +++ b/app-text/mdbook/Manifest @@ -2,3 +2,5 @@ DIST mdbook-0.4.46-vendor.tar.xz 8893432 BLAKE2B fd075811c3e0e9b8bcdf76014926258 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 mdbook-0.4.48-vendor.tar.xz 8893060 BLAKE2B da3a9965457f75022f6336da373aa33e43912013f9141377808b1422fbc821d918a436caad9d17ad08f9650bb4ded8fb91a094ee821bcb35f8d65ac066a22904 SHA512 19c2cf28bbe1f59599f5d42df9dd1a12c603bb22d3f109ad2eca0cb9aa93163449b67c262da3fc2898b89de5e5cbc51411d1fcce18e4f9cad3d8522fc8b13103 +DIST mdbook-0.4.48.tar.gz 1556726 BLAKE2B 0801115e6f33594e64638ccfa014324f41f21c5df848ec6605088232ef6448b09d09660fe455241b8c123e596c455f7e5b94c4a7a9f47ba0d2baf1db79a151b9 SHA512 f8ef2fedc7b6ce215dd63aaa21240d116729a873739995cee652669243da486de456f90e096f1debe8eb1136a8518076147011cf81dcd0f36288cd19e655d89f diff --git a/app-text/mdbook/mdbook-0.4.48.ebuild b/app-text/mdbook/mdbook-0.4.48.ebuild new file mode 100644 index 000000000000..3072b2705737 --- /dev/null +++ b/app-text/mdbook/mdbook-0.4.48.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 +}