114 Star 0 Fork 21

src-openEuler / python-greenlet

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-greenlet.spec 2.52 KB
一键复制 编辑 原始数据 按行查看 历史
王歌 提交于 2023-06-02 10:52 . update to version 2.0.2
Name: python-greenlet
Version: 2.0.2
Release: 1
Summary: lightweight coroutines for in-process concurrent programming
License: Python-2.0 and MIT
URL: https://github.com/python-greenlet/greenlet
Source0: %{pypi_source greenlet}
Patch0: 0001-add-loongarch64-architecture-support.patch
%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".
%package -n python3-greenlet
Summary: lightweight coroutines for in-process concurrent programming
%{?python_provide:%python_provide python3-greenlet}
BuildRequires: gcc-c++
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-cffi
%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}
BuildRequires: python3-devel python3-setuptools
BuildRequires: gcc-c++
%description -n python3-greenlet-devel
This package contains libraries and headier files for developing applications
that use python3-greenlet.
%prep
%setup -n greenlet-%{version}
%ifarch loongarch64
%patch0 -p1
%endif
%build
%py3_build
%install
%py3_install
%check
%{__python3} setup.py test
%files -n python3-greenlet
%defattr(-,root,root)
%license LICENSE LICENSE.PSF
%doc AUTHORS README.rst
%{python3_sitearch}/*
%files -n python3-greenlet-devel
%defattr(-,root,root)
%{_includedir}/python%{python3_version}*/greenlet/
%changelog
* Thu Jun 01 2023 Ge Wang <wang__ge@126.com> - 2.0.2-1
- update to 2.0.2
* Thu Nov 17 2022 huajingyun <huajingyun@loongson.cn> - 1.1.2-2
- add loongarch64 architecture support
* Wed Mar 30 2022 caodongxia <caodongxia@huawei.com> - 1.1.2-1
- update to 1.1.2
* Fri Aug 6 2021 huangtianhua <huangtianhua@huawei.com> - 1.0.0-1
- update to 1.0.0
* Fri Jan 22 2021 zhangy1317 <zhangy1317@foxmail.com> -0.4.15
- update to 0.4.15
* Thu Oct 29 2020 tianwei <tianwei12@huawei.com> - 0.4.14-4
- delete python2 require
* Tue Sep 8 2020 liuweibo <liuweibo10@huawei.com> - 0.4.14-3
- Fix Source0
* Mon Dec 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.4.14-2
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-greenlet.git
git@gitee.com:src-openeuler/python-greenlet.git
src-openeuler
python-greenlet
python-greenlet
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891