!1 init package version 5.0.1 of python-altair

From: @luolu12 
Reviewed-by: @desert-sailor 
Signed-off-by: @desert-sailor
This commit is contained in:
openeuler-ci-bot 2023-08-28 09:58:25 +00:00 committed by Gitee
commit f2bc974ccd
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 49 additions and 0 deletions

BIN
altair-5.0.1.tar.gz Normal file

Binary file not shown.

49
python-altair.spec Normal file
View File

@ -0,0 +1,49 @@
%global pypi_name altair
Name: python-%{pypi_name}
Version: 5.0.1
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/16/12/c35e015e13907198e9de73792f1238058b72fb11208dd0de32436da22d31/altair-5.0.1.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
* Mon Aug 28 2023 luolu12 <luluoc@isoftstone.com> - 5.0.1-1
- Initial package.