diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2021-05-21 02:04:50 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-21 09:04:50 +0200 |
commit | 72b6014861e1cfe307743602d3799c6dc1dcee03 (patch) | |
tree | bb979361e35654ab4e35256e3ab031a7b18f30d4 | |
parent | b8fc1094ff3a71fbc60e14ffd0554f8c2b99f932 (diff) | |
download | spack-72b6014861e1cfe307743602d3799c6dc1dcee03.tar.gz spack-72b6014861e1cfe307743602d3799c6dc1dcee03.tar.bz2 spack-72b6014861e1cfe307743602d3799c6dc1dcee03.tar.xz spack-72b6014861e1cfe307743602d3799c6dc1dcee03.zip |
tk: add new version, add macOS patch (#23825)
-rw-r--r-- | var/spack/repos/builtin/packages/tk/package.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/tk/package.py b/var/spack/repos/builtin/packages/tk/package.py index 1eab02b16d..f06185a860 100644 --- a/var/spack/repos/builtin/packages/tk/package.py +++ b/var/spack/repos/builtin/packages/tk/package.py @@ -17,6 +17,7 @@ class Tk(AutotoolsPackage, SourceforgePackage): homepage = "http://www.tcl.tk" sourceforge_mirror_path = "tcl/tk8.6.5-src.tar.gz" + version('8.6.11', sha256='5228a8187a7f70fa0791ef0f975270f068ba9557f57456f51eb02d9d4ea31282') version('8.6.10', sha256='63df418a859d0a463347f95ded5cd88a3dd3aaa1ceecaeee362194bc30f3e386') version('8.6.8', sha256='49e7bca08dde95195a27f594f7c850b088be357a7c7096e44e1158c7a5fd7b33') version('8.6.6', sha256='d62c371a71b4744ed830e3c21d27968c31dba74dd2c45f36b9b071e6d88eb19d') @@ -38,6 +39,13 @@ class Tk(AutotoolsPackage, SourceforgePackage): configure_directory = 'unix' + # https://core.tcl-lang.org/tk/tktview/3598664fffffffffffff + # https://core.tcl-lang.org/tk/info/8b679f597b1d17ad + # https://core.tcl-lang.org/tk/info/997b17c343444e48 + patch('https://github.com/macports/macports-ports/blob/master/x11/tk/files/patch-unix-Makefile.in.diff', + sha256='54bba3d2b3550b7e2c636881c1a3acaf6e1eb743f314449a132864ff47fd0010', + level=0, when='@:8.6.11 platform=darwin') + def install(self, spec, prefix): with working_dir(self.build_directory): make('install') |