py-pyfiglet:new recipe (#20792)

* py-pyfiglet:new recipe

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

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* py-pyfiglet: use pypi url

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
Andrew-Dunning-NNL 2021-01-13 13:54:40 -05:00 committed by GitHub
parent 3f1c264148
commit a91dbcfa8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,22 @@
# Copyright 2013-2020 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 PyPyfiglet(PythonPackage):
""" pyfiglet is a full port of FIGlet (http://www.figlet.org/)
into purepython. It takes ASCII text and renders it in ASCII
art font."""
homepage = "https://github.com/pwaller/pyfiglet"
pypi = "pyfiglet/pyfiglet-0.7.tar.gz"
version('0.8.post1', sha256='c6c2321755d09267b438ec7b936825a4910fec696292139e664ca8670e103639')
version('0.8.post0', sha256='2994451ea67c77cd97f81f52087ccae6921d78d9402920995419893a979b5ace')
version('0.7.6', sha256='97d59651b40da6ddf7e961157c480a7a04b48214d8c7231adc8c15e43aa5d722')
version('0.7.5', sha256='446194e1fc3257ffc8024eafd3b486394847597f6210278d76bd582850205e12')
depends_on('py-setuptools', type=('build', 'run'))