mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
- Switch to gentoo-crate-dist tarball - Remove unnecessary array to skip tests - Add test use flag and restrict - Simply docs install with einstalldocs Signed-off-by: idealseal <realidealseal@protonmail.com> Part-of: https://codeberg.org/gentoo/gentoo/pulls/859 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
49 lines
883 B
Bash
49 lines
883 B
Bash
# Copyright 2025-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# Autogenerated by pycargoebuild 0.15.1
|
|
|
|
EAPI=8
|
|
|
|
CRATES=""
|
|
|
|
RUST_MIN_VER="1.89.0"
|
|
|
|
inherit cargo
|
|
|
|
DESCRIPTION="Jujutsu - an experimental version control system"
|
|
HOMEPAGE="https://www.jj-vcs.dev/"
|
|
SRC_URI="
|
|
https://github.com/jj-vcs/jj/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz
|
|
https://github.com/gentoo-crate-dist/${PN}/releases/download/v${PV}/${P}-crates.tar.xz
|
|
${CARGO_CRATE_URIS}
|
|
"
|
|
|
|
LICENSE="Apache-2.0"
|
|
# Dependent crate licenses
|
|
LICENSE+="
|
|
Apache-2.0 BSD MIT MIT-0 MPL-2.0 Unicode-3.0 Unicode-DFS-2016
|
|
WTFPL-2 ZLIB
|
|
"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
IUSE="test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
QA_FLAGS_IGNORED="usr/bin/${PN}"
|
|
|
|
DOCS=(
|
|
CHANGELOG.md
|
|
GOVERNANCE.md
|
|
README.md
|
|
SECURITY.md
|
|
demos/
|
|
docs/
|
|
)
|
|
|
|
src_install() {
|
|
cargo_src_install --path cli
|
|
|
|
einstalldocs
|
|
}
|