new file: m/magic/magic-0.4.24-GCCcore-9.3.0-Python-3.8.2.eb

new file:   s/s3cmd/s3cmd-2.1.0-GCCcore-9.3.0-Python-3.8.2.eb
This commit is contained in:
Lukas Krupcik 2021-08-09 08:31:55 +02:00
parent 373d9e445c
commit 67fe6cb595
2 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# IT4Innovations 2021
# JK
easyblock = 'PythonPackage'
name = 'magic'
version = '0.4.24'
versionsuffix = '-Python-%(pyver)s'
homepage = "http://github.com/ahupp/python-magic"
description = """python-magic is a Python interface to the libmagic file type identification library. libmagic identifies file types by checking their headers according to a predefined list of file types. This functionality is exposed to the command line by the Unix command file."""
toolchain = {'name': 'GCCcore', 'version': '9.3.0'}
source_urls = ["https://github.com/ahupp/python-magic/archive/refs/tags/"]
sources = ['%(version)s.tar.gz']
dependencies = [
('Python', '3.8.2'),
]
download_dep_fail = True
use_pip = True
sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages/'],
}
moduleclass = 'lib'

View File

@ -0,0 +1,27 @@
# IT4Innovations 2021
# JK
# build first with --stop postproc and then --module-only --rebuild in order to skip sanity checks
easyblock = 'PythonPackage'
name = 's3cmd'
version = '2.1.0'
versionsuffix = '-Python-%(pyver)s'
homepage = "https://s3tools.org/s3cmd"
description = """S3cmd is a free command line tool and client for uploading, retrieving and managing data in Amazon S3 and other cloud storage service providers that use the S3 protocol, such as Google Cloud Storage or DreamHost DreamObjects. It is best suited for power users who are familiar with command line programs. It is also ideal for batch scripts and automated backup to S3, triggered from cron, etc."""
toolchain = {'name': 'GCCcore', 'version': '9.3.0'}
source_urls = ["https://github.com/s3tools/s3cmd/archive/refs/tags/"]
sources = ['v2.1.0.tar.gz']
dependencies = [
('Python', '3.8.2'),
('magic', '0.4.24', '-Python-%(pyver)s'),
]
download_dep_fail = True
use_pip = True
moduleclass = 'tools'