new package/py-blessed (#11656)

* new package/py-blessed

* make flake8 happy

* fix docstring

* tab to spaces

* Update var/spack/repos/builtin/packages/py-blessed/package.py

specify dependency version.

Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com>

* Update var/spack/repos/builtin/packages/py-blessed/package.py

specify dependency version

Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com>

* add setuptools as depedency
This commit is contained in:
Sinan 2019-06-22 15:05:03 -07:00 committed by Adam J. Stewart
parent 1ae03b327c
commit c83f8a425d

View File

@ -0,0 +1,21 @@
# Copyright 2013-2019 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 PyBlessed(PythonPackage):
"""Blessed is a thin, practical wrapper around terminal capabilities in
Python."""
homepage = "https://github.com/jquast/blessed"
url = "https://pypi.io/packages/source/b/blessed/blessed-1.15.0.tar.gz"
version('1.15.0', sha256='777b0b6b5ce51f3832e498c22bc6a093b6b5f99148c7cbf866d26e2dec51ef21')
depends_on('py-setuptools', type='build')
depends_on('py-wcwidth@0.1.4:', type=('build', 'run'))
depends_on('py-six@1.9.0:', type=('build', 'run'))