From 9f933daa54fad83cd415dd4f5dcd2ce30312ca3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20Morillo?= Date: Fri, 20 Dec 2024 12:27:00 +0100 Subject: [PATCH] Add easyconfig Fiona-1.10.1-foss-2023b.eb and Shapely-2.0.6-gfbf-2023b.eb --- .../f/Fiona/Fiona-1.10.1-foss-2023b.eb | 51 +++++++++++++++++++ .../s/Shapely/Shapely-2.0.6-gfbf-2023b.eb | 31 +++++++++++ 2 files changed, 82 insertions(+) create mode 100644 easybuild/easyconfigs/f/Fiona/Fiona-1.10.1-foss-2023b.eb create mode 100644 easybuild/easyconfigs/s/Shapely/Shapely-2.0.6-gfbf-2023b.eb diff --git a/easybuild/easyconfigs/f/Fiona/Fiona-1.10.1-foss-2023b.eb b/easybuild/easyconfigs/f/Fiona/Fiona-1.10.1-foss-2023b.eb new file mode 100644 index 00000000000..5f776201c8f --- /dev/null +++ b/easybuild/easyconfigs/f/Fiona/Fiona-1.10.1-foss-2023b.eb @@ -0,0 +1,51 @@ +easyblock = 'PythonBundle' + +name = 'Fiona' +version = '1.10.1' + +homepage = 'https://github.com/Toblerity/Fiona' +description = """Fiona is designed to be simple and dependable. It focuses on reading and writing data +in standard Python IO style and relies upon familiar Python types and protocols such as files, dictionaries, +mappings, and iterators instead of classes specific to OGR. Fiona can read and write real-world data using +multi-layered GIS formats and zipped virtual file systems and integrates readily with other Python GIS +packages such as pyproj, Rtree, and Shapely.""" + +toolchain = {'name': 'foss', 'version': '2023b'} + +builddependencies = [ + ('Cython', '3.0.10'), +] + +dependencies = [ + ('Python', '3.11.5'), + ('GDAL', '3.9.0'), + ('Shapely', '2.0.6'), # optional for 'calc' extras +] + +sanity_pip_check = True +use_pip = True + +exts_list = [ + ('cligj', '0.7.2', { + 'checksums': ['a4bc13d623356b373c2c27c53dbd9c68cae5d526270bfa71f6c6fa69669c6b27'], + }), + ('click-plugins', '1.1.1', { + 'checksums': ['46ab999744a9d831159c3411bb0c79346d94a444df9a3a3742e9ed63645f264b'], + }), + ('munch', '4.0.0', { + 'checksums': ['542cb151461263216a4e37c3fd9afc425feeaf38aaa3025cd2a981fadb422235'], + }), + ('%(namelower)s', version, { + 'use_pip_extras': 'calc', + 'checksums': ['b00ae357669460c6491caba29c2022ff0acfcbde86a95361ea8ff5cd14a86b68'], + }), +] + +sanity_check_paths = { + 'files': ['bin/fio'], + 'dirs': ['lib/python%(pyshortver)s/site-packages'], +} + +sanity_check_commands = ['fio --help'] + +moduleclass = 'data' diff --git a/easybuild/easyconfigs/s/Shapely/Shapely-2.0.6-gfbf-2023b.eb b/easybuild/easyconfigs/s/Shapely/Shapely-2.0.6-gfbf-2023b.eb new file mode 100644 index 00000000000..36c42ad5cdc --- /dev/null +++ b/easybuild/easyconfigs/s/Shapely/Shapely-2.0.6-gfbf-2023b.eb @@ -0,0 +1,31 @@ +# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild +# Updated: Denis Kristak +easyblock = 'PythonPackage' + +name = 'Shapely' +version = '2.0.6' + +homepage = 'https://github.com/Toblerity/Shapely' +description = """Shapely is a BSD-licensed Python package for manipulation and analysis of planar geometric objects. +It is based on the widely deployed GEOS (the engine of PostGIS) and JTS (from which GEOS is ported) libraries.""" + +toolchain = {'name': 'gfbf', 'version': '2023b'} + +sources = [SOURCELOWER_TAR_GZ] +checksums = ['997f6159b1484059ec239cacaa53467fd8b5564dabe186cd84ac2944663b0bf6'] + +builddependencies = [ + ('Cython', '3.0.10'), +] + +dependencies = [ + ('Python', '3.11.5'), + ('SciPy-bundle', '2023.11'), + ('GEOS', '3.12.1'), +] + +download_dep_fail = True +sanity_pip_check = True +use_pip = True + +moduleclass = 'math'