summaryrefslogtreecommitdiff
path: root/app-text/codebook/codebook-0.3.37.ebuild
blob: 8a2965fd0b9ff8a0f1e4887dfc7a14a1322af500 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

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
}