Initial the pkg to version 0.9.0
This commit is contained in:
parent
47a945324f
commit
ce6e4729fa
50
python-flake8-nb.spec
Normal file
50
python-flake8-nb.spec
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
%global _empty_manifest_terminate_build 0
|
||||||
|
%global pypi_name vega-datasets
|
||||||
|
%global source_name vega_datasets
|
||||||
|
|
||||||
|
Name: python-%{pypi_name}
|
||||||
|
Version: 0.9.0
|
||||||
|
Release: 1
|
||||||
|
Summary: A Python package for offline access to vega datasets.
|
||||||
|
|
||||||
|
License: MIT
|
||||||
|
URL: http://github.com/altair-viz/vega_datasets
|
||||||
|
Source0: %{url}/archive/%{version}/%{source_name}-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
|
BuildRequires: python3-hatchling
|
||||||
|
BuildRequires: python3-virtualenv
|
||||||
|
BuildRequires: python3-poetry-core
|
||||||
|
|
||||||
|
%description
|
||||||
|
A Python package for offline access to vega datasets.
|
||||||
|
|
||||||
|
%package -n python3-%{pypi_name}
|
||||||
|
Summary: %{summary}
|
||||||
|
|
||||||
|
%description -n python3-%{pypi_name}
|
||||||
|
A Python package for offline access to vega datasets.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n %{source_name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%pyproject_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
|
||||||
|
%files -n python3-%{pypi_name}
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
%{python3_sitelib}/vega_datasets*.dist-info/
|
||||||
|
%{python3_sitelib}/vega_datasets
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Aug 24 2023 zoujiancang<jczou@isoftstone.com> - 0.9.0-1
|
||||||
|
- Initial package
|
||||||
|
|
||||||
BIN
vega_datasets-0.9.0.tar.gz
Normal file
BIN
vega_datasets-0.9.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user