25 lines
923 B
Python
25 lines
923 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 PyCppy(PythonPackage):
|
|
"""C++ headers for C extension development"""
|
|
|
|
homepage = "https://github.com/nucleic/cppy"
|
|
pypi = "cppy/cppy-1.1.0.tar.gz"
|
|
|
|
maintainers("iarspider")
|
|
|
|
version("1.2.1", sha256="83b43bf17b1085ac15c5debdb42154f138b928234b21447358981f69d0d6fe1b")
|
|
version("1.1.0", sha256="4eda6f1952054a270f32dc11df7c5e24b259a09fddf7bfaa5f33df9fb4a29642")
|
|
|
|
depends_on("python@3.7:", when="@1.2:", type=("build", "run"))
|
|
depends_on("python@3:", type=("build", "run"))
|
|
depends_on("py-setuptools@61.2:", when="@1.2:", type="build")
|
|
depends_on("py-setuptools", type="build")
|
|
depends_on("py-setuptools-scm+toml@3.4.3:", when="@1.2:", type="build")
|