1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- # Author: Pavel Grochal (INUITS)
- # License: GPLv2
- easyblock = 'ConfigureMake'
- name = 'PostgreSQL'
- version = '12.2'
- 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.3.0'}
- source_urls = ['http://ftp.postgresql.org/pub/source/v%(version)s/']
- sources = [SOURCELOWER_TAR_GZ]
- builddependencies = [
- ('binutils', '2.32'),
- ('Bison', '3.3.2'),
- ('flex', '2.6.4'),
- ('Perl', '5.30.0'),
- ]
- dependencies = [
- ('libreadline', '8.0'),
- ('zlib', '1.2.11'),
- ('Python', '3.7.4'),
- # 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'
|