diff --git a/altair-5.0.1.tar.gz b/altair-5.0.1.tar.gz new file mode 100644 index 0000000..b915fab Binary files /dev/null and b/altair-5.0.1.tar.gz differ diff --git a/python-altair.spec b/python-altair.spec new file mode 100644 index 0000000..88e0e49 --- /dev/null +++ b/python-altair.spec @@ -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 - 5.0.1-1 +- Initial package.