python-backports_abc/python-backports_abc.spec

50 lines
1.4 KiB
RPMSpec
Raw Normal View History

2019-12-05 17:12:46 +08:00
Name: python-backports_abc
Version: 0.5
Release: 11
2019-12-05 17:12:46 +08:00
Summary: It patches the collections module instead of the collections.abc module.
License: Python
URL: https://pypi.python.org/pypi/backports_abc
2020-09-11 09:40:30 +08:00
Source0: https://files.pythonhosted.org/packages/68/3c/1317a9113c377d1e33711ca8de1e80afbaf4a3c950dd0edfaf61f9bfe6d8/backports_abc-%{version}.tar.gz
2019-12-05 17:12:46 +08:00
BuildArch: noarch
BuildRequires: python3-devel python3-setuptools
2019-12-05 17:12:46 +08:00
%description
A backport of recent additions to the 'collections.abc' module.
%package -n python3-backports_abc
Summary: A backport of recent additions to the 'collections.abc' module
%{?python_provide:%python_provide python3-backports_abc}
%description -n python3-backports_abc
In Python 3.x, it patches the collections module instead of the collections.abc module.
%prep
%autosetup -n backports_abc-%{version}
%build
%py3_build
%install
%py3_install
%check
%{__python3} setup.py test
%files -n python3-backports_abc
%license LICENSE
%doc CHANGES.rst README.rst
%{python3_sitelib}/backports_abc.py
%{python3_sitelib}/backports_abc*.egg-info/
%{python3_sitelib}/__pycache__/*
%changelog
* Wed Oct 21 2020 chengzihan <chengzihan2@huawei.com> - 0.5-11
- Remove subpackage python2-backports_abc
2020-09-11 09:40:30 +08:00
* Thu Sep 10 2020 liuweibo <liuweibo10@huawei.com> - 0.5-10
- Fix Source0
2019-12-05 17:12:46 +08:00
* Sat Nov 30 2019 lijin Yang <yanglijin@huawei.com> - 0.5-9
- init package