From 012b80dfbee74e7fbb879a252dac35a2c3f3f4e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Krup=C4=8D=C3=ADk?= Date: Thu, 21 Feb 2019 12:41:38 +0100 Subject: [PATCH] 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 --- p/Py/Py-3.6.eb | 2 +- p/Python/Python-3.6.8-GCC-6.3.0-2.27-base.eb | 51 ++++++++++++++++++++ s/SQLite/SQLite-3.27.1.eb | 39 +++++++++++++++ t/Tcl/Tcl-8.6.9.eb | 27 +++++++++++ t/Tk/Tk-8.6.9.eb | 28 +++++++++++ 5 files changed, 146 insertions(+), 1 deletion(-) create mode 100644 p/Python/Python-3.6.8-GCC-6.3.0-2.27-base.eb create mode 100644 s/SQLite/SQLite-3.27.1.eb create mode 100644 t/Tcl/Tcl-8.6.9.eb create mode 100644 t/Tk/Tk-8.6.9.eb diff --git a/p/Py/Py-3.6.eb b/p/Py/Py-3.6.eb index c006cf50..2288bd86 100644 --- a/p/Py/Py-3.6.eb +++ b/p/Py/Py-3.6.eb @@ -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'), ] diff --git a/p/Python/Python-3.6.8-GCC-6.3.0-2.27-base.eb b/p/Python/Python-3.6.8-GCC-6.3.0-2.27-base.eb new file mode 100644 index 00000000..7cbbb24b --- /dev/null +++ b/p/Python/Python-3.6.8-GCC-6.3.0-2.27-base.eb @@ -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' diff --git a/s/SQLite/SQLite-3.27.1.eb b/s/SQLite/SQLite-3.27.1.eb new file mode 100644 index 00000000..d20bb8ff --- /dev/null +++ b/s/SQLite/SQLite-3.27.1.eb @@ -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' diff --git a/t/Tcl/Tcl-8.6.9.eb b/t/Tcl/Tcl-8.6.9.eb new file mode 100644 index 00000000..3446f1a6 --- /dev/null +++ b/t/Tcl/Tcl-8.6.9.eb @@ -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' diff --git a/t/Tk/Tk-8.6.9.eb b/t/Tk/Tk-8.6.9.eb new file mode 100644 index 00000000..59bb6e0f --- /dev/null +++ b/t/Tk/Tk-8.6.9.eb @@ -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'