summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pager/package.py
blob: 1f131397a6e00d5857be2165caf4a753f8b1450b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Copyright 2013-2021 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 import *


class PyPager(PythonPackage):
    """Python module that pages output to the screen,
       reads keys and console dimensions without executing external utils."""

    homepage = "http://bitbucket.org/techtonik/python-pager"
    pypi     = "pager/pager-3.3.tar.gz"

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