21 lines
522 B
Bash
21 lines
522 B
Bash
|
# Template file for 'py-spy'
|
||
|
pkgname=py-spy
|
||
|
version=0.1.8
|
||
|
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=5f38de07f0162e0cb66f17c5a07d9bdbb6ae5fb9e6f2cbedc87949670030fdb1
|
||
|
nocross=yes
|
||
|
|
||
|
do_build() {
|
||
|
cargo build --release ${makejobs}
|
||
|
}
|
||
|
|
||
|
do_install() {
|
||
|
vbin target/release/${pkgname}
|
||
|
}
|