py-memray: add v1.15.0 (#48989)
This commit is contained in:
parent
f678e8af4d
commit
b79d0bfc80
@ -13,19 +13,32 @@ class PyMemray(PythonPackage):
|
||||
|
||||
license("Apache-2.0")
|
||||
|
||||
version("1.15.0", sha256="1beffa2bcba3dbe0f095d547927286eca46e272798b83026dd1b5db58e16ed56")
|
||||
version("1.1.0", sha256="876e46e0cd42394be48b33f81314bc946f4eb023b04bf1def084c25ccf1d2bb6")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("c", type="build")
|
||||
depends_on("cxx", type="build")
|
||||
|
||||
depends_on("python@3.7:", type=("build", "link", "run"))
|
||||
depends_on("py-setuptools", type="build")
|
||||
depends_on("py-cython", type="build")
|
||||
depends_on("py-jinja2", type=("build", "run"))
|
||||
depends_on("py-typing-extensions", when="^python@:3.7", type=("build", "run"))
|
||||
depends_on("py-rich", type=("build", "run"))
|
||||
depends_on("libunwind")
|
||||
|
||||
with default_args(type="build"):
|
||||
depends_on("py-setuptools")
|
||||
depends_on("py-pkgconfig", when="@1.10:")
|
||||
depends_on("py-cython@0.29.31:", when="@1.10:")
|
||||
depends_on("py-cython")
|
||||
|
||||
with default_args(type=("build", "run")):
|
||||
depends_on("py-jinja2@2.9:", when="@1.10:")
|
||||
depends_on("py-jinja2")
|
||||
depends_on("py-rich@11.2:", when="@1.10:")
|
||||
depends_on("py-rich")
|
||||
depends_on("py-textual@0.41:", when="@1.12:")
|
||||
depends_on("py-textual@0.34:", when="@1.11:")
|
||||
|
||||
# https://github.com/bloomberg/memray#building-from-source
|
||||
depends_on("elfutils", when="platform=linux @1.13:")
|
||||
depends_on("libunwind", when="platform=linux")
|
||||
depends_on("lz4")
|
||||
|
||||
conflicts("platform=darwin", msg="memray only supports Linux platforms")
|
||||
conflicts("platform=windows", msg="memray only supports Linux platforms")
|
||||
conflicts("platform=darwin", when="@:1.9", msg="Memray only works on Linux")
|
||||
conflicts("platform=windows", msg="Memray only works on Linux and macOS")
|
||||
|
Loading…
Reference in New Issue
Block a user