Ensure that every package has a description (#10896)

This commit is contained in:
Adam J. Stewart 2019-03-14 20:49:07 -05:00 committed by GitHub
parent 9b51fb09f1
commit 4e6285a19b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 31 additions and 14 deletions

View File

@ -87,3 +87,11 @@ def test_no_fixme():
(filename, i, line.strip())
)
assert [] == errors
def test_docstring():
"""Ensure that every package has a docstring."""
for name in spack.repo.all_package_names():
pkg = spack.repo.get(name)
assert pkg.__doc__

View File

@ -7,6 +7,8 @@
class Apex(CMakePackage):
"""Autonomic Performance Environment for eXascale (APEX)."""
homepage = "http://github.com/khuck/xpress-apex"
url = "http://github.com/khuck/xpress-apex/archive/v0.1.tar.gz"

View File

@ -7,7 +7,7 @@
class Bamdst(MakefilePackage):
"Bamdst is a a lightweight bam file depth statistical tool."
"""Bamdst is a a lightweight bam file depth statistical tool."""
homepage = "https://github.com/shiquan/bamdst"
git = "https://github.com/shiquan/bamdst.git"

View File

@ -7,13 +7,13 @@
class Ecflow(CMakePackage):
'''ecFlow is a work flow package that enables users to run a large number
"""ecFlow is a work flow package that enables users to run a large number
of programs (with dependencies on each other and on time) in a controlled
environment.
It provides tolerance for hardware and software failures, combined with
good restart capabilities.
'''
"""
homepage = 'https://confluence.ecmwf.int/display/ECFLOW/'
url = 'https://confluence.ecmwf.int/download/attachments/8650755/ecFlow-4.11.1-Source.tar.gz'

View File

@ -7,8 +7,8 @@
class Elk(MakefilePackage):
'''An all-electron full-potential linearised augmented-plane wave
(FP-LAPW) code with many advanced features.'''
"""An all-electron full-potential linearised augmented-plane wave
(FP-LAPW) code with many advanced features."""
homepage = 'http://elk.sourceforge.net/'
url = 'https://sourceforge.net/projects/elk/files/elk-3.3.17.tgz'

View File

@ -7,7 +7,7 @@
class Libpcap(AutotoolsPackage):
"libpcap is a portable library in C/C++ for packet capture"
"""libpcap is a portable library in C/C++ for packet capture."""
homepage = "http://www.tcpdump.org/"
list_url = "http://www.tcpdump.org/release/"
url = "http://www.tcpdump.org/release/libpcap-1.8.1.tar.gz"

View File

@ -7,7 +7,9 @@
class Libspatialindex(CMakePackage):
homepage = "http://libspatialindex.github.io"
"""C++ implementation of R*-tree, an MVR-tree and a TPR-tree with C API."""
homepage = "https://libspatialindex.org/"
url = "https://github.com/libspatialindex/libspatialindex/tarball/1.8.5"
version('1.8.5', 'a95d8159714dbda9a274792cd273d298')

View File

@ -9,9 +9,9 @@
class Libxsmm(MakefilePackage):
'''Library targeting Intel Architecture
"""Library targeting Intel Architecture
for small, dense or sparse matrix multiplications,
and small convolutions.'''
and small convolutions."""
homepage = 'https://github.com/hfp/libxsmm'
url = 'https://github.com/hfp/libxsmm/archive/1.10.tar.gz'

View File

@ -7,9 +7,9 @@
class Libxstream(Package):
'''LIBXSTREAM is a library to work with streams, events, and code regions
"""LIBXSTREAM is a library to work with streams, events, and code regions
that are able to run asynchronous while preserving the usual stream
conditions.'''
conditions."""
homepage = 'https://github.com/hfp/libxstream'
url = 'https://github.com/hfp/libxstream/archive/0.9.0.tar.gz'

View File

@ -6,6 +6,8 @@
class Mysql(CMakePackage):
"""MySQL is an open source relational database management system."""
homepage = "http://dev.mysql.com"
url = "https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-8.0.11.tar.gz"

View File

@ -7,7 +7,7 @@
class PerlCompressRawZlib(PerlPackage):
"A low-Level Interface to zlib compression library"
"""A low-Level Interface to zlib compression library."""
homepage = "http://search.cpan.org/~pmqs/Compress-Raw-Zlib-2.081/lib/Compress/Raw/Zlib.pm"
url = "https://cpan.metacpan.org/authors/id/P/PM/PMQS/Compress-Raw-Zlib-2.081.tar.gz"

View File

@ -7,7 +7,10 @@
class PyAstroid(PythonPackage):
homepage = "https://www.astroid.org/"
"""A common base representation of python source code for pylint
and other projects."""
homepage = "https://github.com/PyCQA/astroid"
url = "https://github.com/PyCQA/astroid/archive/astroid-1.4.5.tar.gz"
version('2.2.0', sha256='7e289d0aa4a537b4aa798bd609fdf745de0f3c37e6b67642ed328e1482421a6d')

View File

@ -7,7 +7,7 @@
class SofaC(MakefilePackage):
"Standards of Fundamental Astronomy (SOFA) library for ANSI C."
"""Standards of Fundamental Astronomy (SOFA) library for ANSI C."""
homepage = "http://www.iausofa.org/current_C.html"
url = "http://www.iausofa.org/2018_0130_C/sofa_c-20180130.tar.gz"