Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
easyblock = 'EB_Python'

name = 'pybuilddep'
version = '2.7.13'

homepage = 'http://python.org/'

description = """
Python is a programming language that lets you work more quickly and
integrate your systems more effectively.

Note: This module is meant to provide a builddependency for other Python
modules while using EasyBuild's --minimaltoolchain option. Modules
built with it will require the full Python later
"""

toolchain = {'name': 'GCCcore', 'version': '6.4.0'}
toolchainopts = {'pic': True}

source_urls = ['http://www.python.org/ftp/python/%(version)s/']
sources = ['Python-%(version)s.tgz']
checksums = ['a4f05a0720ce0fd92626f0278b6b433eee9a6173ddf2bced7957dfb599a5ece1']

builddependencies = [
('binutils', '2.28'),
]

dependencies = [
('bzip2', '1.0.6'),
('libreadline', '7.0'),
('ncurses', '6.0'),
('SQLite', '3.19.3'),
('zlib', '1.2.11'),
]

osdependencies = [
# rely upon distribution for timely security updates
('openssl-devel', 'libssl-dev', 'libopenssl-devel'),
]

# We hide this by default since users should not use it in production,
# high-performance Python should be delivered at compiler level with
# a default extension set
# hidden = True

# bare installation: only known module deps for GCCcore tools included
exts_list = []

# Until such time that EasyBuild accepts 'rpath' as a toolchainopt...
# add RPATH so this can be used as a builddependency for "bare" PythonPackages
preconfigopts = """
sed -e\
's:$(LINKCC) $(LDFLAGS) $(LINKFORSHARED):$(LINKCC) $(LDFLAGS) $(LINKFORSHARED) -Wl,-rpath=%(installdir)s/lib:'\
-i.eb Makefile.pre.in
"""

moduleclass = 'lang'