mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
app-text/tinymist: add 0.15.0
Signed-off-by: Timo van Veen <timovanveen@hotmail.nl>
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
DIST docx-rs-db49a729f68dbdb9e8e91857fbb1c3d414209871.gh.tar.gz 7716256 BLAKE2B cc4f111b89028b04b2e6aa4d7b76bdcf3ccfe7e14db5ddaff28fc1cc1c8083b8f89d131c2ce1548358972a6e774e3ec2f30ec129ec652ece660942e391963cdd SHA512 dd10581e4a68fa649b593d8c41e92bba5c06850fec3eac3f8604d6f9ad7de2962d37f293ff8b1aa6425bf4acd666df2cdb665a368f33a715ea41423ae819f075
|
||||
DIST tinymist-0.14.10-crates.tar.xz 47130712 BLAKE2B 060c3f6f4b48abf846095e0e25bad49901a1c5aa77f93525af06ab34a00691a189b335072fc14f4b8ee4b4d2ae9e6c9a9a40ecdcb59e325d343b3917ff6c4ab6 SHA512 52562606af318fd6ecadc2a3616012c1c9969827ed5d907ff8cc5eb79fe969d08867db96f5193aaba92fd1db4933bf24089f10d937e993e9e53a222528a49079
|
||||
DIST tinymist-0.14.10.tar.gz 1603216 BLAKE2B 2c3076bafa8ea4fe527c6d9dfca2f7eb7e01f185aef3231643eb155eb8cc340408eb08b88983a4512ac86cf91fcdaf8ff2752d78d36f289843a7895677ed731a SHA512 4c75b1cfd2d145ef6edf61fcb036025bc5e159efaf2dcaf3aece411808aeef48d3c2b34381ba9950f2890b0a3ee57e1728d9a1f1d50ee152ee7231b76cdd9ff1
|
||||
DIST tinymist-0.15.0-crates.tar.xz 73793080 BLAKE2B 248f6998d7af32febdf62d8f2944efdacacfaeb8568096ef67522a9a6823d62331dd8c61a662cff7a8ef4ebe034f58d5fe855b7a3acdb6fd8cec429197f1fbd8 SHA512 d5a284b7d8fb17ef706bede0b81aa02119c6b44025b6421f3bbfe52799c754b613dd497c94c22d0fa26f3add7777e66a1e10c23710512acb6932608f154a8df8
|
||||
DIST tinymist-0.15.0.tar.gz 2002814 BLAKE2B 68ae7127a50855426e72398d0da0faf7882049caeeaa64ee0c5ef9d1e0f7a50d506f867d3dd42a5712e9b0a34c7d996c1b5cb5f83ba6cd76b581ebc10c09761f SHA512 4ffbb1bdb690a6ab8742bb4dca1660ef778242c660ad53bbdff5726db2699caf40d17f7fa8dc50d8ef68bf425ad5c02a6328a081532967f816674c3d60a92ab2
|
||||
DIST typst-28af048d65cbb7a5fc78f3ca1a20c9e885384a62.gh.tar.gz 4125319 BLAKE2B f7c4490cfc847cbd63c394a09651d5b0154b44647c5706390c3c047d3c1d6db134a4b43450bdb27d6983e5f965c9f73c9a79470c1b47119b851abc1e1c3d70a4 SHA512 6e023dfea82433b20077bd2f2f932b3fc66b309d50ca35d5e8c6ac971ddff435cc6befc0e870aa6df12193e162a5f75b9d0c036b26da40583f645bdabe0b94e9
|
||||
DIST typst-391c2dcd698aabf2917db0336868d16f197057d9.gh.tar.gz 4871109 BLAKE2B c2bf202be8730eef8e1e7f53d8bd6f37c0ab48e33768950219492f8c6bfbc6ffa2d32bdab60a1087ab067369d09128acf0df2438e459477602e567bc4a038a5e SHA512 5e14257f1680bd17b8924a3b9bde0ae3271d9d45a358d82b9ae9b8c889f90416c9d382f363987aac5817327293b26e72d21781391c9ae2e72a22a54badff4341
|
||||
DIST typst-ansi-hl-3867cb7229ec6b3e3c8f5b1222af96f98bba9bff.gh.tar.gz 21294 BLAKE2B 1773814a87f4717d7cde76549329e9ff8a1738859097c4d9e433839791a8bd868ff31cceb29f2cc46c35d176cd1d6faad67638b0738f04c2c922edea9a78f64f SHA512 0914b60d99079ca10ff14886a0b1f4c2534bd764e891e508552d92810379b8bd103ecb288f160689b688368f6df0e0e7e2d9ffd99f5a2522d60a4abe5d8b2995
|
||||
DIST typst-dev-assets-29753d6069349e7fe4e5f75dcb2e77ff1adc5fac.gh.tar.gz 38107931 BLAKE2B b27f67d59876551021589aa344013a093af21822ee1caa64e55f47c923a2f6cb2dd531b8d142746129abfe884ab6c25dbbd573349655cc79a8ce2457695c07b5 SHA512 320bc3d320bc5df85c8f80ff2e2a386968ea36340503a49be588f4c76568e63bf90b52dff70476d630c28f2e5f4592db82a326f6430fb54352af3fda08e39819
|
||||
DIST typst.ts-5904247a0eca4938b4861223cb24431e530e429c.gh.tar.gz 5633473 BLAKE2B 3b9a394980ea87a5636de43df3fad2093921706617f7513c5fdcef77099f1069bdc92a4483f11d78b916cdd789fc8a9d36f78860ab2cb2dc6f3cfa7ecd2c9cc8 SHA512 f53c023e64d049a88628017b4a11fd0bc672a23afa5497a4825f5bc6dfafc704fdedabb96fe5dcd479c7a75341f11d00b333706a2f41ad72719140e5b14901fd
|
||||
DIST typst.ts-c078ddf869d9438b36e1cacb65100e4514780dc1.gh.tar.gz 1099549 BLAKE2B ec3ccad4028388431230a7c3d1a6cfb708a6ed34e14905eb356ffc338a9308cd8ef1b033cfc194002d4eac40e5c58c4e25813438c5e35946a2cdcf1eeb234a1a SHA512 41daaeb99e0f1dfd2d2b5409b814dc7e83f89f2722ac3940eb3c7eb752b5436f49fcbce0c85e2794b0d41e017dcbf88deec3666c1c3b697ebf165161325e541b
|
||||
DIST typstfmt-cdfe44ed065a90d80040c3b29dee7ed431a710ee.gh.tar.gz 40943 BLAKE2B a55875c3b461f15c31a98d6e5adfcfb3ac338e6ea63b95d3405be3deb46159a7312675517b0e4d56b28ea5e93b74de9008796061e29343b522a69c501f286f50 SHA512 f54e59bd3cc50fcf56e1e47f9c3c3dd0c5a3d0c5e55fe83b8d143c97872fc73d1382f81395dc32d8730674b50a5d598c3cc5a8381d748f6566547ee9f08ba865
|
||||
DIST typstyle-992f36112200bc0ea61df8a7c2af6d9ae56781dd.gh.tar.gz 918443 BLAKE2B 0f55bce99c9036e352eafd26bd8178b984d16b4edb4639d788292a03d4e8cf8b516b4c2922fec005ab605366b36d0f0a7d3e7cdb8818df00537b8dc7a0ace434 SHA512 4ead26ff6c3f86c47b5ae5a714cf7ef37fc5e4845d7d3bcf9329083b6412ebef63a40c6b6ae751ecd22d34b41d61d4439206474029177d0a14a627a4a8709702
|
||||
DIST xilem-abe7da9eae473d4f09a7e69a058c31cfe6d3b2e3.gh.tar.gz 1265975 BLAKE2B f1b266f078a07f36da51f8ef59b75c73c703e7cd6b74f089e318971899e4d1d6f6cd62d9eb037be6e381dd8b2356a1e288a40fe9aff5529455baf6566a2e413e SHA512 2686fc77206f06c9635ce25c5e9223ee6f71ec553f91d4233941a129923af47cc1ad05d0b5d7c606210346e4bdd8407aab869fd2c8fb566bc45377d016882a11
|
||||
|
||||
108
app-text/tinymist/tinymist-0.15.0.ebuild
Normal file
108
app-text/tinymist/tinymist-0.15.0.ebuild
Normal file
@@ -0,0 +1,108 @@
|
||||
# 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.92.0"
|
||||
|
||||
CRATES=" "
|
||||
|
||||
TYPST_HASH="391c2dcd698aabf2917db0336868d16f197057d9"
|
||||
TYPST_TS_HASH="5904247a0eca4938b4861223cb24431e530e429c"
|
||||
XILEM_HASH="abe7da9eae473d4f09a7e69a058c31cfe6d3b2e3"
|
||||
|
||||
declare -A GIT_CRATES=(
|
||||
[docx-rs]="https://github.com/Myriad-Dreamin/docx-rs;db49a729f68dbdb9e8e91857fbb1c3d414209871;docx-rs-%commit%/docx-core"
|
||||
[reflexo-typst2vec]="https://github.com/Myriad-Dreamin/typst.ts;${TYPST_TS_HASH};typst.ts-%commit%/crates/conversion/typst2vec"
|
||||
[reflexo-typst]="https://github.com/Myriad-Dreamin/typst.ts;${TYPST_TS_HASH};typst.ts-%commit%/crates/reflexo-typst"
|
||||
[reflexo-vec2svg]="https://github.com/Myriad-Dreamin/typst.ts;${TYPST_TS_HASH};typst.ts-%commit%/crates/conversion/vec2svg"
|
||||
[reflexo]="https://github.com/Myriad-Dreamin/typst.ts;${TYPST_TS_HASH};typst.ts-%commit%/crates/reflexo"
|
||||
[typst-bundle]="https://github.com/Myriad-Dreamin/typst;${TYPST_HASH};typst-%commit%/crates/typst-bundle"
|
||||
[typst-eval]="https://github.com/Myriad-Dreamin/typst;${TYPST_HASH};typst-%commit%/crates/typst-eval"
|
||||
[typst-html]="https://github.com/Myriad-Dreamin/typst;${TYPST_HASH};typst-%commit%/crates/typst-html"
|
||||
[typst-layout]="https://github.com/Myriad-Dreamin/typst;${TYPST_HASH};typst-%commit%/crates/typst-layout"
|
||||
[typst-library]="https://github.com/Myriad-Dreamin/typst;${TYPST_HASH};typst-%commit%/crates/typst-library"
|
||||
[typst-macros]="https://github.com/Myriad-Dreamin/typst;${TYPST_HASH};typst-%commit%/crates/typst-macros"
|
||||
[typst-pdf]="https://github.com/Myriad-Dreamin/typst;${TYPST_HASH};typst-%commit%/crates/typst-pdf"
|
||||
[typst-realize]="https://github.com/Myriad-Dreamin/typst;${TYPST_HASH};typst-%commit%/crates/typst-realize"
|
||||
[typst-render]="https://github.com/Myriad-Dreamin/typst;${TYPST_HASH};typst-%commit%/crates/typst-render"
|
||||
[typst-svg]="https://github.com/Myriad-Dreamin/typst;${TYPST_HASH};typst-%commit%/crates/typst-svg"
|
||||
[typst-syntax]="https://github.com/Myriad-Dreamin/typst;${TYPST_HASH};typst-%commit%/crates/typst-syntax"
|
||||
[typst-timing]="https://github.com/Myriad-Dreamin/typst;${TYPST_HASH};typst-%commit%/crates/typst-timing"
|
||||
[typst-utils]="https://github.com/Myriad-Dreamin/typst;${TYPST_HASH};typst-%commit%/crates/typst-utils"
|
||||
[typst]="https://github.com/Myriad-Dreamin/typst;${TYPST_HASH};typst-%commit%/crates/typst"
|
||||
[typstfmt]="https://github.com/Myriad-Dreamin/typstfmt;cdfe44ed065a90d80040c3b29dee7ed431a710ee;typstfmt-%commit%"
|
||||
[typst-ansi-hl]="https://github.com/Myriad-Dreamin/typst-ansi-hl;3867cb7229ec6b3e3c8f5b1222af96f98bba9bff;typst-ansi-hl-%commit%/lib"
|
||||
[typstyle-core]="https://github.com/Myriad-Dreamin/typstyle;992f36112200bc0ea61df8a7c2af6d9ae56781dd;typstyle-%commit%/crates/typstyle-core"
|
||||
[xilem]="https://github.com/Myriad-Dreamin/xilem;${XILEM_HASH};xilem-%commit%/xilem"
|
||||
[masonry]="https://github.com/Myriad-Dreamin/xilem;${XILEM_HASH};xilem-%commit%/masonry"
|
||||
[masonry_testing]="https://github.com/Myriad-Dreamin/xilem;${XILEM_HASH};xilem-%commit%/masonry_testing"
|
||||
[masonry_winit]="https://github.com/Myriad-Dreamin/xilem;${XILEM_HASH};xilem-%commit%/masonry_winit"
|
||||
[typst-dev-assets]="https://github.com/typst/typst-dev-assets;29753d6069349e7fe4e5f75dcb2e77ff1adc5fac;typst-dev-assets-%commit%"
|
||||
)
|
||||
|
||||
inherit cargo shell-completion
|
||||
|
||||
DESCRIPTION="An integrated language service for Typst."
|
||||
HOMEPAGE="https://github.com/Myriad-Dreamin/tinymist"
|
||||
SRC_URI="
|
||||
https://github.com/Myriad-Dreamin/tinymist/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/TimovVeen/tinymist/releases/download/v${PV}/tinymist-${PV}-crates.tar.xz
|
||||
${CARGO_CRATE_URIS}
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
# Dependent crate licenses
|
||||
LICENSE+="
|
||||
Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0
|
||||
CDLA-Permissive-2.0 EUPL-1.2 ISC LGPL-3+ MIT MPL-2.0 Unicode-3.0
|
||||
ZLIB
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
# e2e tests hang
|
||||
RESTRICT="test"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/tinymist"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Taken from app-laptop/framework_tool::gentoo,
|
||||
# adapted to also remove the tag field
|
||||
# Upstream uses [patch] on some dependencies in Cargo.toml,
|
||||
# which are not patched by cargo.eclass's ${ECARGO_HOME}/config
|
||||
local crate commit crate_uri crate_dir
|
||||
local -a sed_scripts
|
||||
for crate in "${!GIT_CRATES[@]}"; do
|
||||
IFS=';' read -r \
|
||||
crate_uri commit crate_dir <<< "${GIT_CRATES[${crate}]}"
|
||||
sed_scripts+=(
|
||||
"s|^(${crate}[[:space:]]*=[[:space:]]*[{].*)([[:space:]]*git[[:space:]]*=[[:space:]]*['\"][[:graph:]]+['\"][[:space:]]*)(.*[}])|\1path = '${WORKDIR}/${crate_dir//%commit%/${commit}}'\3|;"
|
||||
"s|^(${crate}[[:space:]]*=[[:space:]]*[{].*)([,][[:space:]]*branch[[:space:]]*=[[:space:]]*['\"][[:graph:]]+['\"][[:space:]]*)(.*[}])|\1\3|;"
|
||||
"s|^(${crate}[[:space:]]*=[[:space:]]*[{].*)([,][[:space:]]*tag[[:space:]]*=[[:space:]]*['\"][[:graph:]]+['\"][[:space:]]*)(.*[}])|\1\3|;"
|
||||
"s|^(${crate}[[:space:]]*=[[:space:]]*[{].*)([,][[:space:]]*rev[[:space:]]*=[[:space:]]*['\"][[:graph:]]+['\"][[:space:]]*)(.*[}])|\1\3|;"
|
||||
)
|
||||
done
|
||||
sed -i -E -e "${sed_scripts[*]}" Cargo.toml ||
|
||||
die "Failed to override dependencies in Cargo.toml"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cargo_src_compile
|
||||
|
||||
"$(cargo_target_dir)"/tinymist completion bash > tinymist || die
|
||||
"$(cargo_target_dir)"/tinymist completion fish > tinymist.fish || die
|
||||
"$(cargo_target_dir)"/tinymist completion zsh > _tinymist || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install --path ./crates/tinymist-cli
|
||||
|
||||
dobashcomp tinymist
|
||||
dofishcomp tinymist.fish
|
||||
dozshcomp _tinymist
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
RUST_MIN_VER="1.89.0"
|
||||
RUST_MIN_VER="1.92.0"
|
||||
|
||||
inherit cargo git-r3 shell-completion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user