From ad75f743345525101ab252213ff644d4121a7b31 Mon Sep 17 00:00:00 2001 From: iarspider Date: Mon, 11 Oct 2021 00:14:20 +0200 Subject: [PATCH] New package: py-cppy (required for py-kiwisolver) (#26645) --- .../repos/builtin/packages/py-cppy/package.py | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-cppy/package.py diff --git a/var/spack/repos/builtin/packages/py-cppy/package.py b/var/spack/repos/builtin/packages/py-cppy/package.py new file mode 100644 index 0000000000..54280be77e --- /dev/null +++ b/var/spack/repos/builtin/packages/py-cppy/package.py @@ -0,0 +1,20 @@ +# Copyright 2013-2021 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 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.1.0', sha256='4eda6f1952054a270f32dc11df7c5e24b259a09fddf7bfaa5f33df9fb4a29642') + + depends_on('python@3:', type=('build', 'run')) + depends_on('py-setuptools', type='build')