diff options
author | Elizabeth Sherrock <lizzyd710@gmail.com> | 2022-07-14 19:13:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-14 17:13:47 -0600 |
commit | 6f46345b6092586da1e07ea073d8ae000a931e86 (patch) | |
tree | 2e0c1982d3a076319822af9e9d26c0e202a8d468 /var | |
parent | 49ae847c6cac0954dfba2166ef792400ef340cd2 (diff) | |
download | spack-6f46345b6092586da1e07ea073d8ae000a931e86.tar.gz spack-6f46345b6092586da1e07ea073d8ae000a931e86.tar.bz2 spack-6f46345b6092586da1e07ea073d8ae000a931e86.tar.xz spack-6f46345b6092586da1e07ea073d8ae000a931e86.zip |
blight, fparser, typing_extensions (#31566)
* Added fparser 0.0.16
* Created package
* Change from GitHub download to pypi
* py-typing-extensions: 4.3.0
* Added py-pdoc3
* Finished adding py-blight
* Fixed typos
* Fixed dependency specs
* Fixed some things after PR review
* Added @woodruffw as blight maintainer
* Removed maintainer comment block from pdoc3
Diffstat (limited to 'var')
4 files changed, 72 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/py-blight/package.py b/var/spack/repos/builtin/packages/py-blight/package.py new file mode 100644 index 0000000000..1358ee8411 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-blight/package.py @@ -0,0 +1,40 @@ +# Copyright 2013-2022 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.package import * + + +class PyBlight(PythonPackage): + """A catch-all compile-tool wrapper.""" + + homepage = "https://github.com/trailofbits/blight" + pypi = "blight/blight-0.0.47.tar.gz" + + maintainers = ['woodruffw'] + + version('0.0.47', sha256='eb4a881adb98e03a0a855b95bfcddb0f4b3ca568b00cb45b571f047ae75c5667') + + variant('dev', default=False, description='Install dependencies to help with development') + + depends_on('python@3.7:', type=('build', 'run')) + + # In process of changing build backend after 0.0.47 release. + depends_on('py-setuptools', type='build') + + depends_on('py-click@7.1:8', type=('build', 'run')) + depends_on('py-typing-extensions', type=('build', 'run')) + depends_on('py-pydantic@1.7:1', type=('build', 'run')) + + depends_on('py-flake8', type=('build', 'run'), when='+dev') + depends_on('py-black', type=('build', 'run'), when='+dev') + # blight uses pyproject.toml to configure isort. isort added + # support in 5.0.0 + depends_on('py-isort@5.0.0:', type=('build', 'run'), when='+dev') + depends_on('py-pytest', type=('build', 'run'), when='+dev') + depends_on('py-pytest-cov', type=('build', 'run'), when='+dev') + depends_on('py-coverage+toml', type=('build', 'run'), when='+dev') + depends_on('py-twine', type=('build', 'run'), when='+dev') + depends_on('py-pdoc3', type=('build', 'run'), when='+dev') + depends_on('py-mypy', type=('build', 'run'), when='@0.0.5:+dev') diff --git a/var/spack/repos/builtin/packages/py-fparser/package.py b/var/spack/repos/builtin/packages/py-fparser/package.py index 0e8e3977c6..f714259da8 100644 --- a/var/spack/repos/builtin/packages/py-fparser/package.py +++ b/var/spack/repos/builtin/packages/py-fparser/package.py @@ -10,18 +10,20 @@ class PyFparser(PythonPackage): """Parser for Fortran 77..2003 code.""" homepage = "https://github.com/stfc/fparser" - url = "https://github.com/stfc/fparser/archive/0.0.5.tar.gz" git = "https://github.com/stfc/fparser.git" + pypi = "fparser/fparser-0.0.16.tar.gz" version('develop', branch='master') - version('0.0.6', sha256='6ced61573257d11037d25c02d5f0ea92ca9bf1783018bf5f0de30d245ae631ac') - version('0.0.5', sha256='7668b331b9423d15353d502ab26d1d561acd5247882dab672f1e45565dabaf08') + version('0.0.16', sha256='a06389b95a1b9ed12f8141b69c67343da5ba0a29277b2997b02573a93af14e13') + version('0.0.6', sha256='bf8a419cb528df1bfc24ddd26d63f2ebea6f1e103f1a259d8d3a6c9b1cd53012') + version('0.0.5', sha256='f3b5b0ac56fd22abed558c0fb0ba4f28edb8de7ef24cfda8ca8996562215822f') depends_on('py-setuptools', type='build') depends_on('py-numpy', type=('build', 'run'), when='@:0.0.5') - depends_on('py-nose', type='build') - depends_on('py-six', type='build', when='@0.0.6:') + depends_on('py-nose', type=('build', 'run'), when='@:0.0.7') + # six is unused as of 0.0.15, but still listed in setup.py + depends_on('py-six', type=('build', 'run'), when='@0.0.6:') depends_on('py-pytest', type='test') diff --git a/var/spack/repos/builtin/packages/py-pdoc3/package.py b/var/spack/repos/builtin/packages/py-pdoc3/package.py new file mode 100644 index 0000000000..40b776de56 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pdoc3/package.py @@ -0,0 +1,24 @@ +# Copyright 2013-2022 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.package import * + + +class PyPdoc3(PythonPackage): + """Auto-generate API documentation for Python projects.""" + + homepage = "https://pdoc3.github.io/pdoc/" + pypi = "pdoc3/pdoc3-0.10.0.tar.gz" + + version('0.10.0', sha256='5f22e7bcb969006738e1aa4219c75a32f34c2d62d46dc9d2fb2d3e0b0287e4b7') + + depends_on('python@3.6:', type=('build', 'run')) + + depends_on('py-setuptools', type='build') + depends_on('py-setuptools-git', type='build') + depends_on('py-setuptools-scm', type='build') + + depends_on('py-mako', type=('build', 'run')) + depends_on('py-markdown@3.0:', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-typing-extensions/package.py b/var/spack/repos/builtin/packages/py-typing-extensions/package.py index 4e7790bd1c..17b99fcd4f 100644 --- a/var/spack/repos/builtin/packages/py-typing-extensions/package.py +++ b/var/spack/repos/builtin/packages/py-typing-extensions/package.py @@ -15,6 +15,7 @@ class PyTypingExtensions(PythonPackage): homepage = "https://github.com/python/typing/tree/master/typing_extensions" pypi = "typing_extensions/typing_extensions-3.7.4.tar.gz" + version('4.3.0', sha256='e6d2677a32f47fc7eb2795db1dd15c1f34eff616bcaf2cfb5e997f854fa1c4a6') version('4.2.0', sha256='f1c24655a0da0d1b67f07e17a5e6b2a105894e6824b92096378bb3668ef02376') version('4.1.1', sha256='1a9462dcc3347a79b1f1c0271fbe79e844580bb598bafa1ed208b94da3cdcd42') version('3.10.0.2', sha256='49f75d16ff11f1cd258e1b988ccff82a3ca5570217d7ad8c5f48205dd99a677e') |