summaryrefslogtreecommitdiff
path: root/app-text/codebook/codebook-0.3.39.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/codebook/codebook-0.3.39.ebuild')
-rw-r--r--app-text/codebook/codebook-0.3.39.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/app-text/codebook/codebook-0.3.39.ebuild b/app-text/codebook/codebook-0.3.39.ebuild
new file mode 100644
index 000000000000..8cb5b1a56973
--- /dev/null
+++ b/app-text/codebook/codebook-0.3.39.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+RUST_MIN_VER="1.88.0"
+
+inherit cargo
+
+DESCRIPTION="Spell Checker for Code"
+HOMEPAGE="https://github.com/blopker/codebook"
+SRC_URI="
+ https://github.com/blopker/codebook/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+ https://gitlab.com/api/v4/projects/69517529/packages/generic/${PN}/${PV}/${P}-deps.tar.xz
+"
+
+LICENSE="Apache-2.0 BSD CDDL CDLA-Permissive-2.0 ISC MIT MPL-2.0 openssl Unicode-3.0 ZLIB"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="test"
+PROPERTIES="test_network"
+
+src_test() {
+ local skip=(
+ --skip test_elixir_module
+ --skip test_go_location
+ --skip test_java_location
+ --skip test_odin_location
+ --skip test_php_location
+ )
+ cargo_src_test -- "${skip[@]}"
+}
+
+src_install() {
+ cargo_src_install --frozen --path crates/codebook-lsp
+ dodoc LICENSE README.md
+}