mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
testing/please: upgrade to 0.5.5
closes #!65217
This commit is contained in:
parent
b3d635d5e1
commit
8ea2ce82de
@ -1,31 +1,34 @@
|
||||
# Contributor: Ed Neville <ed@s5h.net>
|
||||
# Maintainer: Ed Neville <ed@s5h.net>
|
||||
pkgname=please
|
||||
pkgver=0.4.2
|
||||
pkgrel=2
|
||||
pkgver=0.5.5
|
||||
pkgrel=0
|
||||
pkgdesc="sudo alternative with regex support"
|
||||
url="https://gitlab.com/edneville/please"
|
||||
arch="all !s390x !riscv64" # limited by rust/cargo
|
||||
# s390x: fail to build due to nix crate
|
||||
# loongarch64: libc 0.2.153 not supported
|
||||
arch="all !s390x !loongarch64"
|
||||
license="GPL-3.0-or-later"
|
||||
makedepends="cargo linux-pam-dev chrpath cargo-auditable"
|
||||
source="https://gitlab.com/edneville/please/-/archive/v$pkgver/please-v$pkgver.tar.gz
|
||||
please.pam
|
||||
"
|
||||
options="suid" # Required to call setuid with target uids
|
||||
# check panic on ci
|
||||
options="suid !check" # Required to call setuid with target uids
|
||||
builddir="$srcdir/$pkgname-v$pkgver"
|
||||
subpackages="$pkgname-doc"
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
cargo fetch --target="$CTARGET" --locked
|
||||
}
|
||||
|
||||
build() {
|
||||
cargo auditable build --release --locked
|
||||
cargo auditable build --release --frozen
|
||||
}
|
||||
|
||||
check() {
|
||||
cargo test --locked
|
||||
}
|
||||
|
||||
doc() {
|
||||
default_doc
|
||||
cargo test --frozen
|
||||
}
|
||||
|
||||
package() {
|
||||
@ -47,6 +50,6 @@ package() {
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
38958b3a1a249124d0bc9d49cec96c252091a1adb96082a2af8784ee418efce368e0c8892eefb256ecc9b701e76f26aa5d94f1c504345d8a48721a3f254c172b please-v0.4.2.tar.gz
|
||||
8d8b05a06accdbd2ed5c9afed44e0c13c66d21970f9408aa6f72d7e1f3cc920d7c3c884ac7502e64def1dccfa72828d0702aba9a5db023999a3a3eba50bca3a7 please-v0.5.5.tar.gz
|
||||
23a3da8a8d896cbbaa6100c045b8ec07e0808f5244187b6b448d0d9b48d933645fd305fd085ea3e241cc4a4b634d988b40c534e9408196710ce416771f4b5fa7 please.pam
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user