summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2021-06-17 00:04:38 -0500
committerGitHub <noreply@github.com>2021-06-17 07:04:38 +0200
commit3adee93d149f60baede5d9e97d2a1676dbf15287 (patch)
treebffa3ff5fbc4f0282357e76640bcba89d41d1cd0
parentd31d339bf6805e1f2905b5262f5b24d53312e871 (diff)
downloadspack-3adee93d149f60baede5d9e97d2a1676dbf15287.tar.gz
spack-3adee93d149f60baede5d9e97d2a1676dbf15287.tar.bz2
spack-3adee93d149f60baede5d9e97d2a1676dbf15287.tar.xz
spack-3adee93d149f60baede5d9e97d2a1676dbf15287.zip
py-opcodes: add new package (#24372)
-rw-r--r--var/spack/repos/builtin/packages/py-opcodes/package.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-opcodes/package.py b/var/spack/repos/builtin/packages/py-opcodes/package.py
new file mode 100644
index 0000000000..f9bcea9470
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-opcodes/package.py
@@ -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'))