python-ordered-set/python-ordered-set.spec
2022-11-09 14:29:11 +08:00

62 lines
1.4 KiB
RPMSpec

Name: python-ordered-set
Version: 4.1.0
Release: 1
Summary: A mutable data structure
License: MIT
URL: https://github.com/LuminosoInsight/ordered-set
Source0: https://pypi.python.org/packages/source/o/ordered-set/ordered-set-%{version}.tar.gz
BuildArch: noarch
%description
An OrderedSet is a mutable data structure that is a hybrid of a list and a set.
It remembers the order of its entries, and every entry has an index number that
can be looked up.
%package -n python3-ordered-set
Summary: ordered-set for python3
%{?python_provide:%python_provide python2-ordered-set}
BuildRequires: python3-devel python3-setuptools python3-pytest
%description -n python3-ordered-set
Ordered-set for python3.
%prep
%autosetup -n ordered-set-%{version}
%build
%py3_build
%install
%py3_install
%check
%{__python3} -m pytest
%pre
%preun
%post
%postun
%files -n python3-ordered-set
%license MIT-LICENSE
%doc README.md
%{python3_sitelib}/ordered_set-*.egg-info/
%{python3_sitelib}/ordered_set
%changelog
* Thu Nov 03 2022 zhuofeng <zhuofeng2@huawei.com> - 4.1.0-1
- update to 4.1.0
* Wed May 25 2022 renhongxun <renhongxun@h-partners.com> - 4.0.2-2
- replace nosetests with pytest and remove useless python3-nose
* Sat Jul 25 2020 tianwei <tianwei12m@huawei.com> - 4.0.2-1
- Package update to 4.0.2
* Fri Oct 18 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.0.2-1
- Package init