From 67fe6cb595777c185f851a563cbc93fb41daef6f Mon Sep 17 00:00:00 2001 From: Lukas Krupcik Date: Mon, 9 Aug 2021 08:31:55 +0200 Subject: [PATCH] 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 --- ...magic-0.4.24-GCCcore-9.3.0-Python-3.8.2.eb | 30 +++++++++++++++++++ .../s3cmd-2.1.0-GCCcore-9.3.0-Python-3.8.2.eb | 27 +++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 m/magic/magic-0.4.24-GCCcore-9.3.0-Python-3.8.2.eb create mode 100644 s/s3cmd/s3cmd-2.1.0-GCCcore-9.3.0-Python-3.8.2.eb diff --git a/m/magic/magic-0.4.24-GCCcore-9.3.0-Python-3.8.2.eb b/m/magic/magic-0.4.24-GCCcore-9.3.0-Python-3.8.2.eb new file mode 100644 index 00000000..7add090a --- /dev/null +++ b/m/magic/magic-0.4.24-GCCcore-9.3.0-Python-3.8.2.eb @@ -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' diff --git a/s/s3cmd/s3cmd-2.1.0-GCCcore-9.3.0-Python-3.8.2.eb b/s/s3cmd/s3cmd-2.1.0-GCCcore-9.3.0-Python-3.8.2.eb new file mode 100644 index 00000000..9e81a9c1 --- /dev/null +++ b/s/s3cmd/s3cmd-2.1.0-GCCcore-9.3.0-Python-3.8.2.eb @@ -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'