blob: c79143632a20c6d729a53c741188c2e347798471 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Template file for 'memray'
pkgname=memray
version=1.13.4
revision=2
build_style=python3-pep517
make_check_args="-v -k not((TestTUILooks)or(test_tui))"
make_check_target="tests/unit"
hostmakedepends="python3-pkgconfig python3-setuptools python3-wheel python3-Cython"
makedepends="python3-devel libunwind-devel liblz4-devel elfutils-devel"
depends="python3-Jinja2 python3-rich python3-textual"
checkdepends="${depends} python3-pytest"
short_desc="Reports memory allocations in python code & compiled extensions"
maintainer="icp <pangolin@vivaldi.net>"
license="Apache-2.0"
homepage="https://bloomberg.github.io/memray/"
changelog="https://bloomberg.github.io/memray/changelog.html"
distfiles="https://github.com/bloomberg/memray/archive/refs/tags/v${version}.tar.gz"
checksum=cd95420cc30e252975d93c00856ba94d5894e08fbbef1289d4d74f116af6a471
make_check_pre="env PYTHONPATH=src"
pre_build() {
export MEMRAY_LIBBACKTRACE_TARGET="${XBPS_TARGET_MACHINE%-musl}"
}
pre_check() {
python3 setup.py build_ext --inplace
}
|