py-opcodes: add new package (#24372)

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

View file

@ -0,0 +1,17 @@
# 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 PyOpcodes(PythonPackage):
"""Database of Processor Instructions/Opcodes."""
homepage = "https://github.com/Maratyszcza/Opcodes"
pypi = "opcodes/opcodes-0.3.14.tar.gz"
version('0.3.14', sha256='16ec1cea4cf3dda767e6c0a718f664ef97a34ed24c91998a3c25c3f960c15fba')
depends_on('py-setuptools', type=('build', 'run'))