summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGreg Becker <becker33@llnl.gov>2019-12-18 15:09:26 -0800
committerAdam J. Stewart <ajstewart426@gmail.com>2019-12-18 17:09:26 -0600
commit67603d71bc3a3ffd5ef33446da58bfb8790901de (patch)
tree228061a46a1928f9c8c3657c181229a5891cebdb /var
parent135cf4835f5b646c4aaa0e2eb5552c80fc3a5ce8 (diff)
downloadspack-67603d71bc3a3ffd5ef33446da58bfb8790901de.tar.gz
spack-67603d71bc3a3ffd5ef33446da58bfb8790901de.tar.bz2
spack-67603d71bc3a3ffd5ef33446da58bfb8790901de.tar.xz
spack-67603d71bc3a3ffd5ef33446da58bfb8790901de.zip
Add dependencies for hpcrypt (#8067)
* Add dependencies for hpcrypt * address review comments * flake * license-fix * fix checksums * Update py-hvace homepage Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com> * update py-hvac url Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-bcrypt/package.py19
-rw-r--r--var/spack/repos/builtin/packages/py-fusepy/package.py18
-rw-r--r--var/spack/repos/builtin/packages/py-gf256/package.py19
-rw-r--r--var/spack/repos/builtin/packages/py-hvac/package.py24
-rw-r--r--var/spack/repos/builtin/packages/py-python-logstash/package.py15
-rw-r--r--var/spack/repos/builtin/packages/py-subrosa/package.py20
-rw-r--r--var/spack/repos/builtin/packages/py-zxcvbn/package.py23
7 files changed, 138 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-bcrypt/package.py b/var/spack/repos/builtin/packages/py-bcrypt/package.py
new file mode 100644
index 0000000000..e46b57b658
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-bcrypt/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2019 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 PyBcrypt(PythonPackage):
+ """Modern password hashing for your software and your servers"""
+
+ homepage = "https://github.com/pyca/bcrypt/"
+ url = "https://github.com/pyca/bcrypt/archive/3.1.4.tar.gz"
+
+ version('3.1.4', sha256='ca122a2cdcdffb0fd04f9dfe3493766f298bef02dea2f190f35ea6fdee222b96')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-cffi@1.1:', type=('build', 'run'))
+ depends_on('py-six@1.4.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-fusepy/package.py b/var/spack/repos/builtin/packages/py-fusepy/package.py
new file mode 100644
index 0000000000..412c01af75
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-fusepy/package.py
@@ -0,0 +1,18 @@
+# Copyright 2013-2019 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 PyFusepy(PythonPackage):
+ """Fusepy is a Python module that provides a simple interface to FUSE and
+ MacFUSE. It's just one file and is implemented using ctypes."""
+
+ homepage = "https://github.com/fusepy/fusepy"
+ url = "https://github.com/fusepy/fusepy/archive/v2.0.4.tar.gz"
+
+ version('2.0.4', sha256='802610ab25ad04fc9ef34d024a0abe41cdcaff6a2cb8b2fb92cdda0057c09d1f')
+
+ depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-gf256/package.py b/var/spack/repos/builtin/packages/py-gf256/package.py
new file mode 100644
index 0000000000..4177e95eb2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-gf256/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2019 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 PyGf256(PythonPackage):
+ """GF256 is an implementation of GF(2**8). This Galois Field allows you
+ to perform finite field arithmetic on byte sized integers."""
+
+ homepage = "https://github.com/DasIch/gf256/"
+ url = "https://github.com/DasIch/gf256/archive/0.2.0.tar.gz"
+
+ version('0.2.0', sha256='75966f57674d957fba361b4d41a19ea0989dd55532ca7df1797b1d5c5a67ad71')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-cffi@1.7.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-hvac/package.py b/var/spack/repos/builtin/packages/py-hvac/package.py
new file mode 100644
index 0000000000..f467747164
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-hvac/package.py
@@ -0,0 +1,24 @@
+# Copyright 2013-2019 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 PyHvac(PythonPackage):
+ """HashiCorp Vault API client"""
+
+ homepage = "https://github.com/hvac/hvac/"
+ url = "https://github.com/hvac/hvac/archive/v0.2.17.tar.gz"
+
+ version('0.9.6', sha256='ff60972edc512c73ac4811e91bcffccdb99f0d8975c0b41e44a4c79d73c711af')
+ version('0.9.5', sha256='3e4af2d84833b8f61c9c3351d4a9799bf8e8e4344d0ad4e162609a7379961a16')
+ version('0.9.4', sha256='ebb14b9a5b347c4f0b4dcea59f435dcc190d8ccb4cb9a20e5daf260af6509dd6')
+ version('0.9.3', sha256='cac16bc089be9966f1fe5c108fb966949dc5bb4348cc1f5f54ebd8511c410ed4')
+ version('0.2.17', sha256='a767be25fcb1165f4b28da3312a0bd196d1101c53c60fb99f899ff6c7b9aaa78')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-requests@2.7.0:', type=('build', 'run'))
+ depends_on('py-requests@2.21.0:', type=('build', 'run'), when='@0.9.3:')
+ depends_on('py-six@1.5.0:', type=('build', 'run'), when='@0.9.6:')
diff --git a/var/spack/repos/builtin/packages/py-python-logstash/package.py b/var/spack/repos/builtin/packages/py-python-logstash/package.py
new file mode 100644
index 0000000000..7eeb0bea45
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-python-logstash/package.py
@@ -0,0 +1,15 @@
+# Copyright 2013-2019 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 PyPythonLogstash(PythonPackage):
+ """Python logging handler for Logstash."""
+
+ homepage = "https://github.com/vklochan/python-logstash"
+ url = "https://pypi.io/packages/source/p/python-logstash/python-logstash-0.4.6.tar.gz"
+
+ version('0.4.6', sha256='10943e5df83f592b4d61b63ad1afff855ccc8c9467f78718f0a59809ba1fe68c')
diff --git a/var/spack/repos/builtin/packages/py-subrosa/package.py b/var/spack/repos/builtin/packages/py-subrosa/package.py
new file mode 100644
index 0000000000..6293db4fcb
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-subrosa/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2019 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 PySubrosa(PythonPackage):
+ """Subrosa is a Python implementation of Shamir's Secret Sharing. An
+ algorithm for sharing a secret with a group of people without letting any
+ individual of the group know the secret."""
+
+ homepage = "https://github.com/DasIch/subrosa/"
+ url = "https://github.com/DasIch/subrosa/archive/0.1.0.tar.gz"
+
+ version('0.1.0', sha256='dc8172119a338874afa0bdcba035224c965ff71d2cbceda70b1ed2377aa390ea')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-gf256', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-zxcvbn/package.py b/var/spack/repos/builtin/packages/py-zxcvbn/package.py
new file mode 100644
index 0000000000..e393a1d6f3
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-zxcvbn/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2019 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 PyZxcvbn(PythonPackage):
+ """A realistic password strength estimator.
+
+ This is a Python implementation of the library created by the team at
+ Dropbox."""
+
+ homepage = "https://github.com/dwolfhub/zxcvbn-python"
+ url = "https://github.com/dwolfhub/zxcvbn-python/archive/v4.4.25.tar.gz"
+
+ version('4.4.28', sha256='b7275765acdf8028c21aa502d742e56de2252bac604c04ba5e336c39f88d5576')
+ version('4.4.27', sha256='9b84927fff7b4cc557b63a49adbd74f7a92026e25edd9e1b2867c1610d15fa5d')
+ version('4.4.26', sha256='ee498e9257742972950f33540f0e36112db14c636417ce5b53d99a492dad8aba')
+ version('4.4.25', sha256='dfb4d5aee8b59361572e2c12e7982bb22dbf9a1e8ac1c10c8ffea2c72712aabf')
+
+ depends_on('py-setuptools', type='build')