commit python-thrift for openSUSE:Factory

2017-08-18 Thread root
Hello community,

here is the log from the commit of package python-thrift for openSUSE:Factory 
checked in at 2017-08-18 15:04:46

Comparing /work/SRC/openSUSE:Factory/python-thrift (Old)
 and  /work/SRC/openSUSE:Factory/.python-thrift.new (New)


Package is "python-thrift"

Fri Aug 18 15:04:46 2017 rev:7 rq:517244 version:0.10.0

Changes:

--- /work/SRC/openSUSE:Factory/python-thrift/python-thrift.changes  
2016-03-02 14:21:26.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-thrift.new/python-thrift.changes 
2017-08-18 15:04:49.234634237 +0200
@@ -1,0 +2,7 @@
+Wed Aug 16 02:23:22 UTC 2017 - toddrme2...@gmail.com
+
+- Implement single-spec version
+- update to version 0.10.0:
+  * no changelog available
+
+---

Old:

  thrift-0.9.3.tar.gz

New:

  thrift-0.10.0.zip



Other differences:
--
++ python-thrift.spec ++
--- /var/tmp/diff_new_pack.HOanFB/_old  2017-08-18 15:04:51.742281055 +0200
+++ /var/tmp/diff_new_pack.HOanFB/_new  2017-08-18 15:04:51.758278802 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-thrift
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,20 +16,33 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-thrift
-Version:0.9.3
+Version:0.10.0
 Release:0
 Summary:Python bindings for the Apache Thrift RPC system
 License:Apache-2.0
 Group:  Development/Languages/Python
 Url:http://thrift.apache.org
-Source: 
http://pypi.python.org/packages/source/t/thrift/thrift-%{version}.tar.gz
+Source: 
https://files.pythonhosted.org/packages/source/t/thrift/thrift-%{version}.zip
 BuildRequires:  fdupes
-BuildRequires:  python-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%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)")}
+BuildRequires:  c++_compiler
+BuildRequires:  python-rpm-macros
+BuildRequires:  unzip
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+%ifpython2
+Recommends: python-backports.ssl_match_hostname
 %endif
+%ifpython3
+%if %{python3_version_nodots} < 35
+Recommends: python-backports.ssl_match_hostname
+%endif
+%endif
+Recommends: python-tornado >= 4.0
+Recommends: python-twisted
+
+%python_subpackages
 
 %description
 Thrift Python Software Library
@@ -45,15 +58,16 @@
 %setup -q -n thrift-%{version}
 
 %build
-CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
+export CFLAGS="%{optflags} -fno-strict-aliasing"
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-%fdupes %{buildroot}%{python_sitearch}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitearch}
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
-%{python_sitearch}/thrift-%{version}-py%{py_ver}.egg-info
-%{python_sitearch}/thrift
+%{python_sitearch}/thrift/
+%{python_sitearch}/thrift-%{version}-py*.egg-info
 
 %changelog




commit python-thrift for openSUSE:Factory

2016-03-02 Thread h_root
Hello community,

here is the log from the commit of package python-thrift for openSUSE:Factory 
checked in at 2016-03-02 14:21:25

Comparing /work/SRC/openSUSE:Factory/python-thrift (Old)
 and  /work/SRC/openSUSE:Factory/.python-thrift.new (New)


Package is "python-thrift"

Changes:

--- /work/SRC/openSUSE:Factory/python-thrift/python-thrift.changes  
2015-05-18 22:34:49.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-thrift.new/python-thrift.changes 
2016-03-02 14:21:26.0 +0100
@@ -1,0 +2,6 @@
+Thu Feb 18 13:55:02 UTC 2016 - eshmar...@suse.com
+
+- update to version 0.9.3:
+  * no changelog available
+
+---

Old:

  thrift-0.9.2.tar.gz

New:

  thrift-0.9.3.tar.gz



Other differences:
--
++ python-thrift.spec ++
--- /var/tmp/diff_new_pack.di9VwU/_old  2016-03-02 14:21:27.0 +0100
+++ /var/tmp/diff_new_pack.di9VwU/_new  2016-03-02 14:21:27.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-thrift
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   python-thrift
-Version:0.9.2
+Version:0.9.3
 Release:0
 Summary:Python bindings for the Apache Thrift RPC system
 License:Apache-2.0

++ thrift-0.9.2.tar.gz -> thrift-0.9.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/thrift-0.9.2/PKG-INFO new/thrift-0.9.3/PKG-INFO
--- old/thrift-0.9.2/PKG-INFO   2014-11-18 04:29:47.0 +0100
+++ new/thrift-0.9.3/PKG-INFO   2015-10-12 03:34:44.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: thrift
-Version: 0.9.2
+Version: 0.9.3
 Summary: Python bindings for the Apache Thrift RPC system
 Home-page: http://thrift.apache.org
 Author: Thrift Developers
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/thrift-0.9.2/setup.py new/thrift-0.9.3/setup.py
--- old/thrift-0.9.2/setup.py   2014-11-18 04:28:47.0 +0100
+++ new/thrift-0.9.3/setup.py   2015-10-12 03:34:22.0 +0200
@@ -71,7 +71,7 @@
 extensions = dict()
 
 setup(name = 'thrift',
-version = '0.9.2',
+version = '0.9.3',
 description = 'Python bindings for the Apache Thrift RPC system',
 author = 'Thrift Developers',
 author_email = 'd...@thrift.apache.org',
@@ -102,7 +102,7 @@
 except BuildFailed:
 print()
 print('*' * 80)
-print("An error occured while trying to compile with the C extension 
enabled")
+print("An error occurred while trying to compile with the C extension 
enabled")
 print("Attempting to build without the extension now")
 print('*' * 80)
 print()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/thrift-0.9.2/src/protocol/fastbinary.c 
new/thrift-0.9.3/src/protocol/fastbinary.c
--- old/thrift-0.9.2/src/protocol/fastbinary.c  2014-11-05 02:50:31.0 
+0100
+++ new/thrift-0.9.3/src/protocol/fastbinary.c  2015-07-21 06:54:48.0 
+0200
@@ -32,7 +32,7 @@
 # if defined(_MSC_VER) && _MSC_VER < 1600
typedef int _Bool;
 #  define bool _Bool
-#  define false 0 
+#  define false 0
 #  define true 1
 # endif
 # define inline __inline
@@ -197,6 +197,21 @@
   return true;
 }
 
+#define MAX_LIST_SIZE (1)
+
+static inline bool
+check_list_length(Py_ssize_t len) {
+  // error from getting the int
+  if (INT_CONV_ERROR_OCCURRED(len)) {
+return false;
+  }
+  if (!CHECK_RANGE(len, 0, MAX_LIST_SIZE)) {
+PyErr_SetString(PyExc_OverflowError, "list size out of the sanity limit 
(1 items max)");
+return false;
+  }
+  return true;
+}
+
 static inline bool
 parse_pyint(PyObject* o, int32_t* ret, int32_t min, int32_t max) {
   long val = PyInt_AsLong(o);
@@ -332,7 +347,7 @@
 }
 
 
-/* --- MAIN RECURSIVE OUTPUT FUCNTION -- */
+/* --- MAIN RECURSIVE OUTPUT FUNCTION -- */
 
 static int
 output_val(PyObject* output, PyObject* value, TType type, PyObject* typeargs) {
@@ -936,7 +951,7 @@
 }
 
 
-/* --- MAIN RECURSIVE INPUT FUCNTION --- */
+/* --- MAIN RECURSIVE INPUT FUNCTION --- */
 
 // Returns a new reference.
 static PyObject*
@@ -1028,7 +1043,7 @@
 }
 
 len = readI32(input);
-if (!check_ssize_t_32(len)) {
+if (!check_list_length(len)) {
   return NULL;
 }
 
@@ -1164,7 +1179,7 @@
   PyObject* typeargs = NULL;
   StructTypeArgs parsedargs;
   DecodeBuffer input = {0, 0};
-  
+
   if 

commit python-thrift for openSUSE:Factory

2015-05-18 Thread h_root
Hello community,

here is the log from the commit of package python-thrift for openSUSE:Factory 
checked in at 2015-05-18 22:34:47

Comparing /work/SRC/openSUSE:Factory/python-thrift (Old)
 and  /work/SRC/openSUSE:Factory/.python-thrift.new (New)


Package is python-thrift

Changes:

--- /work/SRC/openSUSE:Factory/python-thrift/python-thrift.changes  
2013-10-30 15:51:02.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-thrift.new/python-thrift.changes 
2015-05-18 22:34:49.0 +0200
@@ -1,0 +2,7 @@
+Thu May 14 09:49:48 UTC 2015 - benoit.mo...@gmx.fr
+
+- update to version 0.9.2:
+  * no changelog available
+- remove README from package: not provided anymore
+
+---

Old:

  thrift-0.9.1.tar.gz

New:

  thrift-0.9.2.tar.gz



Other differences:
--
++ python-thrift.spec ++
--- /var/tmp/diff_new_pack.M2cCJH/_old  2015-05-18 22:34:51.0 +0200
+++ /var/tmp/diff_new_pack.M2cCJH/_new  2015-05-18 22:34:51.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-thrift
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   python-thrift
-Version:0.9.1
+Version:0.9.2
 Release:0
 Summary:Python bindings for the Apache Thrift RPC system
 License:Apache-2.0
@@ -53,7 +53,6 @@
 
 %files
 %defattr(-,root,root,-)
-%doc README
 %{python_sitearch}/thrift-%{version}-py%{py_ver}.egg-info
 %{python_sitearch}/thrift
 

++ thrift-0.9.1.tar.gz - thrift-0.9.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/thrift-0.9.1/PKG-INFO new/thrift-0.9.2/PKG-INFO
--- old/thrift-0.9.1/PKG-INFO   2013-08-18 22:52:09.0 +0200
+++ new/thrift-0.9.2/PKG-INFO   2014-11-18 04:29:47.0 +0100
@@ -1,10 +1,10 @@
 Metadata-Version: 1.1
 Name: thrift
-Version: 0.9.1
+Version: 0.9.2
 Summary: Python bindings for the Apache Thrift RPC system
 Home-page: http://thrift.apache.org
-Author: ['Thrift Developers']
-Author-email: ['d...@thrift.apache.org']
+Author: Thrift Developers
+Author-email: d...@thrift.apache.org
 License: Apache License 2.0
 Description: UNKNOWN
 Platform: UNKNOWN
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/thrift-0.9.1/README new/thrift-0.9.2/README
--- old/thrift-0.9.1/README 2013-08-15 16:04:29.0 +0200
+++ new/thrift-0.9.2/README 1970-01-01 01:00:00.0 +0100
@@ -1,35 +0,0 @@
-Thrift Python Software Library
-
-License
-===
-
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-License); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
-
-Using Thrift with Python
-
-
-Thrift is provided as a set of Python packages. The top level package is
-thrift, and there are subpackages for the protocol, transport, and server
-code. Each package contains modules using standard Thrift naming conventions
-(i.e. TProtocol, TTransport) and implementations in corresponding modules
-(i.e. TSocket).  There is also a subpackage reflection, which contains
-the generated code for the reflection structures.
-
-The Python libraries can be installed manually using the provided setup.py
-file, or automatically using the install hook provided via autoconf/automake.
-To use the latter, become superuser and do make install.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/thrift-0.9.1/setup.cfg new/thrift-0.9.2/setup.cfg
--- old/thrift-0.9.1/setup.cfg  2013-08-18 22:52:09.0 +0200
+++ new/thrift-0.9.2/setup.cfg  2014-11-18 04:29:47.0 +0100
@@ -1,6 +1,9 @@
 [install]
 optimize = 1
 
+[metadata]
+description-file = README.md
+
 [egg_info]
 tag_build = 
 tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 

commit python-thrift for openSUSE:Factory

2013-10-30 Thread h_root
Hello community,

here is the log from the commit of package python-thrift for openSUSE:Factory 
checked in at 2013-10-30 15:51:01

Comparing /work/SRC/openSUSE:Factory/python-thrift (Old)
 and  /work/SRC/openSUSE:Factory/.python-thrift.new (New)


Package is python-thrift

Changes:

--- /work/SRC/openSUSE:Factory/python-thrift/python-thrift.changes  
2013-03-14 15:36:30.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-thrift.new/python-thrift.changes 
2013-10-30 15:51:02.0 +0100
@@ -1,0 +2,6 @@
+Tue Oct 29 12:37:59 UTC 2013 - speili...@suse.com
+
+- Update to version 0.9.1:
+  + No changelog
+
+---

Old:

  thrift-0.9.0.tar.gz

New:

  thrift-0.9.1.tar.gz



Other differences:
--
++ python-thrift.spec ++
--- /var/tmp/diff_new_pack.s9HitX/_old  2013-10-30 15:51:03.0 +0100
+++ /var/tmp/diff_new_pack.s9HitX/_new  2013-10-30 15:51:03.0 +0100
@@ -13,16 +13,18 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
 Name:   python-thrift
-Version:0.9.0
+Version:0.9.1
 Release:0
-License:Apache-2.0
 Summary:Python bindings for the Apache Thrift RPC system
-Url:http://thrift.apache.org
+License:Apache-2.0
 Group:  Development/Languages/Python
+Url:http://thrift.apache.org
 Source: 
http://pypi.python.org/packages/source/t/thrift/thrift-%{version}.tar.gz
+BuildRequires:  fdupes
 BuildRequires:  python-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}  0%{?suse_version} = 1110
@@ -47,10 +49,12 @@
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%fdupes %{buildroot}%{python_sitearch}
 
 %files
 %defattr(-,root,root,-)
 %doc README
-%{python_sitearch}/*
+%{python_sitearch}/thrift-%{version}-py%{py_ver}.egg-info
+%{python_sitearch}/thrift
 
 %changelog

++ thrift-0.9.0.tar.gz - thrift-0.9.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/thrift-0.9.0/Makefile.am new/thrift-0.9.1/Makefile.am
--- old/thrift-0.9.0/Makefile.am2012-10-16 03:55:02.0 +0200
+++ new/thrift-0.9.1/Makefile.am1970-01-01 01:00:00.0 +0100
@@ -1,36 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# License); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-DESTDIR ?= /
-EXTRA_DIST = setup.py setup.cfg src compat
-
-all-local:
-   $(PYTHON) setup.py build
-
-# We're ignoring prefix here because site-packages seems to be
-# the equivalent of /usr/local/lib in Python land.
-# Old version (can't put inline because it's not portable).
-#$(PYTHON) setup.py install --prefix=$(prefix) --root=$(DESTDIR) 
$(PYTHON_SETUPUTIL_ARGS)
-install-exec-hook:
-   $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(PY_PREFIX) 
$(PYTHON_SETUPUTIL_ARGS)
-
-clean-local:
-   $(RM) -r build
-
-check-local: all
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/thrift-0.9.0/PKG-INFO new/thrift-0.9.1/PKG-INFO
--- old/thrift-0.9.0/PKG-INFO   2012-10-16 05:07:54.0 +0200
+++ new/thrift-0.9.1/PKG-INFO   2013-08-18 22:52:09.0 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.0
+Metadata-Version: 1.1
 Name: thrift
-Version: 0.9.0
+Version: 0.9.1
 Summary: Python bindings for the Apache Thrift RPC system
 Home-page: http://thrift.apache.org
 Author: ['Thrift Developers']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/thrift-0.9.0/compat/win32/stdint.h 
new/thrift-0.9.1/compat/win32/stdint.h
--- old/thrift-0.9.0/compat/win32/stdint.h  2012-10-16 03:55:02.0 
+0200
+++ new/thrift-0.9.1/compat/win32/stdint.h  1970-01-01 01:00:00.0 
+0100
@@ -1,247 +0,0 @@
-// ISO C9x  compliant stdint.h for Microsoft Visual Studio
-// Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124 
-// 
-//