summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/singularity/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/singularity/package.py')
-rw-r--r--var/spack/repos/builtin/packages/singularity/package.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/singularity/package.py b/var/spack/repos/builtin/packages/singularity/package.py
index d7e3ada566..1b030cff23 100644
--- a/var/spack/repos/builtin/packages/singularity/package.py
+++ b/var/spack/repos/builtin/packages/singularity/package.py
@@ -25,9 +25,8 @@ class Singularity(MakefilePackage):
git = "https://github.com/sylabs/singularity.git"
version('develop', branch='master')
- # TODO: 3.4.0 requires cryptsetup (both build and run) which still needs
- # packaging
- # version('3.4.0', sha256='eafb27f1ffbed427922ebe2b5b95d1c9c09bfeb897518867444fe230e3e35e41')
+
+ version('3.4.0', sha256='eafb27f1ffbed427922ebe2b5b95d1c9c09bfeb897518867444fe230e3e35e41')
version('3.3.0', sha256='070530a472e7e78492f1f142c8d4b77c64de4626c4973b0589f0d18e1fcf5b4f')
version('3.2.1', sha256='d4388fb5f7e0083f0c344354c9ad3b5b823e2f3f27980e56efa7785140c9b616')
version('3.1.1', '158f58a79db5337e1d655ee0159b641e42ea7435')
@@ -38,6 +37,9 @@ class Singularity(MakefilePackage):
depends_on('squashfs', type='run')
depends_on('git', when='@develop') # mconfig uses it for version info
depends_on('shadow', type='run', when='@3.3:')
+ depends_on('cryptsetup', type=('build', 'run'), when='@3.4:')
+
+ patch('singularity_v3.4.0_remove_root_check.patch', level=0, when='@3.4.0')
# Go has novel ideas about how projects should be organized.
# We'll point GOPATH at the stage dir, and move the unpacked src