Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Tkinter sanity check to matplotlib (foss toolchains) #5689

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -39,6 +39,8 @@ sanity_check_paths = {
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}

sanity_check_commands = ["""python -c 'import matplotlib; matplotlib.use("TkAgg"); import matplotlib.pyplot' """]

modextrapaths = {'PYTHONPATH': ['lib/python%(pyshortver)s/site-packages']}

moduleclass = 'vis'
Expand Up @@ -39,6 +39,8 @@ sanity_check_paths = {
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}

sanity_check_commands = ["""python -c 'import matplotlib; matplotlib.use("TkAgg"); import matplotlib.pyplot' """]

modextrapaths = {'PYTHONPATH': ['lib/python%(pyshortver)s/site-packages']}

moduleclass = 'vis'
Expand Up @@ -39,6 +39,8 @@ sanity_check_paths = {
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}

sanity_check_commands = ["""python -c 'import matplotlib; matplotlib.use("TkAgg"); import matplotlib.pyplot' """]

modextrapaths = {'PYTHONPATH': ['lib/python%(pyshortver)s/site-packages']}

moduleclass = 'vis'
Expand Up @@ -39,6 +39,8 @@ sanity_check_paths = {
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}

sanity_check_commands = ["""python -c 'import matplotlib; matplotlib.use("TkAgg"); import matplotlib.pyplot' """]

modextrapaths = {'PYTHONPATH': ['lib/python%(pyshortver)s/site-packages']}

moduleclass = 'vis'
Expand Up @@ -18,6 +18,7 @@ exts_defaultclass = 'PythonPackage'

dependencies = [
('Python', '2.7.13'),
('Tkinter', '%(pyver)s', versionsuffix),
('libpng', libpng_ver),
('freetype', '2.7.1', '-libpng-%s' % libpng_ver),
]
Expand Down Expand Up @@ -45,4 +46,6 @@ sanity_check_paths = {

modextrapaths = {'PYTHONPATH': ['lib/python%(pyshortver)s/site-packages']}

sanity_check_commands = ["""python -c 'import matplotlib; matplotlib.use("TkAgg"); import matplotlib.pyplot' """]

moduleclass = 'vis'
Expand Up @@ -18,6 +18,7 @@ exts_defaultclass = 'PythonPackage'

dependencies = [
('Python', '3.6.1'),
('Tkinter', '%(pyver)s', versionsuffix),
('libpng', libpng_ver),
('freetype', '2.7.1', '-libpng-%s' % libpng_ver),
]
Expand All @@ -43,6 +44,8 @@ sanity_check_paths = {
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}

sanity_check_commands = ["""python -c 'import matplotlib; matplotlib.use("TkAgg"); import matplotlib.pyplot' """]

modextrapaths = {'PYTHONPATH': ['lib/python%(pyshortver)s/site-packages']}

moduleclass = 'vis'
Expand Up @@ -16,6 +16,7 @@ exts_defaultclass = 'PythonPackage'

dependencies = [
('Python', '3.6.2'),
('Tkinter', '%(pyver)s', versionsuffix),
('libpng', '1.6.32'),
('freetype', '2.8'),
]
Expand Down Expand Up @@ -45,6 +46,8 @@ sanity_check_paths = {
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}

sanity_check_commands = ["""python -c 'import matplotlib; matplotlib.use("TkAgg"); import matplotlib.pyplot' """]

modextrapaths = {'PYTHONPATH': ['lib/python%(pyshortver)s/site-packages']}

moduleclass = 'vis'
30 changes: 30 additions & 0 deletions easybuild/easyconfigs/t/Tk/Tk-8.6.6-foss-2017a.eb
@@ -0,0 +1,30 @@
easyblock = 'ConfigureMake'

name = 'Tk'
version = '8.6.6'

homepage = 'http://www.tcl.tk/'
description = """Tk is an open source, cross-platform widget toolchain that provides a library of basic elements for
building a graphical user interface (GUI) in many different programming languages."""

toolchain = {'name': 'foss', 'version': '2017a'}

source_urls = ["http://prdownloads.sourceforge.net/tcl"]
sources = ['%(namelower)s%(version)s-src.tar.gz']
patches = ['Tk-8.6.4_different-prefix-with-tcl.patch']
checksums = [
'd62c371a71b4744ed830e3c21d27968c31dba74dd2c45f36b9b071e6d88eb19d', # tk8.6.6-src.tar.gz
'7a6daa8349393af3d340e774aebf07c7410c51e01bc654ceb3679877063b961d', # Tk-8.6.4_different-prefix-with-tcl.patch
]

dependencies = [
('X11', '20170314'),
('Tcl', version),
('zlib', '1.2.11'),
]

configopts = '--enable-threads --with-tcl=$EBROOTTCL/lib CFLAGS="-I$EBROOTTCL/include"'

start_dir = 'unix'

moduleclass = 'vis'
@@ -0,0 +1,20 @@
name = 'Tkinter'
version = '2.7.13'
versionsuffix = '-Python-%(pyver)s'

homepage = 'http://python.org/'
description = """Tkinter module, built with the Python buildsystem"""

toolchain = {'name': 'foss', 'version': '2017a'}
toolchainopts = {'pic': True}

source_urls = ['http://www.python.org/ftp/python/%(version)s/']
sources = ['Python-%(version)s.tgz']
checksums = ['a4f05a0720ce0fd92626f0278b6b433eee9a6173ddf2bced7957dfb599a5ece1']

dependencies = [
('Python', version),
('Tk', '8.6.6'),
]

moduleclass = 'lang'
@@ -0,0 +1,20 @@
name = 'Tkinter'
version = '3.6.1'
versionsuffix = '-Python-%(pyver)s'

homepage = 'http://python.org/'
description = """Tkinter module, built with the Python buildsystem"""

toolchain = {'name': 'foss', 'version': '2017a'}
toolchainopts = {'pic': True}

source_urls = ['http://www.python.org/ftp/python/%(version)s/']
sources = ['Python-%(version)s.tgz']
checksums = ['aa50b0143df7c89ce91be020fe41382613a817354b33acdc6641b44f8ced3828']

dependencies = [
('Python', version),
('Tk', '8.6.6'),
]

moduleclass = 'lang'
@@ -0,0 +1,20 @@
name = 'Tkinter'
version = '3.6.2'
versionsuffix = '-Python-%(pyver)s'

homepage = 'http://python.org/'
description = """Tkinter module, built with the Python buildsystem"""

toolchain = {'name': 'foss', 'version': '2017b'}
toolchainopts = {'pic': True}

source_urls = ['http://www.python.org/ftp/python/%(version)s/']
sources = ['Python-%(version)s.tgz']
checksums = ['7919489310a5f17f7acbab64d731e46dca0702874840dadce8bd4b2b3b8e7a82']

dependencies = [
('Python', version),
('Tk', '8.6.7'),
]

moduleclass = 'lang'