summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pager/package.py
blob: ff3a4f2a9a320619627cf7dff6cdb5370b34faca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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 PyPager(PythonPackage):
    """Python module that pages output to the screen,
    reads keys and console dimensions without executing external utils."""

    pypi = "pager/pager-3.3.tar.gz"

    license("MIT")

    version("3.3", sha256="18aa45ec877dca732e599531c7b3b0b22ed6a4445febdf1bdf7da2761cca340d")

    # pip silently replaces distutils with setuptools
    depends_on("py-setuptools", type="build")