2018-10-13 01:36:16 +02:00
|
|
|
# Template file for 'py-spy'
|
|
|
|
pkgname=py-spy
|
2018-12-09 05:41:28 +01:00
|
|
|
version=0.1.10
|
2018-10-13 01:36:16 +02:00
|
|
|
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"
|
2018-12-09 05:41:28 +01:00
|
|
|
checksum=ef9af58c5f08d408cb3f5a318ddf024db58f0aead158cade5171b97acaae1abc
|
2018-10-13 01:36:16 +02:00
|
|
|
nocross=yes
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
cargo build --release ${makejobs}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vbin target/release/${pkgname}
|
|
|
|
}
|