py-spy: update to 0.4.0.

Closes: #53462 [via git-merge-pr]
This commit is contained in:
Zachary Hanham 2024-12-10 23:35:32 -05:00 committed by classabbyamp
parent bb46523eee
commit 19a90633c9
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5

View File

@ -1,6 +1,6 @@
# Template file for 'py-spy'
pkgname=py-spy
version=0.3.14
version=0.4.0
revision=1
# musl archs can't compile remoteprocess
archs="~*-musl"
@ -13,17 +13,12 @@ maintainer="Wilson Birney <wpb@360scada.com>"
license="MIT"
homepage="https://github.com/benfred/py-spy"
distfiles="https://github.com/benfred/py-spy/archive/refs/tags/v${version}.tar.gz"
checksum=c01da8b74be0daba79781cfc125ffcd3df3a0d090157fe0081c71da2f6057905
checksum=13a5c4b949947425670eedac05b6dd27edbc736b75f1587899efca1a7ef79ac3
case "$XBPS_TARGET_MACHINE" in
ppc) broken="error[E0425]: cannot find function get_interp_head_offset in module pyruntime";;
esac
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
}