python-yaspin/python-yaspin.spec

66 lines
1.8 KiB
RPMSpec
Raw Normal View History

2021-12-02 14:58:22 +08:00
%global _empty_manifest_terminate_build 0
2023-06-16 12:20:31 +08:00
%global pypi_name yaspin
Name: python-%{pypi_name}
2024-04-22 14:52:03 +08:00
Version: 3.0.2
2023-06-16 12:20:31 +08:00
Release: 1
2021-12-02 14:58:22 +08:00
Summary: Yet Another Terminal Spinner
License: MIT
URL: https://github.com/pavdmyt/yaspin
2024-04-22 14:52:03 +08:00
Source0: https://files.pythonhosted.org/packages/45/92/945d168f13d7e64ae7f013cb9db8a6fbde62a2cb1ce72ba6e0d2af05b402/yaspin-3.0.2.tar.gz
2021-12-02 14:58:22 +08:00
BuildArch: noarch
2023-06-16 12:20:31 +08:00
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-editables
BuildRequires: python3-hatch-vcs
BuildRequires: python3-hatchling
BuildRequires: python3-virtualenv
BuildRequires: python3-poetry-core
BuildRequires: python3-termcolor
2021-12-02 14:58:22 +08:00
%description
Yaspin provides a full-featured terminal spinner to show the progress during long-hanging operations.
2023-06-16 12:20:31 +08:00
%package -n python3-%{pypi_name}
2021-12-02 14:58:22 +08:00
Summary: Yet Another Terminal Spinner
Provides: python-yaspin
2023-06-16 12:20:31 +08:00
%description -n python3-%{pypi_name}
2021-12-02 14:58:22 +08:00
Yaspin provides a full-featured terminal spinner to show the progress during long-hanging operations.
%prep
2023-06-16 12:20:31 +08:00
%autosetup -n %{pypi_name}-%{version}
2021-12-02 14:58:22 +08:00
%build
2023-06-16 12:20:31 +08:00
%pyproject_build
2021-12-02 14:58:22 +08:00
%install
2023-06-16 12:20:31 +08:00
%pyproject_install
2021-12-02 14:58:22 +08:00
2023-06-16 12:20:31 +08:00
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.rst
%{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}*.dist-info/
2021-12-02 14:58:22 +08:00
%changelog
2024-04-22 14:52:03 +08:00
* Mon Apr 22 2024 zhaojingyu <zhaojingyu@kylinos.cn> - 3.0.2-1
- Update package to version 3.0.2
- Add py.typed marker file to be compliant with PEP561
2023-12-26 10:55:31 +08:00
* Tue Dec 26 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 3.0.1-1
- Update package to version 3.0.1
2023-06-16 12:20:31 +08:00
* Fri Jun 16 2023 Dongxing Wang <dxwangk@isoftstone.com> - 2.3.0-1
- Upgrade to version 2.3.0
2022-04-06 09:54:17 +08:00
* Wed Apr 06 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 2.1.0-2
- Add zlib to buildrequires
2021-12-02 14:58:22 +08:00
* Thu Dec 02 2021 Python_Bot <Python_Bot@openeuler.org> - 2.1.0-1
- Package Init