mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-16 19:50:50 +01:00
29 lines
936 B
Plaintext
29 lines
936 B
Plaintext
easyblock = "PythonPackage"
|
|
|
|
name = 'Cython'
|
|
version = '0.22'
|
|
|
|
homepage = 'https://pypi.python.org/pypi/Cython/'
|
|
description = """The Cython language makes writing C extensions for the Python language as easy as Python itself.
|
|
Cython is a source code translator based on the well-known Pyrex, but supports more cutting edge functionality and optimizations."""
|
|
|
|
toolchain = {'name': 'goolf', 'version': '1.4.10'}
|
|
|
|
source_urls = [PYPI_SOURCE]
|
|
sources = [SOURCELOWER_TAR_GZ]
|
|
|
|
python = 'Python'
|
|
pythonver = '2.7.3'
|
|
versionsuffix = '-%s-%s' % (python, pythonver)
|
|
pyshortver = '.'.join(pythonver.split('.')[0:2])
|
|
cythonlibdir = 'lib/python' + pyshortver + '/site-packages/Cython-%(version)s-py' + pyshortver + '-linux-x86_64.egg'
|
|
|
|
dependencies = [(python, pythonver)]
|
|
|
|
sanity_check_paths = {
|
|
'files': ['bin/cygdb', 'bin/cython', '%s/%%(namelower)s.py' % cythonlibdir],
|
|
'dirs': ['%s/%%(name)s' % cythonlibdir],
|
|
}
|
|
|
|
moduleclass = 'lang'
|