commit python-greenlet for openSUSE:Factory
Hello community, here is the log from the commit of package python-greenlet for openSUSE:Factory checked in at 2018-09-26 16:00:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-greenlet (Old) and /work/SRC/openSUSE:Factory/.python-greenlet.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-greenlet" Wed Sep 26 16:00:01 2018 rev:32 rq:636119 version:0.4.15 Changes: -------- --- /work/SRC/openSUSE:Factory/python-greenlet/python-greenlet.changes 2018-08-10 09:47:15.542026679 +0200 +++ /work/SRC/openSUSE:Factory/.python-greenlet.new/python-greenlet.changes 2018-09-26 16:00:06.640630438 +0200 @@ -1,0 +2,11 @@ +Sun Sep 16 15:31:38 UTC 2018 - Arun Persaud <arun@gmx.de> + +- specfile: + * update copyright year + * be more specific in %files section + +- update to version 0.4.15: + * Support for RISC-V architecture + * Workaround a gcc bug on ppc64 + +------------------------------------------------------------------- Old: ---- greenlet-0.4.14.tar.gz New: ---- greenlet-0.4.15.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-greenlet.spec ++++++ --- /var/tmp/diff_new_pack.c8y7mw/_old 2018-09-26 16:00:08.944626434 +0200 +++ /var/tmp/diff_new_pack.c8y7mw/_new 2018-09-26 16:00:08.952626420 +0200 @@ -13,26 +13,25 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-greenlet -Version: 0.4.14 +Version: 0.4.15 Release: 0 Summary: Lightweight in-process concurrent programming License: MIT Group: Development/Libraries/Python -Url: https://github.com/python-greenlet/greenlet +URL: https://github.com/python-greenlet/greenlet Source0: https://files.pythonhosted.org/packages/source/g/greenlet/greenlet-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} -BuildRequires: fdupes BuildRequires: c++_compiler +BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python3-Sphinx - %python_subpackages %description @@ -70,7 +69,7 @@ %doc AUTHORS NEWS README.rst %doc doc/_build/html/ %license LICENSE* -%{python_sitearch}/* +%{python_sitearch}/greenlet* %files %{python_files devel} %doc AUTHORS ++++++ greenlet-0.4.14.tar.gz -> greenlet-0.4.15.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/greenlet-0.4.14/MANIFEST.in new/greenlet-0.4.15/MANIFEST.in --- old/greenlet-0.4.14/MANIFEST.in 2018-07-17 20:34:31.000000000 +0200 +++ new/greenlet-0.4.15/MANIFEST.in 2018-09-08 00:06:28.000000000 +0200 @@ -33,6 +33,7 @@ include platform/switch_ppc_linux.h include platform/switch_ppc_macosx.h include platform/switch_ppc_unix.h +include platform/switch_riscv_unix.h include platform/switch_s390_unix.h include platform/switch_sparc_sun_gcc.h include platform/switch_x32_unix.h diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/greenlet-0.4.14/NEWS new/greenlet-0.4.15/NEWS --- old/greenlet-0.4.14/NEWS 2018-07-17 20:48:49.000000000 +0200 +++ new/greenlet-0.4.15/NEWS 2018-09-08 00:02:12.000000000 +0200 @@ -1,3 +1,8 @@ +0.4.15 +=========== +- Support for RISC-V architecture +- Workaround a gcc bug on ppc64 + 0.4.14 ====== - Support for C-SKY architecture diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/greenlet-0.4.14/PKG-INFO new/greenlet-0.4.15/PKG-INFO --- old/greenlet-0.4.14/PKG-INFO 2018-07-17 20:51:27.000000000 +0200 +++ new/greenlet-0.4.15/PKG-INFO 2018-09-08 00:09:54.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: greenlet -Version: 0.4.14 +Version: 0.4.15 Summary: Lightweight in-process concurrent programming Home-page: https://github.com/python-greenlet/greenlet Author: Alexey Borzenkov diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/greenlet-0.4.14/appveyor.yml new/greenlet-0.4.15/appveyor.yml --- old/greenlet-0.4.14/appveyor.yml 2018-07-17 20:48:49.000000000 +0200 +++ new/greenlet-0.4.15/appveyor.yml 2018-07-23 20:03:26.000000000 +0200 @@ -1,4 +1,4 @@ -version: 0.4.14.{build} +version: 0.4.15.{build} environment: global: # SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/greenlet-0.4.14/greenlet.h new/greenlet-0.4.15/greenlet.h --- old/greenlet-0.4.14/greenlet.h 2018-07-17 20:48:49.000000000 +0200 +++ new/greenlet-0.4.15/greenlet.h 2018-09-08 00:02:36.000000000 +0200 @@ -11,7 +11,7 @@ extern "C" { #endif -#define GREENLET_VERSION "0.4.14" +#define GREENLET_VERSION "0.4.15" #if PY_VERSION_HEX >= 0x030700A3 # define GREENLET_USE_EXC_INFO diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/greenlet-0.4.14/platform/switch_ppc64_linux.h new/greenlet-0.4.15/platform/switch_ppc64_linux.h --- old/greenlet-0.4.14/platform/switch_ppc64_linux.h 2018-06-28 21:43:26.000000000 +0200 +++ new/greenlet-0.4.15/platform/switch_ppc64_linux.h 2018-09-04 22:29:38.000000000 +0200 @@ -2,6 +2,8 @@ * this is the internal transfer function. * * HISTORY + * 04-Sep-18 Alexey Borzenkov <snaury@gmail.com> + * Workaround a gcc bug using manual save/restore of r30 * 21-Mar-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> * Added r30 to the list of saved registers in order to fully comply with * both ppc64 ELFv1 ABI and the ppc64le ELFv2 ABI, that classify this @@ -64,7 +66,7 @@ #define REGS_TO_SAVE "r14", "r15", "r16", "r17", "r18", "r19", "r20", \ "r21", "r22", "r23", "r24", "r25", "r26", "r27", "r28", "r29", \ - "r30","r31", \ + "r31", \ "fr14", "fr15", "fr16", "fr17", "fr18", "fr19", "fr20", "fr21", \ "fr22", "fr23", "fr24", "fr25", "fr26", "fr27", "fr28", "fr29", \ "fr30", "fr31", \ @@ -77,8 +79,10 @@ register int err; register long *stackref, stsizediff; void * toc; + void * r30; __asm__ volatile ("" : : : REGS_TO_SAVE); __asm__ volatile ("std 2, %0" : "=m" (toc)); + __asm__ volatile ("std 30, %0" : "=m" (r30)); __asm__ ("mr %0, 1" : "=r" (stackref) : ); { SLP_SAVE_STATE(stackref, stsizediff); @@ -91,6 +95,7 @@ ); SLP_RESTORE_STATE(); } + __asm__ volatile ("ld 30, %0" : : "m" (r30)); __asm__ volatile ("ld 2, %0" : : "m" (toc)); __asm__ volatile ("" : : : REGS_TO_SAVE); __asm__ volatile ("li %0, 0" : "=r" (err)); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/greenlet-0.4.14/platform/switch_riscv_unix.h new/greenlet-0.4.15/platform/switch_riscv_unix.h --- old/greenlet-0.4.14/platform/switch_riscv_unix.h 1970-01-01 01:00:00.000000000 +0100 +++ new/greenlet-0.4.15/platform/switch_riscv_unix.h 2018-07-23 20:02:45.000000000 +0200 @@ -0,0 +1,32 @@ +#define STACK_REFPLUS 1 + +#ifdef SLP_EVAL +#define STACK_MAGIC 0 + +#define REGS_TO_SAVE "s0", "s1", "s2", "s3", "s4", "s5", \ + "s6", "s7", "s8", "s9", "s10", "s11", "fs0", "fs1", \ + "fs2", "fs3", "fs4", "fs5", "fs6", "fs7", "fs8", "fs9", \ + "fs10", "fs11" + +static int +slp_switch(void) +{ + register int ret; + register long *stackref, stsizediff; + __asm__ volatile ("" : : : REGS_TO_SAVE); + __asm__ volatile ("mv %0, sp" : "=r" (stackref) : ); + { + SLP_SAVE_STATE(stackref, stsizediff); + __asm__ volatile ( + "add sp, sp, %0\n\t" + : /* no outputs */ + : "r" (stsizediff) + ); + SLP_RESTORE_STATE(); + } + __asm__ volatile ("" : : : REGS_TO_SAVE); + __asm__ volatile ("mv %0, zero" : "=r" (ret) : ); + return ret; +} + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/greenlet-0.4.14/setup.py new/greenlet-0.4.15/setup.py --- old/greenlet-0.4.14/setup.py 2018-07-17 20:48:49.000000000 +0200 +++ new/greenlet-0.4.15/setup.py 2018-09-08 00:02:18.000000000 +0200 @@ -70,7 +70,7 @@ setup( name="greenlet", - version='0.4.14', + version='0.4.15', description='Lightweight in-process concurrent programming', long_description=readfile("README.rst"), maintainer="Alexey Borzenkov", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/greenlet-0.4.14/slp_platformselect.h new/greenlet-0.4.15/slp_platformselect.h --- old/greenlet-0.4.14/slp_platformselect.h 2018-06-28 21:43:26.000000000 +0200 +++ new/greenlet-0.4.15/slp_platformselect.h 2018-07-23 20:02:45.000000000 +0200 @@ -49,4 +49,6 @@ #include "platform/switch_m68k_gcc.h" /* gcc on m68k */ #elif defined(__GNUC__) && defined(__csky__) #include "platform/switch_csky_gcc.h" /* gcc on csky */ +#elif defined(__GNUC__) && defined(__riscv) +#include "platform/switch_riscv_unix.h" /* gcc on RISC-V */ #endif
participants (1)
-
root