python-anytree/python-anytree.spec

58 lines
1.4 KiB
RPMSpec
Raw Normal View History

2020-06-18 17:00:46 +08:00
%global modname anytree
Name: python-anytree
2023-11-13 17:06:09 +08:00
Version: 2.12.0
2023-08-02 09:24:38 +08:00
Release: 1
2020-06-18 17:00:46 +08:00
Summary: Powerful and Lightweight Python Tree Data Structure
2021-01-20 16:13:01 +08:00
License: Apache-2.0
2020-06-18 17:00:46 +08:00
URL: https://pypi.io/project/anytree
Source0: %pypi_source %{modname}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
2023-08-02 09:24:38 +08:00
BuildRequires: python3-poetry-core
BuildRequires: python3-pip
BuildRequires: python3-wheel
2020-06-18 17:00:46 +08:00
%description
Powerful and Lightweight Python Tree Data Structure with various plugins.
%package -n python3-anytree
Summary: Powerful and Lightweight Python Tree Data Structure
%description -n python3-anytree
Powerful and Lightweight Python Tree Data Structure with various plugins.
%prep
%setup -q -n %{modname}-%{version}
2023-08-02 09:24:38 +08:00
2020-06-18 17:00:46 +08:00
%build
2023-08-02 09:24:38 +08:00
%pyproject_build
2020-06-18 17:00:46 +08:00
%install
2023-08-02 09:24:38 +08:00
%pyproject_install
2020-06-18 17:00:46 +08:00
%files -n python3-anytree
%{python3_sitelib}/%{modname}/
%{python3_sitelib}/%{modname}-%{version}*
%doc README.rst
%license LICENSE
%changelog
2023-11-13 17:06:09 +08:00
* Mon Nov 13 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 2.12.0-1
- Update package to version 2.12.0
2023-08-02 09:24:38 +08:00
* Wed Aug 02 2023 zhangchenglin <zhangchenglin@kylinos.cn> - 2.9.0-1
- Update package to version 2.9.0
2021-01-20 16:13:01 +08:00
* Wed Jan 20 2021 wutao <wutao61@huawei.com> - 2.8.0-2
- Modify license information.
2020-06-18 17:00:46 +08:00
* Thu Jun 11 2020 Dillon Cheng <dillon.chen@turbolinux.com.cn> - 2.8.0-1
- build for openEuler