easyblock = 'ConfigureMake' name = 'PostgreSQL' version = '11.3' versionsuffix = '-Python-%(pyver)s' homepage = 'https://www.postgresql.org/' description = """PostgreSQL is a powerful, open source object-relational database system. It is fully ACID compliant, has full support for foreign keys, joins, views, triggers, and stored procedures (in multiple languages). It includes most SQL:2008 data types, including INTEGER, NUMERIC, BOOLEAN, CHAR, VARCHAR, DATE, INTERVAL, and TIMESTAMP. It also supports storage of binary large objects, including pictures, sounds, or video. It has native programming interfaces for C/C++, Java, .Net, Perl, Python, Ruby, Tcl, ODBC, among others, and exceptional documentation.""" toolchain = {'name': 'GCCcore', 'version': '8.2.0'} source_urls = ['http://ftp.postgresql.org/pub/source/v%(version)s/'] sources = [SOURCELOWER_TAR_GZ] checksums = ['2a9ff3659e327a4369929478200046942710fd6bc25fe56c72d6b01ee8b1974a'] builddependencies = [ ('binutils', '2.31.1'), ('Bison', '3.0.5'), ('flex', '2.6.4'), ('Perl', '5.28.1'), ] dependencies = [ ('libreadline', '8.0'), ('zlib', '1.2.11'), ('Python', '3.7.2'), # 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 # ('OpenSSL', '1.0.2h'), ] osdependencies = [('openssl-devel', 'libssl-dev', 'libopenssl-devel')] configopts = '--with-python --with-openssl' sanity_check_paths = { 'files': ['bin/psql', 'bin/pg_config', 'lib/libpq.a', 'lib/libpq.%s' % SHLIB_EXT], 'dirs': ['share/postgresql'], } moduleclass = 'data'