From 84fb614b28aa1a9cd6b7b2b841f422fb1c5bfe35 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Thu, 4 Jan 2024 22:56:30 +0200 Subject: [PATCH] dev-tex/texlab: add 5.12.1 Signed-off-by: Alfred Wingate --- dev-tex/texlab/Manifest | 1 + dev-tex/texlab/texlab-5.12.1.ebuild | 219 ++++++++++++++++++++++++++++ 2 files changed, 220 insertions(+) create mode 100644 dev-tex/texlab/texlab-5.12.1.ebuild diff --git a/dev-tex/texlab/Manifest b/dev-tex/texlab/Manifest index f2d05ca..2ca6dac 100644 --- a/dev-tex/texlab/Manifest +++ b/dev-tex/texlab/Manifest @@ -176,6 +176,7 @@ DIST tempfile-3.8.0.crate 31720 BLAKE2B ac975555bb4957f91e7d5733ef737bf25c62a738 DIST tempfile-3.8.1.crate 32164 BLAKE2B abccff7939df8cd223a5a8ee61e5af7c35335f1cd61b3e72fed9a8565465c293e99938d57b50743141aace3cd20422ad5d3090507ed66561cb0155771fe0a5ec SHA512 b257bfb70793575d59ec4cf4b7492aff83dafb68b367a48594211f476a3b1d4800b69bddc405d8749d8b320c30cbe71be1261a60b4bbc862663b37a6c7d97a3a DIST texlab-5.11.0.tar.gz 7505356 BLAKE2B 164ba0bca4c1123b3375d2bcc4cc91c9f3a3c45e686e55061f566db5ce782cee250ab160a5ee8feaab19cd5be9ed10971e8d5012d3a685c00c83dfcbeb201d4d SHA512 7198907608a1063ee1385ac855b74fd8d0e8ca3f7b65590111e81605f70b7c078a6e8c79d9b42bdc4abbd4abd4803c546660e59f79c4c3721913a25dc7f8ecfc DIST texlab-5.12.0.tar.gz 7488856 BLAKE2B e16f9aa3a6d5c080e5c28b0f92b1f2401edc79dfcd036a72608f943b4c66ba135013f82a64d7b4a3326679541e18ab218476c3828cba6733b20974613a347cff SHA512 dee67ae985b8e28d2271914de93f3241f04e08287a5c39506dc9d84929afd952c65cee54b6485d0b4123cf640e6dac04b9f1b4278a2e6dab307db99b42f03f8b +DIST texlab-5.12.1.tar.gz 7488987 BLAKE2B 056155d0e16a6e366d5d70aec012c1dad024728f4a66bee961e236cdab3bd889492ad0e5c19e07a6bdb40f34d43adc031ae676beb9a115f0516ff5cdd3a8e3d2 SHA512 61745c7751a849a7e28ddfb450170211e98e56f1f22460b2d01704a4c0b9c9caeea889f079302ae278e3c03e67697744965d5b60d0c42b3707ac21ef5cce73bf DIST text-size-1.1.1.crate 12553 BLAKE2B 54c48d202650606d182b2d046d6a0a35b41d4e49adebb8f9f48a22329966891036af7dbc09a4522f0ca55533dfc8e87c276fa2bb4e7a24bed57a26794bfc3ee8 SHA512 e1b0323d2f83ad85ab8c5dcbe9b2084d09592979e9edbcd03d40576abc805b20ba3d6b59261465cae5e987542d4b665fbf797369ff1cd7cbbbfad271258b0ce8 DIST thiserror-1.0.48.crate 18862 BLAKE2B b98d63646526e1ed0baf27a17faacee3d8be34421f6fb211d4e1909965a3a327440c0b97c4aba423f416c5a849a47a1d42623a6e64ae27d2236706dc9a30a783 SHA512 078427d19a28f59aaca27f508795cfb06c024b5a34dfc83360c3bec2b8f7abe474706a41fb68732998f154507921beb03dd033f0a6d1dcfcee03b1f2adb8a0b2 DIST thiserror-1.0.50.crate 19414 BLAKE2B a093f66ad191a8c4b15356f8d29578273b36f9f11b5843195eaa15b70bd4c8eaf6dffb631564386acf35a9ddf856e05055b419af52d4e008f582ae444f3dd5d2 SHA512 65605a9cfbc43447a50980739259a45d933f1eb315926dce909892f7162c79bd04bfcee7b38b5a9fa71b24fbe4416d050ae8e2443932577541513a23ebeeac46 diff --git a/dev-tex/texlab/texlab-5.12.1.ebuild b/dev-tex/texlab/texlab-5.12.1.ebuild new file mode 100644 index 0000000..caae7f9 --- /dev/null +++ b/dev-tex/texlab/texlab-5.12.1.ebuild @@ -0,0 +1,219 @@ +# Copyright 2022-2023 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.4 + anstyle-parse@0.2.1 + anstyle-query@1.0.0 + anstyle-wincon@3.0.1 + anstyle@1.0.3 + anyhow@1.0.75 + autocfg@1.1.0 + beef@0.5.2 + bitflags@1.3.2 + bitflags@2.4.0 + bstr@1.8.0 + bumpalo@3.14.0 + cast@0.3.0 + cc@1.0.83 + cfg-if@1.0.0 + chrono@0.4.31 + ciborium-io@0.2.1 + ciborium-ll@0.2.1 + ciborium@0.2.1 + clap@4.4.10 + clap_builder@4.4.9 + clap_derive@4.4.7 + clap_lex@0.6.0 + colorchoice@1.0.0 + countme@3.0.1 + crc32fast@1.3.2 + criterion-plot@0.5.0 + criterion@0.5.1 + crossbeam-channel@0.5.8 + crossbeam-deque@0.8.3 + crossbeam-epoch@0.9.15 + crossbeam-utils@0.8.16 + dirs-sys@0.4.1 + dirs@5.0.1 + dissimilar@1.0.7 + either@1.9.0 + encoding_rs@0.8.33 + encoding_rs_io@0.1.7 + errno-dragonfly@0.1.2 + errno@0.3.3 + expect-test@1.4.1 + fastrand@2.0.0 + fern@0.6.2 + file-id@0.2.1 + filetime@0.2.22 + flate2@1.0.28 + 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.12.3 + heck@0.4.1 + hermit-abi@0.3.3 + human_name@2.0.2 + 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.12.0 + itoa@1.0.9 + joinery@2.1.0 + js-sys@0.3.64 + kqueue-sys@1.0.4 + kqueue@1.0.8 + lazy_static@1.4.0 + libc@0.2.150 + linux-raw-sys@0.4.11 + lock_api@0.4.10 + log@0.4.20 + logos-codegen@0.13.0 + logos-derive@0.13.0 + logos@0.13.0 + lsp-server@0.7.4 + lsp-types@0.94.1 + memchr@2.6.3 + memoffset@0.9.0 + miniz_oxide@0.7.1 + mio@0.8.8 + notify-debouncer-full@0.3.1 + notify@6.1.1 + num-traits@0.2.16 + num_cpus@1.16.0 + once_cell@1.18.0 + oorandom@11.1.3 + option-ext@0.2.0 + parking_lot@0.12.1 + parking_lot_core@0.9.8 + 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.67 + quote@1.0.33 + rand@0.8.5 + rand_core@0.6.4 + rayon-core@1.12.0 + rayon@1.8.0 + redox_syscall@0.2.16 + redox_syscall@0.3.5 + redox_syscall@0.4.1 + redox_users@0.4.3 + regex-automata@0.4.3 + regex-syntax@0.6.29 + regex-syntax@0.8.2 + regex@1.10.2 + rowan@0.15.13 + rustc-hash@1.1.0 + rustix@0.38.21 + ryu@1.0.15 + same-file@1.0.6 + scopeguard@1.2.0 + serde@1.0.193 + serde_derive@1.0.193 + serde_json@1.0.108 + serde_regex@1.1.0 + serde_repr@0.1.17 + siphasher@0.3.11 + smallstr@0.3.0 + smallvec@1.11.1 + strsim@0.10.0 + syn@2.0.37 + tempfile@3.8.1 + text-size@1.1.1 + thiserror-impl@1.0.50 + thiserror@1.0.50 + thread_local@1.1.7 + threadpool@1.8.1 + tinytemplate@1.2.1 + tinyvec@1.6.0 + tinyvec_macros@0.1.1 + titlecase@2.2.1 + unicode-bidi@0.3.13 + unicode-case-mapping@0.4.0 + unicode-ident@1.0.12 + unicode-normalization@0.1.22 + unicode-segmentation@1.10.1 + unidecode@0.3.0 + url@2.5.0 + utf8parse@0.2.1 + 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-targets@0.48.5 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_msvc@0.48.5 + windows_i686_gnu@0.48.5 + windows_i686_msvc@0.48.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_msvc@0.48.5 +" + +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" + +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" +}