diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2018-03-29 14:43:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-29 14:43:12 -0500 |
commit | 499ed2385cfe67ba1ace536dc73d0206304aed60 (patch) | |
tree | 396edaeef963541b3b1e2d543743e10afe66d20d /var | |
parent | 90c0c12f2ac45fdf1019bf797ee2053ac48a2990 (diff) | |
download | spack-499ed2385cfe67ba1ace536dc73d0206304aed60.tar.gz spack-499ed2385cfe67ba1ace536dc73d0206304aed60.tar.bz2 spack-499ed2385cfe67ba1ace536dc73d0206304aed60.tar.xz spack-499ed2385cfe67ba1ace536dc73d0206304aed60.zip |
Fix Python3 bug in tut (#7627)
* Fix Python3 bug in tut
* Revert URL change
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/tut/package.py | 2 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/tut/python3-octal.patch | 11 |
2 files changed, 13 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/tut/package.py b/var/spack/repos/builtin/packages/tut/package.py index c0d2bbcc8f..02773c8ffa 100644 --- a/var/spack/repos/builtin/packages/tut/package.py +++ b/var/spack/repos/builtin/packages/tut/package.py @@ -33,6 +33,8 @@ class Tut(WafPackage): version('2016-12-19', '8b1967fa295ae1ce4d4431c2f811e521') + patch('python3-octal.patch', when='@2016-12-19') + def build_args(self): args = [] diff --git a/var/spack/repos/builtin/packages/tut/python3-octal.patch b/var/spack/repos/builtin/packages/tut/python3-octal.patch new file mode 100644 index 0000000000..d6d9b14273 --- /dev/null +++ b/var/spack/repos/builtin/packages/tut/python3-octal.patch @@ -0,0 +1,11 @@ +--- a/waftools/gcov.py 2016-12-19 04:55:44.000000000 -0600 ++++ b/waftools/gcov.py 2018-03-28 10:42:53.000000000 -0500 +@@ -13,7 +13,7 @@ + wrapper = NamedTemporaryFile(delete=False) + wrapper.write(script) + wrapper.close() +- os.chmod(wrapper.name, 0777) ++ os.chmod(wrapper.name, 0o777) + + yield wrapper.name + |