From 456ea0219184fe42cdaa6027d97f7c0f27eee195 Mon Sep 17 00:00:00 2001 From: Patrick McLean Date: Thu, 4 Dec 2025 12:16:50 -0800 Subject: [PATCH] dev-vcs/jj: new package, add 0.36.0 Signed-off-by: Patrick McLean --- dev-vcs/jj/Manifest | 2 ++ dev-vcs/jj/jj-0.36.0.ebuild | 63 +++++++++++++++++++++++++++++++++++++ dev-vcs/jj/metadata.xml | 11 +++++++ 3 files changed, 76 insertions(+) create mode 100644 dev-vcs/jj/Manifest create mode 100644 dev-vcs/jj/jj-0.36.0.ebuild create mode 100644 dev-vcs/jj/metadata.xml diff --git a/dev-vcs/jj/Manifest b/dev-vcs/jj/Manifest new file mode 100644 index 000000000000..2b10a4cffe7d --- /dev/null +++ b/dev-vcs/jj/Manifest @@ -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 diff --git a/dev-vcs/jj/jj-0.36.0.ebuild b/dev-vcs/jj/jj-0.36.0.ebuild new file mode 100644 index 000000000000..669db16efb8a --- /dev/null +++ b/dev-vcs/jj/jj-0.36.0.ebuild @@ -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[@]}" +} diff --git a/dev-vcs/jj/metadata.xml b/dev-vcs/jj/metadata.xml new file mode 100644 index 000000000000..1f388426dd26 --- /dev/null +++ b/dev-vcs/jj/metadata.xml @@ -0,0 +1,11 @@ + + + + + chutzpah@gentoo.org + Patrick McLean + + + jj-vcs/jj + +