summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-opcodes/package.py
blob: de24b54db7387bfd03cf8b44cfbe0bffaf7b635f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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 PyOpcodes(PythonPackage):
    """Database of Processor Instructions/Opcodes."""

    homepage = "https://github.com/Maratyszcza/Opcodes"
    pypi = "opcodes/opcodes-0.3.14.tar.gz"

    license("BSD-2-Clause")

    version("0.3.14", sha256="16ec1cea4cf3dda767e6c0a718f664ef97a34ed24c91998a3c25c3f960c15fba")

    depends_on("py-setuptools", type=("build", "run"))