summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-10-03 10:32:00 -0500
committerGitHub <noreply@github.com>2019-10-03 10:32:00 -0500
commit69acb024a5693d9cbabbb66c81b0957e68ef8995 (patch)
treeff4b9fbfd19a432ebc2164e2b4df781964b8a4fb /var
parent24f8d1042bfb6b3abe33816903d45667b44f3926 (diff)
downloadspack-69acb024a5693d9cbabbb66c81b0957e68ef8995.tar.gz
spack-69acb024a5693d9cbabbb66c81b0957e68ef8995.tar.bz2
spack-69acb024a5693d9cbabbb66c81b0957e68ef8995.tar.xz
spack-69acb024a5693d9cbabbb66c81b0957e68ef8995.zip
Add py-flye 2.6 (#13025)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-flye/package.py15
1 files changed, 13 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-flye/package.py b/var/spack/repos/builtin/packages/py-flye/package.py
index 589d41965b..03705a7a3a 100644
--- a/var/spack/repos/builtin/packages/py-flye/package.py
+++ b/var/spack/repos/builtin/packages/py-flye/package.py
@@ -11,11 +11,22 @@ class PyFlye(PythonPackage):
reads"""
homepage = "https://github.com/fenderglass/Flye"
- url = "https://github.com/fenderglass/Flye/archive/2.4.2.tar.gz"
+ url = "https://github.com/fenderglass/Flye/archive/2.6.tar.gz"
+ version('2.6', sha256='5bdc44b84712794fa4264eed690d8c65c0d72f495c7bbf2cd15b634254809131')
version('2.4.2', sha256='5b74d4463b860c9e1614ef655ab6f6f3a5e84a7a4d33faf3b29c7696b542c51a')
- depends_on('python@2.7:2.8', type=('build', 'run'))
+ # https://github.com/fenderglass/Flye/blob/flye/docs/INSTALL.md
+ depends_on('python@2.7:2.8,3.5:', when='@2.6:', type=('build', 'run'))
+ depends_on('python@2.7:2.8', when='@:2.5', type=('build', 'run'))
+ depends_on('py-setuptools', when='@2.6:', type='build')
+ depends_on('gmake', type='build')
+ depends_on('zlib')
+
+ msg = 'C++ compiler with C++11 support required'
+ conflicts('%gcc@:4.7', msg=msg)
+ conflicts('%clang@:3.2', msg=msg)
+ # Requires Apple Clang 5.0+ but no way to specify that right now
def setup_environment(self, spack_env, run_env):
if self.spec.target.family == 'aarch64':