diff --git a/anda/langs/rust/weave/anda.hcl b/anda/langs/rust/weave/anda.hcl new file mode 100644 index 00000000000..13db48707c6 --- /dev/null +++ b/anda/langs/rust/weave/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "weave.spec" + } +} diff --git a/anda/langs/rust/weave/update.rhai b/anda/langs/rust/weave/update.rhai new file mode 100644 index 00000000000..9245a3a14e2 --- /dev/null +++ b/anda/langs/rust/weave/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("ataraxy-labs/weave")); diff --git a/anda/langs/rust/weave/weave.spec b/anda/langs/rust/weave/weave.spec new file mode 100644 index 00000000000..be77013a2b8 --- /dev/null +++ b/anda/langs/rust/weave/weave.spec @@ -0,0 +1,45 @@ +Name: weave +Version: 0.3.6 +Release: 1%?dist +Summary: Entity-level git merge driver + +License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-3-Clause AND BSL-1.0 AND CDLA-Permissive-2.0 AND ISC AND (ISC AND (Apache-2.0 OR ISC)) AND (ISC AND (Apache-2.0 OR ISC) AND Apache-2.0 AND MIT AND BSD-3-Clause AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR ISC OR MIT-0)) AND MIT AND (MIT AND BSD-3-Clause) AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT) AND Zlib AND (Zlib OR Apache-2.0 OR MIT) +URL: https://ataraxy-labs.github.io/weave/ +Source0: https://github.com/ataraxy-labs/weave/archive/refs/tags/v%version.tar.gz +Packager: madonuko + +BuildRequires: rust-packaging + +%description +Entity-level semantic merge driver for Git. +Resolves merge conflicts that Git can't by understanding code structure via tree-sitter. + + +%prep +%autosetup +%cargo_prep_online + + +%build +cargo update +%cargo_license_summary_online +%{cargo_license_online} > LICENSE.dependencies + + +%install +cd crates/weave-cli +%cargo_install + + +#check +#cargo_check + + +%files +%license LICENSE-APACHE LICENSE-MIT LICENSE.dependencies +%doc README.md +%_bindir/weave + +%changelog +* Mon Jul 20 2026 madonuko - 0.3.6-1 +- Initial package