mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/git-absorb: new aport
https://github.com/tummychow/git-absorb Automatically write fixup! commits, similar to hg absort
This commit is contained in:
parent
416ead5278
commit
214fd2d9d6
16
testing/git-absorb/0001-update-libc-crate.patch
Normal file
16
testing/git-absorb/0001-update-libc-crate.patch
Normal file
@ -0,0 +1,16 @@
|
||||
Bump version of libc crate to avoid linking against open64 on 64 bit musl
|
||||
systems.
|
||||
--- a/Cargo.lock 2023-12-11 09:18:17.094717910 +0100
|
||||
+++ b/Cargo.lock 2023-12-11 09:28:49.440426801 +0100
|
||||
@@ -241,9 +241,9 @@ checksum = "e2abad23fbc42b3700f2f279844d
|
||||
|
||||
[[package]]
|
||||
name = "libc"
|
||||
-version = "0.2.79"
|
||||
+version = "0.2.147"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "2448f6066e80e3bfc792e9c98bf705b4b0fc6e8ef5b43e5889aff0eaa9c58743"
|
||||
+checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"
|
||||
|
||||
[[package]]
|
||||
name = "libgit2-sys"
|
||||
39
testing/git-absorb/APKBUILD
Normal file
39
testing/git-absorb/APKBUILD
Normal file
@ -0,0 +1,39 @@
|
||||
# Contributor: Marian Buschsieweke <marian.buschsieweke@posteo.net>
|
||||
# Maintainer: Marian Buschsieweke <marian.buschsieweke@posteo.net>
|
||||
pkgname=git-absorb
|
||||
pkgver=0.6.11
|
||||
pkgrel=0
|
||||
pkgdesc="Automatically write fixup! commits, similar to hg absort"
|
||||
url="https://github.com/tummychow/git-absorb"
|
||||
license="BSD-3-Clause"
|
||||
arch="all"
|
||||
makedepends="cargo cargo-auditable"
|
||||
subpackages="$pkgname-doc"
|
||||
source="
|
||||
$pkgname-$pkgver.tar.gz::https://github.com/tummychow/git-absorb/archive/refs/tags/$pkgver.tar.gz
|
||||
|
||||
0001-update-libc-crate.patch
|
||||
"
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
cargo fetch --target="$CTARGET" --locked
|
||||
}
|
||||
|
||||
build() {
|
||||
cargo auditable build --frozen --release
|
||||
}
|
||||
|
||||
check() {
|
||||
cargo test --frozen
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 --target-directory="$pkgdir"/usr/bin target/release/git-absorb
|
||||
install -Dm644 --target-directory="$pkgdir"/usr/share/man/man1 Documentation/git-absorb.1
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
fd0df4fe6ec549cd65592a2ee81b9cdbec56063b71bee22311cc3044c3c0ff3b35f3c64b73edc2eb2b27fe2f9ddf75ae9025b265642e3292fd1b1804facdcfaa git-absorb-0.6.11.tar.gz
|
||||
223b8168b234c35ad7a6ec86a9fd3ed11256368f246434de7dd1ecbdce04a28f478313c8c49adf7e32a0352f59af2410d61d21c0a12f3d0e9dac8cc1a530aaee 0001-update-libc-crate.patch
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user