summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-myhdl/package.py
blob: 0cc7986bbb56fe62414cf2e1b32104af7bc60e94 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2023 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 PyMyhdl(PythonPackage):
    """Python as a Hardware Description Language"""

    homepage = "http://www.myhdl.org"
    pypi = "myhdl/myhdl-0.9.0.tar.gz"

    license("LGPL-2.1-or-later")

    version("0.9.0", sha256="52d12a5fe2cda22558806272af3c2b519b6f7095292b8e6c8ad255fb604507a5")

    depends_on("python@2.6:2.8,3.4:")
    depends_on("py-setuptools", type="build")