Skip to content
Merged
Show file tree
Hide file tree
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,41 @@
easyblock = 'PythonPackage'

name = 'Cython'
version = '0.29.37'
versionsuffix = '-Python-%(pyver)s'

homepage = 'https://cython.org/'
description = """
Cython is an optimising static compiler for both the Python programming
language and the extended Cython programming language (based on Pyrex).
"""
docurls = [
'https://cython.org/#documentation',
'https://github.com/cython/cython',
]

toolchain = {'name': 'GCCcore', 'version': '12.3.0'}

sources = [SOURCE_WHL]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PetrKralCZ Any reason why we're not building from source here, using SOURCE_TAR_GZ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whenever there is none-any wheel available, I use that. Is that wrong?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be fine, I mostly wondered why the SOURCE_TAR_GZ is no longer used as it was before

checksums = ['95f1d6a83ef2729e67b3fa7318c829ce5b07ac64c084cd6af11c228e0364662c']

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

dependencies = [
('Python', '2.7.18'),
]

download_dep_fail = True
use_pip = True
sanity_pip_check = True

sanity_check_paths = {
'files': ['bin/cygdb', 'bin/cython', 'bin/cythonize'],
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}

sanity_check_commands = ["cython --version"]

moduleclass = 'lang'
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
easyblock = 'PythonPackage'

name = 'Pysam'
version = '0.20.0'
versionsuffix = '-Python-%(pyver)s'

homepage = 'https://github.com/pysam-developers/pysam'
description = """Pysam is a python module for reading and manipulating Samfiles.
It's a lightweight wrapper of the samtools C-API. Pysam also includes an interface for tabix."""

toolchain = {'name': 'GCC', 'version': '12.3.0'}
toolchainopts = {'pic': True}

source_urls = ['https://github.com/pysam-developers/pysam/archive/']
sources = ['v%(version)s.tar.gz']
checksums = ['5a25d95b986c2cb9f5040b9df4e1d93ce9a8bc3af5a956b1317416ed05269f60']

dependencies = [
('Python', '2.7.18'),
('Cython', '0.29.37', versionsuffix),
('ncurses', '6.4'),
('cURL', '8.0.1'),
('XZ', '5.4.2'),
]

download_dep_fail = True
use_pip = True

sanity_pip_check = True

moduleclass = 'bio'