From 9d1d7ee1fe9b65b78dab829f75a7a82e5ed83fa3 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Wed, 10 Jul 2024 11:44:40 +0300 Subject: [PATCH] dev-tex/texlab: add 5.19.0 Signed-off-by: Alfred Wingate --- dev-tex/texlab/Manifest | 1 + dev-tex/texlab/texlab-5.19.0.ebuild | 236 ++++++++++++++++++++++++++++ 2 files changed, 237 insertions(+) create mode 100644 dev-tex/texlab/texlab-5.19.0.ebuild diff --git a/dev-tex/texlab/Manifest b/dev-tex/texlab/Manifest index 318ea7d..155258a 100644 --- a/dev-tex/texlab/Manifest +++ b/dev-tex/texlab/Manifest @@ -147,6 +147,7 @@ DIST syn-2.0.48.crate 250566 BLAKE2B e46b0863af76c3116c84d01b654a9820b7edc51f75c DIST tempfile-3.10.1.crate 33653 BLAKE2B 819b183e7840f70270883ee8b6a91fa09861c3112eaadc65007199885abe099bd593e1cdc4d9ab48c23490a6d484cad9bf0e80cf4e718c369cc2418b72eaf09c SHA512 bac7515b85b0d01ea914b527f0fadd3a4d8e77c9eabe786977d2625d8a3e91decaec502dd15bab4d49a43597fa7cf7660fff4be1b043112d13b542a72443bf39 DIST texlab-5.17.0.tar.gz 7500975 BLAKE2B e111966d91839e3d6d7ae1c23b027ce96967e022ea52475a88ddabe1347053c5a5e2b279ee5ccaee75acb753159adf090cf93c27752c2cb4239b261a0b9c1c54 SHA512 ce4c405b93b88e30db5bc926936ae1e2d79a36fb1f9d79898c23671c3f701f1f48b9092fc008bafe0e7f8e7b025d6c383376ea57b286931baa56b98dc6712230 DIST texlab-5.18.0.tar.gz 7504498 BLAKE2B ecef57913a2a029ad702c7131a2c3754ada9a36e2408110c9e5f51306d4fe195543da9f569c9c7c6912e502125dfcb58838b271d9d2354e6d3ed24c8812e25cd SHA512 3fdf7ae95efb5f6d073bf926d3c7511abaa2d019d77906c5bf697f9e8b2cb310321a06d4f5fb4b3a299ed5c6b5bf28a3df0ed141f51a241b8017ae571416e8ef +DIST texlab-5.19.0.tar.gz 7504591 BLAKE2B 4696fdb2d8113fbdcccafc889354e47db199db61e3c0a0fb7f865fbc8bcf317c853522b8f5ed2f0f08c64b93a514b4efe6a725c0fce8c1239e0089175f1a5c84 SHA512 f08419f506ff499a282390824f69f807e040910d64f65e8bca8e3bcd184cabb52bb739e6445045133270e6434fcccc5ddeb54a09ef24b4b07520fac399990618 DIST text-size-1.1.1.crate 12553 BLAKE2B 54c48d202650606d182b2d046d6a0a35b41d4e49adebb8f9f48a22329966891036af7dbc09a4522f0ca55533dfc8e87c276fa2bb4e7a24bed57a26794bfc3ee8 SHA512 e1b0323d2f83ad85ab8c5dcbe9b2084d09592979e9edbcd03d40576abc805b20ba3d6b59261465cae5e987542d4b665fbf797369ff1cd7cbbbfad271258b0ce8 DIST thiserror-1.0.61.crate 21264 BLAKE2B 97337830507c009dbb4cad84cdfc02bc097b9d39d0af2fdecfaa63f0c12229e60727244fa4e44c2d54daee67bf8b4e8492d94a5de55d1a90b8eeab8c0d082e80 SHA512 9c08b868eaa47178ee60733aaeeda60dc46d58d2b9c15985ba3dcae4923e8edf02b97556df52f508753b0ff52782f6ca3227e9ef6343066e5d5d3a89e03f3f15 DIST thiserror-impl-1.0.61.crate 15786 BLAKE2B d63773424aa047c6eed8a6c9bcc8dfcee9841a2d4fdf6fc2c117695c09359371931722198b2e0b2bae32b0c54b6275f964e679b78b8bef1c365ca33aa41562c9 SHA512 b43bd2ba6b751b777e2fc78aac92a3e662a1876f704625c4e894019fc68a6b7628b9c3b7ddfbd2cb15fe6fdc0ff679ff94b0c47e2660a40919000ad2fe1cfeec diff --git a/dev-tex/texlab/texlab-5.19.0.ebuild b/dev-tex/texlab/texlab-5.19.0.ebuild new file mode 100644 index 0000000..a5d70d1 --- /dev/null +++ b/dev-tex/texlab/texlab-5.19.0.ebuild @@ -0,0 +1,236 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + adler@1.0.2 + aho-corasick@1.1.1 + anes@0.1.6 + anstream@0.6.11 + anstyle-parse@0.2.1 + anstyle-query@1.0.0 + anstyle-wincon@3.0.1 + anstyle@1.0.3 + anyhow@1.0.86 + autocfg@1.1.0 + beef@0.5.2 + bitflags@1.3.2 + bitflags@2.4.0 + bstr@1.9.1 + bumpalo@3.14.0 + cast@0.3.0 + castaway@0.2.2 + cfg-if@1.0.0 + chrono@0.4.38 + ciborium-io@0.2.1 + ciborium-ll@0.2.1 + ciborium@0.2.1 + clap@4.5.8 + clap_builder@4.5.8 + clap_derive@4.5.8 + clap_lex@0.7.0 + colorchoice@1.0.0 + compact_str@0.7.1 + countme@3.0.1 + crc32fast@1.3.2 + criterion-plot@0.5.0 + criterion@0.5.1 + crossbeam-channel@0.5.13 + crossbeam-deque@0.8.3 + crossbeam-epoch@0.9.15 + crossbeam-utils@0.8.19 + dirs-sys@0.4.1 + dirs@5.0.1 + dissimilar@1.0.7 + either@1.9.0 + encoding_rs@0.8.34 + encoding_rs_io@0.1.7 + errno@0.3.8 + expect-test@1.5.0 + fastrand@2.0.1 + fern@0.6.2 + file-id@0.2.1 + filetime@0.2.22 + flate2@1.0.30 + fnv@1.0.7 + form_urlencoded@1.2.1 + fsevent-sys@4.1.0 + fuzzy-matcher@0.3.7 + getrandom@0.2.10 + half@1.8.2 + hashbrown@0.14.3 + heck@0.5.0 + hermit-abi@0.3.3 + human_name@2.0.3 + idna@0.5.0 + inotify-sys@0.1.5 + inotify@0.9.6 + is-terminal@0.4.9 + isocountry@0.3.2 + itertools@0.10.5 + itertools@0.13.0 + itoa@1.0.9 + js-sys@0.3.64 + kqueue-sys@1.0.4 + kqueue@1.0.8 + lazy_static@1.4.0 + libc@0.2.155 + linux-raw-sys@0.4.13 + lock_api@0.4.10 + log@0.4.22 + logos-codegen@0.14.0 + logos-derive@0.14.0 + logos@0.14.0 + lsp-server@0.7.6 + lsp-types@0.95.1 + memchr@2.7.1 + memoffset@0.9.0 + minimal-lexical@0.2.1 + miniz_oxide@0.7.1 + mio@0.8.11 + multimap@0.10.0 + nom@7.1.3 + notify-debouncer-full@0.3.1 + notify@6.1.1 + num-traits@0.2.16 + num_cpus@1.16.0 + once_cell@1.19.0 + oorandom@11.1.3 + option-ext@0.2.0 + parking_lot@0.12.3 + parking_lot_core@0.9.8 + pathdiff@0.2.1 + percent-encoding@2.3.1 + phf@0.11.2 + phf_codegen@0.11.2 + phf_generator@0.11.2 + phf_shared@0.11.2 + plotters-backend@0.3.5 + plotters-svg@0.3.5 + plotters@0.3.5 + proc-macro2@1.0.76 + quote@1.0.35 + rand@0.8.5 + rand_core@0.6.4 + rayon-core@1.12.1 + rayon@1.10.0 + redox_syscall@0.2.16 + redox_syscall@0.3.5 + redox_users@0.4.3 + regex-automata@0.4.6 + regex-syntax@0.8.2 + regex@1.10.5 + rowan@0.15.15 + rustc-hash@1.1.0 + rustc-hash@2.0.0 + rustix@0.38.31 + rustversion@1.0.15 + ryu@1.0.15 + same-file@1.0.6 + scopeguard@1.2.0 + serde@1.0.203 + serde_derive@1.0.203 + serde_json@1.0.119 + serde_regex@1.1.0 + serde_repr@0.1.19 + shellexpand@3.1.0 + siphasher@0.3.11 + smallvec@1.11.1 + static_assertions@1.1.0 + strsim@0.11.0 + syn@2.0.48 + tempfile@3.10.1 + text-size@1.1.1 + thiserror-impl@1.0.61 + thiserror@1.0.61 + thread_local@1.1.7 + threadpool@1.8.1 + tinytemplate@1.2.1 + tinyvec@1.6.0 + tinyvec_macros@0.1.1 + titlecase@3.0.0 + uds_windows@1.1.0 + unicode-bidi@0.3.13 + unicode-case-mapping@0.4.0 + unicode-ident@1.0.12 + unicode-normalization@0.1.23 + unicode-segmentation@1.10.1 + unidecode@0.3.0 + url@2.5.0 + utf8parse@0.2.1 + versions@6.3.0 + walkdir@2.4.0 + wasi@0.11.0+wasi-snapshot-preview1 + wasm-bindgen-backend@0.2.87 + wasm-bindgen-macro-support@0.2.87 + wasm-bindgen-macro@0.2.87 + wasm-bindgen-shared@0.2.87 + wasm-bindgen@0.2.87 + web-sys@0.3.64 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.6 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-sys@0.48.0 + windows-sys@0.52.0 + windows-targets@0.48.5 + windows-targets@0.52.4 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_gnullvm@0.52.4 + windows_aarch64_msvc@0.48.5 + windows_aarch64_msvc@0.52.4 + windows_i686_gnu@0.48.5 + windows_i686_gnu@0.52.4 + windows_i686_msvc@0.48.5 + windows_i686_msvc@0.52.4 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnu@0.52.4 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_gnullvm@0.52.4 + windows_x86_64_msvc@0.48.5 + windows_x86_64_msvc@0.52.4 +" + +inherit cargo + +DESCRIPTION="LaTeX Language Server" +HOMEPAGE="https://github.com/latex-lsp/texlab" +SRC_URI=" + https://github.com/latex-lsp/texlab/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + ${CARGO_CRATE_URIS} +" + +BDEPEND="sys-apps/help2man" + +LICENSE="GPL-3" +LICENSE+=" Apache-2.0 BSD CC0-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016" + +SLOT="0" +KEYWORDS="~amd64" + +QA_FLAGS_IGNORED="usr/bin/texlab" + +DOCS=( CHANGELOG.md README.md ) + +src_configure() { + local myfeature=( + citation + completion + fuzzy-matcher + ) + cargo_src_configure +} + +src_install() { + cargo_src_install --path crates/texlab + help2man --output=texlab.1 --no-info "target/$(usex debug debug release)/texlab" || die + doman texlab.1 + einstalldocs +} + +pkg_postinst() { + elog "Texlab requires a TeX distribution to function" + elog "Either virtual/latex-base or dev-tex/tectonic will suffice" + elog "You can then edit the config to use your chosen TeX distribution" +}