modified: p/Py/Py-3.6.eb

new file:   p/Python/Python-3.6.8-GCC-6.3.0-2.27-base.eb
	new file:   s/SQLite/SQLite-3.27.1.eb
	new file:   t/Tcl/Tcl-8.6.9.eb
	new file:   t/Tk/Tk-8.6.9.eb
This commit is contained in:
Lukáš Krupčík 2019-02-21 12:41:38 +01:00
parent 38045be04e
commit 012b80dfbe
5 changed files with 146 additions and 1 deletions

View File

@ -11,7 +11,7 @@ description = """Python 3.6 toolchain"""
toolchain = {'name': 'dummy', 'version': 'dummy'}
dependencies = [
('Python', '3.6.4', '-base', ('GCC', '6.3.0-2.27')),
('Python', '3.6.8', '-base', ('GCC', '6.3.0-2.27')),
('GCC', '6.3.0-2.27'),
]

View File

@ -0,0 +1,51 @@
# IT4Innovations 2018
name = 'Python'
version = '3.6.8'
versionsuffix = '-base'
homepage = 'http://python.org/'
description = "Python is a programming language that lets you work more quickly and integrate your systems more effectively."
toolchain = {'name': 'GCC', 'version': '6.3.0-2.27'}
toolchainopts = {'pic': True, 'opt': True, 'optarch': True}
source_urls = ['http://www.python.org/ftp/%(namelower)s/%(version)s/']
sources = [SOURCE_TGZ]
prebuildopts = 'export CFLAGS="-I${EBROOTXZ}/include" && '
prebuildopts += 'export LDFLAGS="-L${EBROOTXZ}/lib" && '
configopts = "--enable-optimizations"
# python needs bzip2 to build the bz2 package
dependencies = [
('bzip2', '1.0.6', '', True),
('libreadline', '7.0', '', True),
('SQLite', '3.27.1', '', True),
('Tk', '8.6.9', '', True),
('GMP', '6.1.2', '', True),
('XZ', '5.2.3', '', True),
('zlib', '1.2.11', '', True),
('ncurses', '6.0', '', True),
# ('OpenSSL', '1.0.1q'), # OS dependency should be preferred if the os version is more recent then this version, it's
# nice to have an up to date openssl for security reasons
]
# order is important!
# package versions updated Feb 25th 2016
exts_list = [
('setuptools', '38.4.0', {
'source_urls': ['https://pypi.python.org/packages/source/s/setuptools/'],
'source_tmpl': '%(name)s-%(version)s.zip',
}),
('pip', '9.0.1', {
'source_urls': ['https://pypi.python.org/packages/source/p/pip/'],
}),
('nose', '1.3.7', {
'source_urls': ['https://pypi.python.org/packages/source/n/nose/'],
}),
]
#modluafooter = 'add_property("state","experimental")'
moduleclass = 'lang'

39
s/SQLite/SQLite-3.27.1.eb Normal file
View File

@ -0,0 +1,39 @@
# IT4Innovations 2018
easyblock = 'ConfigureMake'
name = 'SQLite'
version = '3.27.1'
homepage = 'http://www.sqlite.org/'
description = 'SQLite: SQL Database Engine in a C Library'
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['http://www.sqlite.org/2019/']
version_minor_etc = version.split('.')[1:]
version_minor_etc += '0' * (3 - len(version_minor_etc))
version_str = '%(version_major)s' + ''.join('%02d' % int(x)
for x in version_minor_etc)
sources = [
'sqlite-autoconf-%s.tar.gz' % version_str,
'sqlite-amalgamation-%s.zip' % version_str,
]
dependencies = [
('libreadline', '7.0'),
('Tcl', '8.6.9'),
]
sanity_check_paths = {
'files': [
'bin/sqlite3',
'include/sqlite3ext.h',
'include/sqlite3.h',
'lib/libsqlite3.a',
'lib/libsqlite3.%s' %
SHLIB_EXT],
'dirs': ['lib/pkgconfig'],
}
moduleclass = 'devel'

27
t/Tcl/Tcl-8.6.9.eb Normal file
View File

@ -0,0 +1,27 @@
# IT4Innovations 2019
easyblock = 'ConfigureMake'
name = 'Tcl'
version = '8.6.9'
homepage = 'http://www.tcl.tk/'
description = """Tcl (Tool Command Language) is a very powerful but easy to learn dynamic programming language,
suitable for a very wide range of uses, including web and desktop applications, networking, administration,
testing and many more."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ["http://prdownloads.sourceforge.net/tcl"]
sources = ['%(namelower)s%(version)s-src.tar.gz']
dependencies = [
('zlib', '1.2.11'),
]
configopts = '--enable-threads EXTRA_INSTALL="install-private-headers"'
runtest = 'test'
start_dir = 'unix'
moduleclass = 'lang'

28
t/Tk/Tk-8.6.9.eb Normal file
View File

@ -0,0 +1,28 @@
# IT4Innovations 2019
easyblock = 'ConfigureMake'
name = 'Tk'
version = '8.6.9'
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': 'dummy', 'version': ''}
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']
dependencies = [
('Tcl', version),
('zlib', '1.2.11'),
]
configopts = '--enable-threads --with-tcl=$EBROOTTCL/lib --without-x CFLAGS="-I$EBROOTTCL/include"'
start_dir = 'unix'
moduleclass = 'vis'