59 lines
2.2 KiB
RPMSpec
59 lines
2.2 KiB
RPMSpec
%global pypi_name altair
|
|
|
|
Name: python-%{pypi_name}
|
|
Version: 5.3.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/bd/3c/a0934e25e5eed622b35594261edff75bfa342882d651daa33961fdb4fbf0/altair-5.3.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
|
|
* Tue Apr 23 2024 zhaojingyu <zhaojingyu@kylinos.cn> - 5.3.0-1
|
|
- Update package to version 5.3.0
|
|
- Update Vega-Lite from version 5.16.3 to version 5.17.0
|
|
|
|
* Fri Feb 23 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 5.2.0-1
|
|
- Update package to version 5.2.0
|
|
Fix broken JupyterWidget chart by pinning Vega
|
|
|
|
* Fri Nov 10 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 5.1.2-1
|
|
- Update package to version 5.1.2
|
|
|
|
* Mon Aug 28 2023 luolu12 <luluoc@isoftstone.com> - 5.0.1-1
|
|
- Initial package.
|