py-spy: update to 0.3.14.
This commit is contained in:
parent
f9a514d67e
commit
0af42a8122
|
@ -1,13 +1,34 @@
|
|||
# Template file for 'py-spy'
|
||||
pkgname=py-spy
|
||||
version=0.1.11
|
||||
# other archs can't compile remoteprocess
|
||||
archs="x86_64* i686*"
|
||||
version=0.3.14
|
||||
revision=1
|
||||
# musl archs can't compile remoteprocess
|
||||
archs="~*-musl"
|
||||
build_style=cargo
|
||||
build_helper=qemu
|
||||
makedepends="libunwind-devel"
|
||||
checkdepends="python3"
|
||||
short_desc="Sampling profiler for Python programs"
|
||||
maintainer="Wilson Birney <wpb@360scada.com>"
|
||||
license="GPL-3.0-or-later"
|
||||
license="MIT"
|
||||
homepage="https://github.com/benfred/py-spy"
|
||||
distfiles="https://github.com/benfred/py-spy/archive/v${version}.tar.gz"
|
||||
checksum=399a1be66414c2f1a3d57b20d1b219393e0dfd5370815b2c0d1406fa0886917e
|
||||
distfiles="https://github.com/benfred/py-spy/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=c01da8b74be0daba79781cfc125ffcd3df3a0d090157fe0081c71da2f6057905
|
||||
|
||||
pre_build() {
|
||||
# fixes the usage of yanked versions of crates
|
||||
cargo update --package quick-xml@0.23.0 --precise 0.23.1
|
||||
}
|
||||
|
||||
pre_check() {
|
||||
rm -f tests/integration_test.rs
|
||||
}
|
||||
|
||||
post_install() {
|
||||
local py_spy="${DESTDIR}/usr/bin/py-spy"
|
||||
for shell in bash fish zsh; do
|
||||
vtargetrun ${py_spy} completions ${shell} > py_spy.${shell}
|
||||
vcompletion py_spy.${shell} ${shell}
|
||||
done
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue