python-kiwisolver/python-kiwisolver.spec

57 lines
1.6 KiB
RPMSpec
Raw Normal View History

Name: python-kiwisolver
2019-11-19 11:54:25 +08:00
Version: 1.1.0
2020-10-29 10:38:39 +08:00
Release: 4
2019-11-19 11:54:25 +08:00
Summary: A fast implementation of the Cassowary constraint solver
License: BSD
URL: https://github.com/nucleic/kiwi
Source0: https://github.com/nucleic/kiwi/archive/%{version}/kiwisolver-%{version}.tar.gz
2019-11-19 11:54:25 +08:00
BuildRequires: gcc-c++
%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
2019-11-19 11:54:25 +08:00
Summary: Kiwisolver for Python 3 Package
2020-03-11 16:12:01 +08:00
%python_provide python3-kiwisolver
2019-11-19 11:54:25 +08:00
BuildRequires: python3-devel python3-setuptools python3-pytest
%description -n python3-kiwisolver
2019-11-19 11:54:25 +08:00
Kiwisolver for Python 3 Package.
%prep
%autosetup -n kiwi-%{version}
rm -rf kiwisolver.egg-info
2019-11-19 11:54:25 +08:00
%build
%py3_build
%install
%py3_install
%check
PYTHONPATH="%{buildroot}%{python3_sitearch}" py.test-3 py/tests/
%files -n python3-kiwisolver
%doc README.rst LICENSE
%{python3_sitearch}/kiwisolver.cpython-*.so
%{python3_sitearch}/kiwisolver-%{version}-*.egg-info
2019-11-19 11:54:25 +08:00
%changelog
2020-10-29 10:38:39 +08:00
* Wed Oct 21 2020 Ge Wang <wangge20@huawei.com> - 1.1.0-4
- Remove python2
2020-03-11 16:12:01 +08:00
* 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
2019-11-19 11:54:25 +08:00
* Tue Nov 05 2019 openEuler Buildteam<buildteam@openeuler.org> - 1.1.0-1
- Type:NA
- ID:NA
- SUG:NA
- DESC:Package Init