update to version 2.0.2

This commit is contained in:
wang--ge 2023-06-02 10:52:31 +08:00
parent f1e111141f
commit e23ef66f26
4 changed files with 11 additions and 8 deletions

View File

@ -1,6 +1,6 @@
From 5bad26bce4675cd6b590a2e990e69ff7a6c187b5 Mon Sep 17 00:00:00 2001 From ca4845920d6587c5568d3ad294d17bbd9d9aa486 Mon Sep 17 00:00:00 2001
From: wang--ge <wang__ge@126.com> From: wang--ge <wang__ge@126.com>
Date: Sat, 7 May 2022 14:39:18 +0800 Date: Thu, 1 Jun 2023 09:47:40 +0800
Subject: [PATCH] add loongarch64 architecture support Subject: [PATCH] add loongarch64 architecture support
--- ---
@ -48,10 +48,10 @@ index 0000000..4252561
+#endif +#endif
\ No newline at end of file \ No newline at end of file
diff --git a/src/greenlet/slp_platformselect.h b/src/greenlet/slp_platformselect.h diff --git a/src/greenlet/slp_platformselect.h b/src/greenlet/slp_platformselect.h
index b5e8eb6..1766e16 100644 index b6a3e70..d71db10 100644
--- a/src/greenlet/slp_platformselect.h --- a/src/greenlet/slp_platformselect.h
+++ b/src/greenlet/slp_platformselect.h +++ b/src/greenlet/slp_platformselect.h
@@ -45,6 +45,8 @@ @@ -49,6 +49,8 @@ extern "C" {
#endif #endif
#elif defined(__GNUC__) && defined(__mips__) && defined(__linux__) #elif defined(__GNUC__) && defined(__mips__) && defined(__linux__)
#include "platform/switch_mips_unix.h" /* Linux/MIPS */ #include "platform/switch_mips_unix.h" /* Linux/MIPS */
@ -61,5 +61,5 @@ index b5e8eb6..1766e16 100644
#include "platform/switch_aarch64_gcc.h" /* Aarch64 ABI */ #include "platform/switch_aarch64_gcc.h" /* Aarch64 ABI */
#elif defined(__GNUC__) && defined(__mc68000__) #elif defined(__GNUC__) && defined(__mc68000__)
-- --
2.27.0 2.33.0

Binary file not shown.

BIN
greenlet-2.0.2.tar.gz Normal file

Binary file not shown.

View File

@ -1,10 +1,10 @@
Name: python-greenlet Name: python-greenlet
Version: 1.1.2 Version: 2.0.2
Release: 2 Release: 1
Summary: lightweight coroutines for in-process concurrent programming Summary: lightweight coroutines for in-process concurrent programming
License: Python-2.0 and MIT License: Python-2.0 and MIT
URL: https://github.com/python-greenlet/greenlet URL: https://github.com/python-greenlet/greenlet
Source0: https://files.pythonhosted.org/packages/0c/10/754e21b5bea89d0e73f99d60c83754df7cc64db74f47d98ab187669ce341/greenlet-1.1.2.tar.gz Source0: %{pypi_source greenlet}
Patch0: 0001-add-loongarch64-architecture-support.patch Patch0: 0001-add-loongarch64-architecture-support.patch
@ -65,6 +65,9 @@ that use python3-greenlet.
%{_includedir}/python%{python3_version}*/greenlet/ %{_includedir}/python%{python3_version}*/greenlet/
%changelog %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 * Thu Nov 17 2022 huajingyun <huajingyun@loongson.cn> - 1.1.2-2
- add loongarch64 architecture support - add loongarch64 architecture support