%global pypi_name altair Name: python-%{pypi_name} Version: 5.2.0 Release: 1 Summary: Vega-Altair: A declarative statistical visualization library for Python. License: BSD-1-Clause URL: https://github.com/altair-viz/altair Source0: https://files.pythonhosted.org/packages/44/6b/8c5d5b878b2a4c6def63d717462bc69e362f1bf1fd364cbfd9c774114a38/altair-5.2.0.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-hatchling %description Vega-Altair is a declarative statistical visualization library for Python. With Vega-Altair, you can spend more time understanding your data and its meaning. Vega-Altair's API is simple, friendly and consistent and built on top of the powerful Vega-Lite JSON specification. This elegant simplicity produces beautiful and effective visualizations with a minimal amount of code. %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} Vega-Altair is a declarative statistical visualization library for Python. With Vega-Altair, you can spend more time understanding your data and its meaning. Vega-Altair's API is simple, friendly and consistent and built on top of the powerful Vega-Lite JSON specification. This elegant simplicity produces beautiful and effective visualizations with a minimal amount of code. %prep %autosetup -n %{pypi_name}-%{version} %build %pyproject_build %install %pyproject_install %files -n python3-%{pypi_name} %license LICENSE %doc README.md %{python3_sitelib}/%{pypi_name}* %changelog * Fri Feb 23 2024 jiangxinyu - 5.2.0-1 - Update package to version 5.2.0 Fix broken JupyterWidget chart by pinning Vega * Fri Nov 10 2023 jiangxinyu - 5.1.2-1 - Update package to version 5.1.2 * Mon Aug 28 2023 luolu12 - 5.0.1-1 - Initial package.