easyblock = 'PythonBundle'

name = 'geopandas'
version = '1.1.2'

homepage = 'https://geopandas.org'
description = """GeoPandas is a project to add support for geographic data to pandas objects.
It currently implements GeoSeries and GeoDataFrame types which are subclasses of pandas.Series
and pandas.DataFrame respectively. GeoPandas objects can act on shapely geometry objects and
perform geometric operations."""

toolchain = {'name': 'foss', 'version': '2025b'}

builddependencies = [
    ('Cython', '3.1.2'),  # required for pyogrio
]

dependencies = [
    ('Python', '3.13.5'),
    ('Python-bundle-PyPI', '2025.07'),
    ('SciPy-bundle', '2025.07'),
    ('Shapely', '2.1.1'),
    ('Fiona', '1.10.1'),
    ('pyproj', '3.7.1'),
    ('matplotlib', '3.10.5'),
    ('psycopg', '3.2.9'),  # optional
    ('SQLAlchemy', '2.0.41'),
    ('networkx', '3.5'),
    ('scikit-learn', '1.7.1'),
    ('numba', '0.62.0'),  # optional, numba extra in mapclassify
]

exts_list = [
    ('pyogrio', '0.10.0', {
        'checksums': ['ec051cb568324de878828fae96379b71858933413e185148acb6c162851ab23c'],
    }),
    ('mapclassify', '2.8.1', {
        'use_pip_extras': 'numba',
        'checksums': ['306f4cb99ad1ea166b3efd7180c0a199d240bd801de7937327973d829673bc82'],
    }),
    (name, version, {
        'checksums': ['33f7b33565c46a45b8459a2ab699ec943fdbb5716e58e251b3c413cf7783106c'],
    }),
]

moduleclass = 'geo'
