22 lines
776 B
Python
22 lines
776 B
Python
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
|
#
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
|
from spack.package import *
|
|
|
|
|
|
class PyCymem(PythonPackage):
|
|
"""Manage calls to calloc/free through Cython."""
|
|
|
|
homepage = "https://github.com/explosion/cymem"
|
|
pypi = "cymem/cymem-2.0.3.tar.gz"
|
|
|
|
version("2.0.7", sha256="e6034badb5dd4e10344211c81f16505a55553a7164adc314c75bd80cf07e57a8")
|
|
version("2.0.3", sha256="5083b2ab5fe13ced094a82e0df465e2dbbd9b1c013288888035e24fd6eb4ed01")
|
|
|
|
depends_on("py-setuptools", type="build")
|
|
depends_on("py-wheel@0.32.0:0.32", type="build", when="@2.0.3")
|
|
depends_on("py-cython@0.25:", type="build", when="@2.0.7:")
|