summaryrefslogtreecommitdiff
path: root/app-text/tinymist
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /app-text/tinymist
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'app-text/tinymist')
-rw-r--r--app-text/tinymist/Manifest6
-rw-r--r--app-text/tinymist/metadata.xml11
-rw-r--r--app-text/tinymist/tinymist-0.14.10.ebuild99
-rw-r--r--app-text/tinymist/tinymist-9999.ebuild46
4 files changed, 162 insertions, 0 deletions
diff --git a/app-text/tinymist/Manifest b/app-text/tinymist/Manifest
new file mode 100644
index 000000000000..d74961ee82c2
--- /dev/null
+++ b/app-text/tinymist/Manifest
@@ -0,0 +1,6 @@
+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 typst-28af048d65cbb7a5fc78f3ca1a20c9e885384a62.gh.tar.gz 4125319 BLAKE2B f7c4490cfc847cbd63c394a09651d5b0154b44647c5706390c3c047d3c1d6db134a4b43450bdb27d6983e5f965c9f73c9a79470c1b47119b851abc1e1c3d70a4 SHA512 6e023dfea82433b20077bd2f2f932b3fc66b309d50ca35d5e8c6ac971ddff435cc6befc0e870aa6df12193e162a5f75b9d0c036b26da40583f645bdabe0b94e9
+DIST typst.ts-c078ddf869d9438b36e1cacb65100e4514780dc1.gh.tar.gz 1099549 BLAKE2B ec3ccad4028388431230a7c3d1a6cfb708a6ed34e14905eb356ffc338a9308cd8ef1b033cfc194002d4eac40e5c58c4e25813438c5e35946a2cdcf1eeb234a1a SHA512 41daaeb99e0f1dfd2d2b5409b814dc7e83f89f2722ac3940eb3c7eb752b5436f49fcbce0c85e2794b0d41e017dcbf88deec3666c1c3b697ebf165161325e541b
+DIST typstfmt-cdfe44ed065a90d80040c3b29dee7ed431a710ee.gh.tar.gz 40943 BLAKE2B a55875c3b461f15c31a98d6e5adfcfb3ac338e6ea63b95d3405be3deb46159a7312675517b0e4d56b28ea5e93b74de9008796061e29343b522a69c501f286f50 SHA512 f54e59bd3cc50fcf56e1e47f9c3c3dd0c5a3d0c5e55fe83b8d143c97872fc73d1382f81395dc32d8730674b50a5d598c3cc5a8381d748f6566547ee9f08ba865
diff --git a/app-text/tinymist/metadata.xml b/app-text/tinymist/metadata.xml
new file mode 100644
index 000000000000..831d78d0708d
--- /dev/null
+++ b/app-text/tinymist/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>timovanveen@hotmail.nl</email>
+ <name>Timo van Veen</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">Myriad-Dreamin/tinymist</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-text/tinymist/tinymist-0.14.10.ebuild b/app-text/tinymist/tinymist-0.14.10.ebuild
new file mode 100644
index 000000000000..7cc4fcffeb7d
--- /dev/null
+++ b/app-text/tinymist/tinymist-0.14.10.ebuild
@@ -0,0 +1,99 @@
+# 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.89.0"
+
+CRATES=" "
+
+TYPST_HASH="28af048d65cbb7a5fc78f3ca1a20c9e885384a62"
+TYPST_TS_HASH="c078ddf869d9438b36e1cacb65100e4514780dc1"
+
+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-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%"
+)
+
+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
+}
diff --git a/app-text/tinymist/tinymist-9999.ebuild b/app-text/tinymist/tinymist-9999.ebuild
new file mode 100644
index 000000000000..dba3df1eb469
--- /dev/null
+++ b/app-text/tinymist/tinymist-9999.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+RUST_MIN_VER="1.89.0"
+
+inherit cargo git-r3 shell-completion
+
+DESCRIPTION="An integrated language service for Typst."
+HOMEPAGE="https://github.com/Myriad-Dreamin/tinymist"
+EGIT_REPO_URI="https://github.com/Myriad-Dreamin/tinymist"
+
+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"
+
+src_unpack() {
+ git-r3_src_unpack
+ cargo_live_src_unpack
+}
+
+src_configure() {
+ cargo_src_configure --frozen
+}
+
+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
+}