python-altair/python-altair.spec
2023-11-10 20:00:25 +08:00

53 lines
1.9 KiB
RPMSpec

%global pypi_name altair
Name: python-%{pypi_name}
Version: 5.1.2
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/a4/cc/45b3dd5f94c78efab3a573331de80fdd3da25607c2dc87ad03d3f9e2df96/altair-5.1.2.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 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.