diff --git a/app-text/mdbook-typst-pdf/Manifest b/app-text/mdbook-typst-pdf/Manifest new file mode 100644 index 0000000..3bf4790 --- /dev/null +++ b/app-text/mdbook-typst-pdf/Manifest @@ -0,0 +1,2 @@ +DIST mdbook-typst-pdf-0.6.3-crates.tar.xz 45021876 BLAKE2B 28e9eecd472a21ec20ad04f0952fc73ddaa4537cfe5e894f633858d2d470fdf8704533ebfffecb90aa4d1f2763372546db50e324f7539f66ef52aed421f082da SHA512 1461ef670af5014155873a9b78cea3cd97652553e78ba17dc1bd6fb92af12b2f95ebe22d2291962a9700bf8cd81778a9caacbf7c39d20cd3b7104dd6fa57c420 +DIST mdbook-typst-pdf-0.6.3.tar.gz 59005 BLAKE2B 02c530b9a81fbd04ba8b5a8a2f10e1694f00d0cf6ce3f049417a659f292dd7b4602ee3197e69a1af8e89bdbca6efae34681088cfbfe5d92db63fdd388c1e076e SHA512 d034a5b6931e4607daf2ad974e9b2f24893831b5a032a53638e47403771567a394aae8e09806d5a2fd0bf7405171fcacf2f288ce09b51b60ce8bf432fec120d1 diff --git a/app-text/mdbook-typst-pdf/mdbook-typst-pdf-0.6.3.ebuild b/app-text/mdbook-typst-pdf/mdbook-typst-pdf-0.6.3.ebuild new file mode 100644 index 0000000..9440316 --- /dev/null +++ b/app-text/mdbook-typst-pdf/mdbook-typst-pdf-0.6.3.ebuild @@ -0,0 +1,55 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Autogenerated by pycargoebuild 0.15.0 + +EAPI=8 + +RUST_MIN_VER="1.85.0" + +CRATES=" +" + +inherit cargo + +DESCRIPTION="mdbook typst pdf backend" +HOMEPAGE="" +SRC_URI=" + https://github.com/KaiserY/mdbook-typst-pdf/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz + ${CARGO_CRATE_URIS} +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://git.millerson.name/alex/gentoo-artifacts/releases/download/${P}-crates/${P}-crates.tar.xz + " +fi + +LICENSE="|| ( Apache-2.0 MIT )" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 BSD-2 BSD CC0-1.0 ISC MIT MPL-2.0 Unicode-3.0 ZLIB +" +SLOT="0" +KEYWORDS="~amd64" + +#QA_FLAGS_IGNORED="usr/bin/${PN}" + +src_compile() { + cargo_src_compile +} + +src_test() { + local skip=( + # fails with usersandbox + --skip test_ignore_canonical + ) + + cargo_src_test -- "${skip[@]}" +} + +src_install() { + cargo_src_install + + dodoc README.md +} \ No newline at end of file