py-peachpy: add new package (#24373)

This commit is contained in:
Adam J. Stewart 2021-06-17 00:34:18 -05:00 committed by GitHub
parent 3adee93d14
commit 10608edd24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 PyPeachpy(PythonPackage):
"""Portable Efficient Assembly Codegen in Higher-level Python."""
homepage = "https://github.com/Maratyszcza/PeachPy"
git = "https://github.com/Maratyszcza/PeachPy.git"
version('master', branch='master')
depends_on('py-setuptools', type='build')
depends_on('py-opcodes@0.3.13:', type='build')
depends_on('py-six', type=('build', 'run'))
depends_on('py-enum34', when='^python@:3.3.999', type=('build', 'run'))