%global pypi_name alerce Name: python-%{pypi_name} Version: 2.3.1 Release: 1%{?dist} Summary: Python client for the ALeRCE astronomical alert broker API License: MIT URL: https://github.com/alercebroker/alerce_client Source0: %{pypi_source %{pypi_name}} BuildArch: noarch # Legacy setup.py project with no pyproject.toml: use the manual # BuildRequires + %%pyproject_wheel flow (setuptools legacy PEP 517 # backend) rather than %%generate_buildrequires. BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-pandas BuildRequires: python3-astropy BuildRequires: python3-requests BuildRequires: python3-ipython BuildRequires: python3-matplotlib %description The alerce package is the official Python client for the ALeRCE (Automatic Learning for the Rapid Classification of Events) astronomical alert broker API, used to query ZTF/ELAsTiCC alert data, light curves, stamps and crossmatches. It is a runtime dependency of TOM Toolkit's ALeRCE broker module. %package -n python3-%{pypi_name} Summary: %{summary} Requires: python3-pandas >= 1.1.2 Requires: python3-astropy >= 4.0.1 Requires: python3-requests >= 2.24.0 Requires: python3-ipython Requires: python3-matplotlib %description -n python3-%{pypi_name} The alerce package is the official Python client for the ALeRCE astronomical alert broker API. It is a runtime dependency of TOM Toolkit's ALeRCE broker module. %prep %autosetup -n %{pypi_name}-%{version} %build %pyproject_wheel %install %pyproject_install %pyproject_save_files alerce %check %pyproject_check_import %files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE.txt %doc README.md %changelog * Mon Aug 24 2026 Morgan Hough - 2.3.1-1 - Initial package. Runtime dependency of TOM Toolkit's ALeRCE broker module.