summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pyserial/package.py
blob: 41a8eda76381bfc01f8fbdf508fa08fce412fa86 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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 PyPyserial(PythonPackage):
    """Python Serial Port Extension"""

    homepage = "https://github.com/pyserial/pyserial"
    pypi = "pyserial/pyserial-3.1.1.tar.gz"

    license("BSD-3-Clause")

    version("3.1.1", sha256="d657051249ce3cbd0446bcfb2be07a435e1029da4d63f53ed9b4cdde7373364c")

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