New version: py-prettytable 2.4.0; update homepage (#27407)

* New version: py-prettytable 2.4.0; update homepage

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

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

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
iarspider 2021-11-12 20:52:48 +01:00 committed by GitHub
parent 441a76b646
commit 67f4e2674f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,9 +12,14 @@ class PyPrettytable(PythonPackage):
appealing ASCII tables.
"""
homepage = "https://code.google.com/archive/p/prettytable/"
homepage = "https://github.com/jazzband/prettytable"
pypi = "prettytable/prettytable-0.7.2.tar.gz"
version('2.4.0', sha256='18e56447f636b447096977d468849c1e2d3cfa0af8e7b5acfcf83a64790c0aca')
version('0.7.2', sha256='2d5460dc9db74a32bcc8f9f67de68b2c4f4d2f01fa3bd518764c69156d9cacd9')
depends_on("py-setuptools", type='build')
depends_on("py-wcwidth", type=('build', 'run'), when='@2.4.0:')
depends_on("py-importlib-metadata", type=('build', 'run'), when='@2.4.0: ^python@:3.7')
depends_on("py-setuptools-scm", type='build', when='@2.4.0:')
depends_on("python@3.6:", type=('build', 'run'), when='@2.4.0:')