python-greenlet/python-greenlet.spec

80 lines
2.4 KiB
RPMSpec
Raw Normal View History

Name: python-greenlet
2022-03-30 15:47:05 +08:00
Version: 1.1.2
2021-08-06 02:03:00 +00:00
Release: 1
Summary: lightweight coroutines for in-process concurrent programming
License: Python-2.0 and MIT
URL: https://github.com/python-greenlet/greenlet
2022-03-30 15:47:05 +08:00
Source0: https://files.pythonhosted.org/packages/0c/10/754e21b5bea89d0e73f99d60c83754df7cc64db74f47d98ab187669ce341/greenlet-1.1.2.tar.gz
2019-12-14 21:12:39 +08:00
%description
The greenlet package is a spin-off of Stackless, a version of CPython
that supports micro-threads called "tasklets". Tasklets run pseudo-concurrently
(typically in a single or a few OS-level threads) and are synchronized
with data exchanges on "channels".
2019-12-14 21:12:39 +08:00
%package -n python3-greenlet
Summary: lightweight coroutines for in-process concurrent programming
%{?python_provide:%python_provide python3-greenlet}
2021-08-06 02:03:00 +00:00
BuildRequires: gcc-c++
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-cffi
2021-07-27 16:22:09 +00:00
%description -n python3-greenlet
The greenlet package of python 3 version.
%package -n python3-greenlet-devel
Summary: Development files for python3-greenlet
Requires: python3-greenlet%{?_isa} = %{version}-%{release}
%{?python_provide:%python_provide python3-greenlet-devel}
2021-08-06 02:03:00 +00:00
BuildRequires: python3-devel python3-setuptools
BuildRequires: gcc-c++
2019-12-14 21:12:39 +08:00
%description -n python3-greenlet-devel
This package contains libraries and headier files for developing applications
that use python3-greenlet.
2019-12-14 21:12:39 +08:00
%prep
%autosetup -n greenlet-%{version} -p1
%build
%py3_build
%install
%py3_install
%check
%{__python3} setup.py test
%files -n python3-greenlet
%defattr(-,root,root)
%license LICENSE LICENSE.PSF
2021-08-06 02:03:00 +00:00
%doc AUTHORS README.rst
%{python3_sitearch}/*
2021-07-27 16:22:09 +00:00
%files -n python3-greenlet-devel
%defattr(-,root,root)
%{_includedir}/python%{python3_version}*/greenlet/
2021-07-27 16:22:09 +00:00
2019-12-14 21:12:39 +08:00
%changelog
2022-03-30 15:47:05 +08:00
* Wed Mar 30 2022 caodongxia <caodongxia@huawei.com> - 1.1.2-1
- update to 1.1.2
2021-08-06 02:03:00 +00:00
* Fri Aug 6 2021 huangtianhua <huangtianhua@huawei.com> - 1.0.0-1
- update to 1.0.0
2021-01-22 10:18:24 +08:00
* Fri Jan 22 2021 zhangy1317 <zhangy1317@foxmail.com> -0.4.15
- update to 0.4.15
2020-10-29 10:58:07 +08:00
* Thu Oct 29 2020 tianwei <tianwei12@huawei.com> - 0.4.14-4
- delete python2 require
2020-09-08 15:46:06 +08:00
* Tue Sep 8 2020 liuweibo <liuweibo10@huawei.com> - 0.4.14-3
2020-09-08 15:04:19 +08:00
- Fix Source0
2019-12-14 21:12:39 +08:00
* Mon Dec 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.4.14-2
- Package init