python-kiwisolver/python-kiwisolver.spec
2024-02-21 17:18:32 +08:00

74 lines
2.2 KiB
RPMSpec

Name: python-kiwisolver
Version: 1.4.5
Release: 1
Summary: A fast implementation of the Cassowary constraint solver
License: BSD-3-Clause
URL: https://github.com/nucleic/kiwi
Source0: https://files.pythonhosted.org/packages/b9/2d/226779e405724344fc678fcc025b812587617ea1a48b9442628b688e85ea/kiwisolver-1.4.5.tar.gz
BuildRequires: gcc-c++ python3-cppy python3-pip python3-setuptools_scm python3-wheel python3-toml
%description
Kiwi is an efficient C++ implementation of the Cassowary constraint solving algorithm.
Kiwi is an implementation of the algorithm based on the seminal Cassowary paper. It is
not a refactoring of the original C++ solver. Kiwi has been designed from the ground
up to be lightweight and fast.
%package -n python3-kiwisolver
Summary: Kiwisolver for Python 3 Package
%python_provide python3-kiwisolver
BuildRequires: python3-devel python3-setuptools python3-pytest
%description -n python3-kiwisolver
Kiwisolver for Python 3 Package.
%prep
%autosetup -n kiwisolver-%{version} -p1
rm -rf kiwisolver.egg-info
%build
%pyproject_build
%install
%pyproject_install
%check
PYTHONPATH="%{buildroot}%{python3_sitearch}" py.test-3 py/tests/
%files -n python3-kiwisolver
%doc README.rst LICENSE
%{python3_sitearch}/kiwisolver*
%changelog
* Wed Feb 21 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 1.4.5-1
- Update package to version 1.4.5
* Thu May 4 2023 caodongxia <caodongxia@h-partners.com> - 1.4.4-3
- Adapting to the pyproject.toml compilation mode
* Wed Jan 18 2023 caodongxia <caodongxia@h-partners.com> - 1.4.4-2
- Add buildRequires python3-toml
* Wed Aug 03 2022 fushanqing <fushanqing@kylinos.cn> - 1.4.4-1
- update to 1.4.4
* Tue Jul 05 2022 SimpleUpdate Robot <tc@openeuler.org> - 1.4.1-1
- Upgrade to version 1.4.1
* Mon May 9 2022 yaoxin <yaoxin30@h-partners.com> - 1.1.0-5
- License compliance rectification
* Wed Oct 21 2020 Ge Wang <wangge20@huawei.com> - 1.1.0-4
- Remove python2
* Wed Mar 11 2020 gulining<gulining1@huawei.com> - 1.1.0-3
- Add python2
* Mon Mar 9 2020 Ling Yang <lingyang2@huawei.com> - 1.1.0-2
- Fixed format for spec file
* Tue Nov 05 2019 openEuler Buildteam<buildteam@openeuler.org> - 1.1.0-1
- Type:NA
- ID:NA
- SUG:NA
- DESC:Package Init