Merge branch 'it4i-anselm'

Former-commit-id: 719989682dbe2ef0641a472bbdc680a28539b2f3
This commit is contained in:
Lukáš Krupčík 2018-07-30 10:11:33 +02:00
commit 709564e232
2 changed files with 95 additions and 0 deletions

View File

@ -0,0 +1,43 @@
# IT4Innovations 2018
easyblock = "EB_Python"
name = 'Python'
version = '2.7.15'
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': 'dummy', 'version': ''}
toolchainopts = {'pic': True, 'opt': True, 'optarch': True}
source_urls = ['http://www.python.org/ftp/%(namelower)s/%(version)s/']
sources = [SOURCE_TGZ]
dependencies = [
('bzip2', '1.0.6'),
('zlib', '1.2.11'),
('libreadline', '7.0'),
('ncurses', '6.1'),
('SQLite', '3.17.0'),
('Tk', '8.6.6'),
]
osdependencies = [('openssl-devel', 'libssl-dev', 'libopenssl-devel')]
#buildopts = 'CPPFLAGS="-I/apps/all/bzip2/1.0.6/include -I/apps/all/zlib/1.2.8/include -I/apps/all/ncurses/5.9/include -I/apps/all/SQLite/3.8.8.1/include" LDFLAGS="-L/apps/all/bzip2/1.0.6/lib -L/apps/all/zlib/1.2.8/lib -L/apps/all/ncurses/5.9/lib -L/apps/all/SQLite/3.8.8.1/lib:$CPPFLAGS"'
exts_list = [
('setuptools', '40.0.0', {
'source_urls': ['https://pypi.python.org/packages/source/s/setuptools/'],
'source_tmpl': '%(name)s-%(version)s.zip',
}),
('pip', '18.0', {
'source_urls': ['http://pypi.python.org/packages/source/p/pip/'],
}),
('nose', '1.3.7', {
'source_urls': ['http://pypi.python.org/packages/source/n/nose/'],
}),
]
moduleclass = 'lang'

View File

@ -0,0 +1,52 @@
# IT4Innovations 2018
name = 'Python'
version = '3.7.0'
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': 'dummy', 'version': ''}
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'),
('libreadline', '7.0'),
('SQLite', '3.17.0'),
('Tk', '8.6.6'),
('GMP', '6.1.2'),
('XZ', '5.2.3'),
('zlib', '1.2.11'),
('ncurses', '6.1'),
# ('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
]
osdependencies = [('openssl-devel', 'libssl-dev')]
# order is important!
# package versions updated Feb 25th 2016
exts_list = [
('setuptools', '20.1.1', {
'source_urls': ['https://pypi.python.org/packages/source/s/setuptools/'],
}),
('pip', '18.0', {
'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'