void-packages/srcpkgs/py-spy/template

21 lines
523 B
Bash

# Template file for 'py-spy'
pkgname=py-spy
version=0.1.10
revision=1
hostmakedepends="cargo"
short_desc="Sampling profiler for Python programs"
maintainer="Wilson Birney <wpb@360scada.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/benfred/py-spy"
distfiles="https://github.com/benfred/py-spy/archive/v${version}.tar.gz"
checksum=ef9af58c5f08d408cb3f5a318ddf024db58f0aead158cade5171b97acaae1abc
nocross=yes
do_build() {
cargo build --release ${makejobs}
}
do_install() {
vbin target/release/${pkgname}
}