summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-cppy/package.py
blob: 1afe48e33ebd9161de90a8c0d65fa326ea31f40b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 2013-2024 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"

    license("BSD-3-Clause")

    version("1.2.1", sha256="83b43bf17b1085ac15c5debdb42154f138b928234b21447358981f69d0d6fe1b")
    version("1.1.0", sha256="4eda6f1952054a270f32dc11df7c5e24b259a09fddf7bfaa5f33df9fb4a29642")

    depends_on("py-setuptools@61.2:", when="@1.2:", type=("build", "run"))
    depends_on("py-setuptools", type="build")
    depends_on("py-setuptools-scm+toml@3.4.3:", when="@1.2:", type="build")