summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pyreadline/package.py
blob: c76802d4b79aa25f2e80bf95759609c815f16639 (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 PyPyreadline(PythonPackage):
    """A Python implementation of GNU readline functionality."""

    homepage = "https://github.com/pyreadline/pyreadline"
    git = "https://github.com/pyreadline/pyreadline.git"
    pypi = "pyreadline/pyreadline-2.1.zip"

    version("master", branch="master")
    version("2.1", sha256="4530592fc2e85b25b1a9f79664433da09237c1a270e4d78ea5aa3a2c7229e2d1")

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