Hello community,

here is the log from the commit of package python-greenlet for openSUSE:Factory 
checked in at 2017-04-28 15:02:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-greenlet (Old)
 and      /work/SRC/openSUSE:Factory/.python-greenlet.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-greenlet"

Fri Apr 28 15:02:53 2017 rev:29 rq:489401 version:0.4.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-greenlet/python-greenlet.changes  
2016-09-16 11:00:28.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-greenlet.new/python-greenlet.changes     
2017-04-28 15:02:54.955275280 +0200
@@ -1,0 +2,9 @@
+Wed Apr 19 17:46:25 UTC 2017 - [email protected]
+
+- Update to 0.4.12
+  * Stop using trashcan api
+- Update to 0.4.11
+  * Fixes for aarch64 architecture
+- Implement singlespec version
+
+-------------------------------------------------------------------

Old:
----
  greenlet-0.4.10.tar.gz

New:
----
  greenlet-0.4.12.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-greenlet.spec ++++++
--- /var/tmp/diff_new_pack.827T4p/_old  2017-04-28 15:02:56.379074326 +0200
+++ /var/tmp/diff_new_pack.827T4p/_new  2017-04-28 15:02:56.383073762 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-greenlet
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2010 B1 Systems GmbH, Vohburg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,22 +17,25 @@
 #
 
 
+%bcond_without test
+
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-greenlet
-Version:        0.4.10
+Version:        0.4.12
 Release:        0
 Url:            http://pypi.python.org/pypi/greenlet
 Summary:        Lightweight in-process concurrent programming
 License:        MIT
 Group:          Development/Libraries/Python
-Source0:        
https://pypi.io/packages/source/g/greenlet/greenlet-%{version}.tar.gz
+Source0:        
https://files.pythonhosted.org/packages/source/g/greenlet/greenlet-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  gcc-c++
-BuildRequires:  python-Sphinx
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitearch: %global python_sitearch %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-%endif
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python3-Sphinx
+%python_subpackages
 
 %description
 The greenlet package is a spin-off of Stackless, a version of CPython
@@ -44,9 +47,7 @@
 Summary:        C development headers for python-greenlet
 Group:          Development/Libraries/Python
 Requires:       %{name} = %{version}
-%if 0%{?suse_version} && 0%{?suse_version} > 1110
 BuildArch:      noarch
-%endif
 
 %description devel
 This package contains header files required for C modules development.
@@ -55,22 +56,29 @@
 %setup -q -n greenlet-%{version}
 
 %build
-CFLAGS="%{optflags} -fno-tree-dominator-opts -fno-strict-aliasing" python 
setup.py build
+export CFLAGS="%{optflags} -fno-tree-dominator-opts -fno-strict-aliasing"
+%python_build
 cd doc && make html && rm _build/html/.buildinfo
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitearch}
 
+%if %{with test}
 %check
-CFLAGS="%{optflags} -fno-tree-dominator-opts -fno-strict-aliasing" python 
setup.py -q test
+export CFLAGS="%{optflags} -fno-tree-dominator-opts -fno-strict-aliasing"
+%python_exec setup.py -q test
+%endif
 
-%files
+%files %{python_files}
 %defattr(-,root,root)
-%doc AUTHORS NEWS README.rst LICENSE* doc/_build/html
+%doc AUTHORS NEWS README.rst LICENSE*
+%doc doc/_build/html/
 %{python_sitearch}/*
 
-%files devel
+%files  %{python_files devel}
 %defattr(-,root,root,-)
-%{_includedir}/python*/greenlet
+%doc AUTHORS LICENSE*
+%{_includedir}/python%{python_version}*/greenlet/
 
 %changelog

++++++ greenlet-0.4.10.tar.gz -> greenlet-0.4.12.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/greenlet-0.4.10/.travis.yml 
new/greenlet-0.4.12/.travis.yml
--- old/greenlet-0.4.10/.travis.yml     2016-04-02 20:26:46.000000000 +0200
+++ new/greenlet-0.4.12/.travis.yml     2017-01-06 11:34:06.000000000 +0100
@@ -8,6 +8,7 @@
   - 3.3
   - 3.4
   - 3.5
+  - 3.6
 
 install: python setup.py build_ext -i
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/greenlet-0.4.10/AUTHORS new/greenlet-0.4.12/AUTHORS
--- old/greenlet-0.4.10/AUTHORS 2015-08-18 08:42:07.000000000 +0200
+++ new/greenlet-0.4.12/AUTHORS 2016-12-11 00:52:06.000000000 +0100
@@ -19,6 +19,7 @@
 * Donovan Preston
 * Fantix King
 * Floris Bruynooghe
+* Fredrik Fornwall
 * Gerd Woetzel
 * Giel van Schijndel
 * Gustavo Niemeyer
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/greenlet-0.4.10/MANIFEST.in 
new/greenlet-0.4.12/MANIFEST.in
--- old/greenlet-0.4.10/MANIFEST.in     2016-06-11 20:39:14.000000000 +0200
+++ new/greenlet-0.4.12/MANIFEST.in     2017-01-06 12:01:57.000000000 +0100
@@ -6,6 +6,7 @@
 include NEWS
 include README.rst
 include appveyor.yml
+include appveyor/run_pip.py
 include appveyor/run_with_env.cmd
 include benchmarks/chain.py
 include conftest.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/greenlet-0.4.10/NEWS new/greenlet-0.4.12/NEWS
--- old/greenlet-0.4.10/NEWS    2016-06-11 19:23:58.000000000 +0200
+++ new/greenlet-0.4.12/NEWS    2017-02-01 20:46:01.000000000 +0100
@@ -1,3 +1,11 @@
+0.4.12
+======
+- Stop using trashcan api
+
+0.4.11
+======
+- Fixes for aarch64 architecture
+
 0.4.10
 ======
 - Added missing files to manifest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/greenlet-0.4.10/PKG-INFO new/greenlet-0.4.12/PKG-INFO
--- old/greenlet-0.4.10/PKG-INFO        2016-06-11 20:39:23.000000000 +0200
+++ new/greenlet-0.4.12/PKG-INFO        2017-02-01 20:48:54.000000000 +0100
@@ -1,13 +1,13 @@
-Metadata-Version: 1.0
+Metadata-Version: 1.1
 Name: greenlet
-Version: 0.4.10
+Version: 0.4.12
 Summary: Lightweight in-process concurrent programming
 Home-page: https://github.com/python-greenlet/greenlet
 Author: Alexey Borzenkov
 Author-email: [email protected]
 License: MIT License
 Description: .. image:: 
https://secure.travis-ci.org/python-greenlet/greenlet.png
-        :target: http://travis-ci.org/python-greenlet/greenlet
+           :target: http://travis-ci.org/python-greenlet/greenlet
         
         The greenlet package is a spin-off of Stackless, a version of CPython
         that supports micro-threads called "tasklets". Tasklets run
@@ -37,9 +37,9 @@
         There are several libraries that use Greenlet as a more flexible
         alternative to Python's built in coroutine support:
         
-        - `Concurrence`_
-        - `Eventlet`_
-        - `Gevent`_
+         - `Concurrence`_
+         - `Eventlet`_
+         - `Gevent`_
         
         .. _Concurrence: http://opensource.hyves.org/concurrence/
         .. _Eventlet: http://eventlet.net/
@@ -51,8 +51,8 @@
         The easiest way to get Greenlet is to install it with pip or
         easy_install::
         
-        pip install greenlet
-        easy_install greenlet
+          pip install greenlet
+          easy_install greenlet
         
         
         Source code archives and windows installers are available on the
@@ -82,5 +82,6 @@
 Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
 Classifier: Operating System :: OS Independent
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/greenlet-0.4.10/appveyor/run_pip.py 
new/greenlet-0.4.12/appveyor/run_pip.py
--- old/greenlet-0.4.10/appveyor/run_pip.py     1970-01-01 01:00:00.000000000 
+0100
+++ new/greenlet-0.4.12/appveyor/run_pip.py     2016-12-11 00:52:06.000000000 
+0100
@@ -0,0 +1,6 @@
+# -*- coding: utf-8 -*-
+import sys
+from pip import main
+
+if __name__ == '__main__':
+    sys.exit(main())
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/greenlet-0.4.10/appveyor.yml 
new/greenlet-0.4.12/appveyor.yml
--- old/greenlet-0.4.10/appveyor.yml    2016-06-11 14:37:49.000000000 +0200
+++ new/greenlet-0.4.12/appveyor.yml    2017-02-01 20:45:05.000000000 +0100
@@ -1,4 +1,4 @@
-version: 0.4.10.{build}
+version: 0.4.12.{build}
 environment:
   global:
     # SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
@@ -48,16 +48,21 @@
       PYTHON_ARCH: "64"
       PYTHON_VERSION: "3.5.x"
 
+    - PYTHON_ROOT: "C:\\Python36"
+      PYTHON_ARCH: "32"
+      PYTHON_VERSION: "3.6.x"
+
+    - PYTHON_ROOT: "C:\\Python36-x64"
+      PYTHON_ARCH: "64"
+      PYTHON_VERSION: "3.6.x"
+
 install:
   - "SET PATH=%PYTHON_ROOT%;%PYTHON_ROOT%\\Scripts;%PATH%"
   - "python --version"
   - "python -c \"import struct; print(struct.calcsize('P') * 8)\""
 
-  # Copy current pip.exe away, so the file is not locked on upgrade
-  - "copy %PYTHON_ROOT%\\Scripts\\pip.exe %PYTHON_ROOT%\\Scripts\\pip-old.exe"
-
   # Upgrade pip to the latest version
-  - "pip-old install --disable-pip-version-check --upgrade pip"
+  - "python appveyor\\run_pip.py install --disable-pip-version-check --upgrade 
pip"
 
   # Install requirements for running tests and building artifacts
   - "%CMD_IN_ENV% pip install --upgrade -r dev-requirements.txt"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/greenlet-0.4.10/greenlet.c 
new/greenlet-0.4.12/greenlet.c
--- old/greenlet-0.4.10/greenlet.c      2015-05-31 15:02:31.000000000 +0200
+++ new/greenlet-0.4.12/greenlet.c      2017-02-01 20:43:08.000000000 +0100
@@ -957,10 +957,14 @@
 }
 #endif
 
-static void green_dealloc_safe(PyGreenlet* self)
+static void green_dealloc(PyGreenlet* self)
 {
        PyObject *error_type, *error_value, *error_traceback;
 
+#if GREENLET_USE_GC
+       PyObject_GC_UnTrack(self);
+#endif
+
        if (PyGreenlet_ACTIVE(self) && self->run_info != NULL && 
!PyGreenlet_MAIN(self)) {
                /* Hacks hacks hacks copied from instance_dealloc() */
                /* Temporarily resurrect the greenlet. */
@@ -1021,23 +1025,6 @@
        Py_TYPE(self)->tp_free((PyObject*) self);
 }
 
-#if GREENLET_USE_GC
-static void green_dealloc(PyGreenlet* self)
-{
-       PyObject_GC_UnTrack((PyObject *)self);
-       if (PyObject_IS_GC((PyObject *)self)) {
-               Py_TRASHCAN_SAFE_BEGIN(self);
-               green_dealloc_safe(self);
-               Py_TRASHCAN_SAFE_END(self);
-       } else {
-               /* This object cannot be garbage collected, so trashcan is not 
allowed */
-               green_dealloc_safe(self);
-       }
-}
-#else
-#define green_dealloc green_dealloc_safe
-#endif
-
 static PyObject* single_result(PyObject* results)
 {
        if (results != NULL && PyTuple_Check(results) &&
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/greenlet-0.4.10/greenlet.h 
new/greenlet-0.4.12/greenlet.h
--- old/greenlet-0.4.10/greenlet.h      2016-06-11 19:28:00.000000000 +0200
+++ new/greenlet-0.4.12/greenlet.h      2017-02-01 20:45:11.000000000 +0100
@@ -11,7 +11,7 @@
 extern "C" {
 #endif
 
-#define GREENLET_VERSION "0.4.10"
+#define GREENLET_VERSION "0.4.12"
 
 typedef struct _greenlet {
        PyObject_HEAD
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/greenlet-0.4.10/make-manylinux 
new/greenlet-0.4.12/make-manylinux
--- old/greenlet-0.4.10/make-manylinux  2016-04-02 20:27:10.000000000 +0200
+++ new/greenlet-0.4.12/make-manylinux  2016-12-11 00:52:06.000000000 +0100
@@ -1,15 +1,19 @@
 #!/bin/bash
 set -e
+export PYTHONUNBUFFERED=1
+export PYTHONDONTWRITEBYTECODE=1
 
 if [ -d /greenlet -a -d /opt/python ]; then
     # Running inside docker
     cd /greenlet
-    for version in cp27-cp27mu cp34-cp34m cp35-cp35m; do
-        /opt/python/${version}/bin/pip wheel greenlet
-        auditwheel repair greenlet*${version}*.whl
-        rm greenlet*${version}*whl
+    rm -rf wheelhouse
+    for variant in /opt/python/*; do
+        rm -rf dist build *.egg-info
+        $variant/bin/python setup.py clean --all bdist_wheel
+        auditwheel repair dist/*.whl
     done
+    rm -rf dist build *.egg-info
     exit 0
 fi
 
-docker run --rm -ti -v "$(pwd):/greenlet" quay.io/pypa/manylinux1_x86_64 
/greenlet/make-manylinux
+docker run --rm -ti -v "$(pwd):/greenlet:Z" quay.io/pypa/manylinux1_x86_64 
/greenlet/$(basename $0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/greenlet-0.4.10/platform/switch_aarch64_gcc.h 
new/greenlet-0.4.12/platform/switch_aarch64_gcc.h
--- old/greenlet-0.4.10/platform/switch_aarch64_gcc.h   2015-05-31 
15:02:31.000000000 +0200
+++ new/greenlet-0.4.12/platform/switch_aarch64_gcc.h   2016-12-11 
00:52:06.000000000 +0100
@@ -2,6 +2,7 @@
  * this is the internal transfer function.
  *
  * HISTORY
+ * 07-Sep-16 Add clang support using x register naming. Fredrik Fornwall
  * 13-Apr-13 Add support for strange GCC caller-save decisions
  * 08-Apr-13 File creation. Michael Matz
  *
@@ -15,8 +16,8 @@
 
 #ifdef SLP_EVAL
 #define STACK_MAGIC 0
-#define REGS_TO_SAVE "r19", "r20", "r21", "r22", "r23", "r24", "r25", "r26", \
-                     "r27", "r28", "r30" /* aka lr */, \
+#define REGS_TO_SAVE "x19", "x20", "x21", "x22", "x23", "x24", "x25", "x26", \
+                     "x27", "x28", "x30" /* aka lr */, \
                      "v8", "v9", "v10", "v11", \
                      "v12", "v13", "v14", "v15"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/greenlet-0.4.10/setup.py new/greenlet-0.4.12/setup.py
--- old/greenlet-0.4.10/setup.py        2016-06-11 19:24:34.000000000 +0200
+++ new/greenlet-0.4.12/setup.py        2017-02-01 20:44:16.000000000 +0100
@@ -70,7 +70,7 @@
 
 setup(
     name="greenlet",
-    version='0.4.10',
+    version='0.4.12',
     description='Lightweight in-process concurrent programming',
     long_description=readfile("README.rst"),
     maintainer="Alexey Borzenkov",
@@ -99,6 +99,7 @@
         'Programming Language :: Python :: 3.3',
         'Programming Language :: Python :: 3.4',
         'Programming Language :: Python :: 3.5',
+        'Programming Language :: Python :: 3.6',
         'Operating System :: OS Independent',
         'Topic :: Software Development :: Libraries :: Python Modules'],
     **setuptools_args)


Reply via email to