mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-07 00:04:45 +03:00
dev-vcs/jj: new package, add 0.36.0
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
This commit is contained in:
parent
5ffd152eac
commit
456ea02191
2
dev-vcs/jj/Manifest
Normal file
2
dev-vcs/jj/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
DIST jj-0.36.0.tar.gz 2204707 BLAKE2B 43782022e61825913118fc0786f9142324498f698560d6a12ca3b36bf7cc727cb2e795aa5338ce3bd8deb847b826c5872c873fa9580917505d3f89072ff69b6f SHA512 310d27e44298e1ae4f37f6ae11c2109a4f3e38c2130a0e4bd05e5e61330617e80b45ea351e48ea6a16f3ee6edc5a37660cfa0cee37af3a8a156cd6b286a2605c
|
||||
DIST jj-cli-0.36.0-crates.tar.xz 28519296 BLAKE2B ac55ab4e81576d927268859074cc50507df3c2dbed70fb4f792de1cceb420748b4801278315cde1c5521157301ddfab76111523488390a674c7f65b9f8e9f773 SHA512 5b950eefe476e2e3e8ce1c468ca55a46979d44be71bacec24e42ccee5bd0b5011468d31bc378ac610e44dac42c8bfdf5c94ec42e570d2a8367005f5be65829cd
|
||||
63
dev-vcs/jj/jj-0.36.0.ebuild
Normal file
63
dev-vcs/jj/jj-0.36.0.ebuild
Normal file
@ -0,0 +1,63 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Autogenerated by pycargoebuild 0.15.0
|
||||
|
||||
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="
|
||||
${CARGO_CRATE_URIS}
|
||||
https://github.com/jj-vcs/jj/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
mirror://gentoo/jj-cli-${PV}-crates.tar.xz
|
||||
"
|
||||
|
||||
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"
|
||||
|
||||
QA_PREBUILT="/usr/bin/jj"
|
||||
|
||||
DOCS=(
|
||||
CHANGELOG.md
|
||||
GOVERNANCE.md
|
||||
README.md
|
||||
SECURITY.md
|
||||
docs/
|
||||
demos/
|
||||
)
|
||||
|
||||
src_test() {
|
||||
local -a cargo_skip_tests=(
|
||||
# skip tests that fail in sandbox environment
|
||||
test_gpg::gpgsm_signing_roundtrip
|
||||
test_gpg::gpgsm_signing_roundtrip_explicit_key
|
||||
test_gpg::gpgsm_unknown_key
|
||||
)
|
||||
|
||||
local -a skip_params
|
||||
readarray -t skip_params < <(printf -- '--skip\n%s\n' "${cargo_skip_tests[@]}")
|
||||
|
||||
cargo_src_test -- "${skip_params[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd cli >/dev/null || die
|
||||
cargo_src_install
|
||||
popd >/dev/null || die
|
||||
|
||||
dodoc -r "${DOCS[@]}"
|
||||
}
|
||||
11
dev-vcs/jj/metadata.xml
Normal file
11
dev-vcs/jj/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>chutzpah@gentoo.org</email>
|
||||
<name>Patrick McLean</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">jj-vcs/jj</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Loading…
x
Reference in New Issue
Block a user