net-misc/lychee - 0.24.2 (jacksonchen666)

Search

Install

Install this version:

emerge -a =net-misc/lychee-0.24.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-misc/lychee-0.24.2

Or alternatively:

emerge --autounmask-write -a =net-misc/lychee-0.24.2

Package Information

Description:
A fast, async link checker
Homepage:
https://github.com/lycheeverse/lychee
License:
|| ( Apache-2.0 MIT ) Apache-2.0 BSD-2 BSD CDLA-Permissive-2.0 ISC MIT MPL-2.0 openssl Unicode-3.0 ZLIB

Ebuild Details

Version EAPI Keywords Slot
0.24.2 8 ~amd64 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Autogenerated by pycargoebuild 0.15.2
# from ./lychee-bin in project directory
# crates tarball as suggested by ebuild warnings (many crates)

EAPI=8

RUST_MIN_VER="1.88.0"
inherit cargo shell-completion

DESCRIPTION="A fast, async link checker"
HOMEPAGE="https://github.com/lycheeverse/lychee"
SRC_URI="
	https://github.com/lycheeverse/lychee/archive/refs/tags/lychee-v${PV}.tar.gz
	https://files.jacksonchen666.com/gentoo/${P}-crates.tar.xz
"

# double lychee: tags are prefixed with "lychee-"
# lychee-bin: the binary is in there, the project root is not really
# anything
S="${WORKDIR}/lychee-lychee-v${PV}/lychee-bin/"

LICENSE="|| ( Apache-2.0 MIT )"
# Dependent crate licenses
LICENSE+="
	Apache-2.0 BSD-2 BSD CDLA-Permissive-2.0 ISC MIT MPL-2.0 openssl
	Unicode-3.0 ZLIB
"
SLOT="0"
KEYWORDS="~amd64"

src_compile() {
	cargo_src_compile

	# from Makefile's completion thing, and seeing --generate args
	# only includes shell-completion.eclass supported stuff
	# the binary is at the workspace root, that's why it's ../
	../target/release/lychee --generate complete-bash > lychee.bash || die
	../target/release/lychee --generate complete-zsh > _lychee || die
	../target/release/lychee --generate complete-fish > lychee.fish || die
	../target/release/lychee --generate man > lychee.1 || die
}

src_install() {
	cargo_src_install

	newbashcomp lychee.bash lychee
	dozshcomp _lychee
	newfishcomp lychee.fish lychee
	doman lychee.1
}

Inherited Eclasses

Manifest for 0.24.2

Type File Size Source URLs
DIST lychee-0.24.2-crates.tar.xz 35401464 bytes https://files.jacksonchen666.com/gentoo/lychee-0.24.2-crates.tar.xz
DIST lychee-v0.24.2.tar.gz 1029540 bytes https://github.com/lycheeverse/lychee/archive/refs/tags/lychee-v0.24.2.tar.gz