Commit 6e1ba380 authored by Adam Jensen's avatar Adam Jensen

testing/rbspy: new aport

parent 9809eeca
Pipeline #74412 failed with stages
in 2 minutes and 46 seconds
# Contributor: Adam Jensen <adam@acj.sh>
# Maintainer: Adam Jensen <adam@acj.sh>
pkgname=rbspy
pkgver=0.3.13
pkgrel=0
pkgdesc="Sampling profiler for Ruby"
url="https://rbspy.github.io/"
arch="all !armv7 !ppc64le !s390x !mips !mips64" # limited by cargo and build errors
license="MIT"
makedepends="cargo"
checkdepends="ruby"
source="$pkgname-$pkgver.tar.gz::https://github.com/rbspy/rbspy/archive/v$pkgver.tar.gz"
build() {
cargo build --release --locked
}
check() {
# Some tests need additional privileges
cargo test --release --locked -- \
--skip test_current_thread_address \
--skip test_initialize_with_disallowed_process \
--skip test_get_trace \
--skip test_get_exec_trace \
--skip test_spawn_record_children_subprocesses
}
package() {
install -Dm755 "target/release/rbspy" "$pkgdir/usr/bin/rbspy"
}
sha512sums="0e225b6e46652609ed28f06747d7f669590f0b3c0ecaf1cdd2b04189bc1f409260993a3c633713f71a0d051a2cda6bc30eeaf69ee00c25667945b9e0811f4eae rbspy-0.3.13.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment