summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-10-13 22:57:50 +0800
committerGitHub <noreply@github.com>2020-10-13 09:57:50 -0500
commit4402506527cbc7dfbf648a90e4e2c665e27a5a34 (patch)
treef236d6e718b53ebebbfd8946ce4e6b6c660e931f
parent8e1e6585c4bfa76ebbd945d765c6a4a3dc98025d (diff)
downloadspack-4402506527cbc7dfbf648a90e4e2c665e27a5a34.tar.gz
spack-4402506527cbc7dfbf648a90e4e2c665e27a5a34.tar.bz2
spack-4402506527cbc7dfbf648a90e4e2c665e27a5a34.tar.xz
spack-4402506527cbc7dfbf648a90e4e2c665e27a5a34.zip
Add new package: py-rbtools (#18963)
* Add new package: py-rbtools * Update var/spack/repos/builtin/packages/py-rbtools/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-rbtools/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-rbtools/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-rbtools/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-rbtools/package.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-rbtools/package.py b/var/spack/repos/builtin/packages/py-rbtools/package.py
new file mode 100644
index 0000000000..4315936c80
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-rbtools/package.py
@@ -0,0 +1,26 @@
+# 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 PyRbtools(PythonPackage):
+ """RBTools is a set of command line tools and a rich Python API for
+ use with Review Board."""
+
+ homepage = "https://github.com/reviewboard/rbtools"
+ url = "https://github.com/reviewboard/rbtools/archive/release-1.0.2.tar.gz"
+
+ version('1.0.2', sha256='dd7aa95691be91f394d085120e44bcec3dc440b01a8f7e2742e09a8d756c831c')
+ version('1.0.1', sha256='bc5e3c511a2273ec61c43a82f56b4cef0b23beae81e277cecbb37ce6761edf29')
+ version('1.0', sha256='dbab2cc89d798462c7e74952d43ba1ff1c97eb9c8f92876e600c6520f72454c9')
+
+ depends_on('python@2.7:2.8,3.5:', type=('build', 'run'))
+ depends_on('py-setuptools', type=('build', 'run'))
+ depends_on('py-colorama', type=('build', 'run'))
+ depends_on('py-texttable', type=('build', 'run'))
+ depends_on('py-tqdm', type=('build', 'run'))
+ depends_on('py-six@1.8.0:', type=('build', 'run'))
+ depends_on('py-backports-shutil-get-terminal-size', when='^python@:2', type=('build', 'run'))