commit python-wrapt for openSUSE:Factory

2020-03-26 Thread root
Hello community,

here is the log from the commit of package python-wrapt for openSUSE:Factory 
checked in at 2020-03-27 00:26:03

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


Package is "python-wrapt"

Fri Mar 27 00:26:03 2020 rev:10 rq:785594 version:1.12.1

Changes:

--- /work/SRC/openSUSE:Factory/python-wrapt/python-wrapt.changes
2020-03-11 18:49:26.099516293 +0100
+++ /work/SRC/openSUSE:Factory/.python-wrapt.new.3160/python-wrapt.changes  
2020-03-27 00:26:06.152281274 +0100
@@ -1,0 +2,11 @@
+Mon Mar 16 11:01:55 UTC 2020 - Dirk Mueller 
+
+- update to 1.12.1:
+  * Applying a function wrapper to a static method of a class using the
+  ``wrap_function_wrapper()`` function, or wrapper for the same, wasn't
+  being done correctly when the static method was the immediate child of
+  the target object. It was working when the name path had multiple name
+  components. A failure would subsequently occur when the static method
+  was called via an instance of the class, rather than the class.
+
+---

Old:

  1.12.0.tar.gz

New:

  1.12.1.tar.gz



Other differences:
--
++ python-wrapt.spec ++
--- /var/tmp/diff_new_pack.ZQ1XIx/_old  2020-03-27 00:26:06.728281566 +0100
+++ /var/tmp/diff_new_pack.ZQ1XIx/_new  2020-03-27 00:26:06.728281566 +0100
@@ -19,7 +19,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-wrapt
-Version:1.12.0
+Version:1.12.1
 Release:0
 Summary:A Python module for decorators, wrappers and monkey patching
 License:BSD-2-Clause

++ 1.12.0.tar.gz -> 1.12.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wrapt-1.12.0/docs/changes.rst 
new/wrapt-1.12.1/docs/changes.rst
--- old/wrapt-1.12.0/docs/changes.rst   2020-02-17 00:26:17.0 +0100
+++ new/wrapt-1.12.1/docs/changes.rst   2020-03-09 03:31:25.0 +0100
@@ -1,6 +1,18 @@
 Release Notes
 =
 
+Version 1.12.1
+--
+
+**Bugs Fixed**
+
+* Applying a function wrapper to a static method of a class using the
+  ``wrap_function_wrapper()`` function, or wrapper for the same, wasn't
+  being done correctly when the static method was the immediate child of
+  the target object. It was working when the name path had multiple name
+  components. A failure would subsequently occur when the static method
+  was called via an instance of the class, rather than the class.
+
 Version 1.12.0
 --
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wrapt-1.12.0/docs/conf.py 
new/wrapt-1.12.1/docs/conf.py
--- old/wrapt-1.12.0/docs/conf.py   2020-02-17 00:26:17.0 +0100
+++ new/wrapt-1.12.1/docs/conf.py   2020-03-09 03:31:25.0 +0100
@@ -50,7 +50,7 @@
 # The short X.Y version.
 version = '1.12'
 # The full version, including alpha/beta/rc tags.
-release = '1.12.0'
+release = '1.12.1'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wrapt-1.12.0/setup.py new/wrapt-1.12.1/setup.py
--- old/wrapt-1.12.0/setup.py   2020-02-17 00:26:17.0 +0100
+++ new/wrapt-1.12.1/setup.py   2020-03-09 03:31:25.0 +0100
@@ -49,7 +49,7 @@
 
 setup_kwargs = dict(
   name='wrapt',
-  version='1.12.0',
+  version='1.12.1',
   description='Module for decorators, wrappers and monkey patching.',
   long_description=open('README.rst').read(),
   author='Graham Dumpleton',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wrapt-1.12.0/src/wrapt/__init__.py 
new/wrapt-1.12.1/src/wrapt/__init__.py
--- old/wrapt-1.12.0/src/wrapt/__init__.py  2020-02-17 00:26:17.0 
+0100
+++ new/wrapt-1.12.1/src/wrapt/__init__.py  2020-03-09 03:31:25.0 
+0100
@@ -1,4 +1,4 @@
-__version_info__ = ('1', '12', '0')
+__version_info__ = ('1', '12', '1')
 __version__ = '.'.join(__version_info__)
 
 from .wrappers import (ObjectProxy, CallableObjectProxy, FunctionWrapper,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wrapt-1.12.0/src/wrapt/decorators.py 
new/wrapt-1.12.1/src/wrapt/decorators.py
--- old/wrapt-1.12.0/src/wrapt/decorators.py2020-02-17 00:26:17.0 
+0100
+++ new/wrapt-1.12.1/src/wrapt/decorators.py2020-03-09 03:31:25.0 
+0100
@@ -6,16 +6,8 @@
 import sys
 
 PY2 = sys.version_info[0] == 2
-PY3 = sys.version_info[0] == 

commit python-wrapt for openSUSE:Factory

2020-03-11 Thread root
Hello community,

here is the log from the commit of package python-wrapt for openSUSE:Factory 
checked in at 2020-03-11 18:45:32

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


Package is "python-wrapt"

Wed Mar 11 18:45:32 2020 rev:9 rq:783021 version:1.12.0

Changes:

--- /work/SRC/openSUSE:Factory/python-wrapt/python-wrapt.changes
2019-07-30 13:04:38.402398839 +0200
+++ /work/SRC/openSUSE:Factory/.python-wrapt.new.3160/python-wrapt.changes  
2020-03-11 18:49:26.099516293 +0100
@@ -1,0 +2,17 @@
+Mon Mar  9 16:25:43 UTC 2020 - Dirk Mueller 
+
+- update to 1.12.0:
+  * Provided that you only want to support Python 3.7, when deriving from
+a base class which has a decorator applied to it, you no longer need
+to access the true type of the base class using ``__wrapped__`` in
+the inherited class list of the derived class.
+  * When using the ``synchronized`` decorator on instance methods of a
+class, if the class declared special methods to override the result for
+when the class instance was tested as a boolean so that it returned
+``False`` all the time, the synchronized method would fail when called.
+  * When using an adapter function to change the signature of the decorated

+function, ``inspect.signature()`` was returning the wrong signature
+when an instance method was inspected by accessing the method via the
+class type.
+
+---

Old:

  1.11.2.tar.gz

New:

  1.12.0.tar.gz



Other differences:
--
++ python-wrapt.spec ++
--- /var/tmp/diff_new_pack.YhHN7Z/_old  2020-03-11 18:49:26.843516626 +0100
+++ /var/tmp/diff_new_pack.YhHN7Z/_new  2020-03-11 18:49:26.851516629 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-wrapt
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2015 LISA GmbH, Bingen, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -19,7 +19,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-wrapt
-Version:1.11.2
+Version:1.12.0
 Release:0
 Summary:A Python module for decorators, wrappers and monkey patching
 License:BSD-2-Clause

++ 1.11.2.tar.gz -> 1.12.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wrapt-1.11.2/.travis.yml new/wrapt-1.12.0/.travis.yml
--- old/wrapt-1.11.2/.travis.yml2019-06-18 03:10:12.0 +0200
+++ new/wrapt-1.12.0/.travis.yml2020-02-17 00:26:17.0 +0100
@@ -17,7 +17,7 @@
 dist: xenial
 sudo: true
 env: TOX_ARGS="-e 
py37-install-extensions,py37-disable-extensions,py37-without-extensions"
-  - python: "pypy3.5"
+  - python: "pypy3"
 env: TOX_ARGS="-e pypy-without-extensions"
 install:
   - pip install tox coveralls
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wrapt-1.11.2/docs/changes.rst 
new/wrapt-1.12.0/docs/changes.rst
--- old/wrapt-1.11.2/docs/changes.rst   2019-06-18 03:10:12.0 +0200
+++ new/wrapt-1.12.0/docs/changes.rst   2020-02-17 00:26:17.0 +0100
@@ -1,8 +1,30 @@
 Release Notes
 =
 
+Version 1.12.0
+--
+
+**Features Changed**
+
+* Provided that you only want to support Python 3.7, when deriving from
+  a base class which has a decorator applied to it, you no longer need
+  to access the true type of the base class using ``__wrapped__`` in
+  the inherited class list of the derived class.
+
+**Bugs Fixed**
+
+* When using the ``synchronized`` decorator on instance methods of a
+  class, if the class declared special methods to override the result for
+  when the class instance was tested as a boolean so that it returned
+  ``False`` all the time, the synchronized method would fail when called.
+
+* When using an adapter function to change the signature of the decorated
+  function, ``inspect.signature()`` was returning the wrong signature
+  when an instance method was inspected by accessing the method via the
+  class type.
+
 Version 1.11.2

+--
 
 **Bugs Fixed**
 
@@ -10,7 +32,7 @@
   destructor of wrapped object.
 
 Version 1.11.1

+--
 
 **Bugs Fixed**
 
@@ -35,7 +57,7 @@
   should have been used.
 
 Version 1.11.0

+--
 
 **Bugs Fixed**
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wrapt-1.11.2/docs/conf.py 
new/wrapt-1.12.0/docs/conf.py
--- old/wrapt-1.11.2/docs/conf.py

commit python-wrapt for openSUSE:Factory

2019-07-30 Thread root
Hello community,

here is the log from the commit of package python-wrapt for openSUSE:Factory 
checked in at 2019-07-30 13:04:35

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


Package is "python-wrapt"

Tue Jul 30 13:04:35 2019 rev:8 rq:717552 version:1.11.2

Changes:

--- /work/SRC/openSUSE:Factory/python-wrapt/python-wrapt.changes
2019-03-12 09:46:46.239617527 +0100
+++ /work/SRC/openSUSE:Factory/.python-wrapt.new.4126/python-wrapt.changes  
2019-07-30 13:04:38.402398839 +0200
@@ -1,0 +2,6 @@
+Mon Jul 22 11:37:01 UTC 2019 - Tomáš Chvátal 
+
+- Update to 1.11.2:
+  * Fix possible crash when garbage collection kicks in when invoking a 
destructor of wrapped object.
+
+---

Old:

  1.11.1.tar.gz

New:

  1.11.2.tar.gz



Other differences:
--
++ python-wrapt.spec ++
--- /var/tmp/diff_new_pack.W8mdS9/_old  2019-07-30 13:04:38.962398719 +0200
+++ /var/tmp/diff_new_pack.W8mdS9/_new  2019-07-30 13:04:38.962398719 +0200
@@ -19,7 +19,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-wrapt
-Version:1.11.1
+Version:1.11.2
 Release:0
 Summary:A Python module for decorators, wrappers and monkey patching
 License:BSD-2-Clause

++ 1.11.1.tar.gz -> 1.11.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wrapt-1.11.1/appveyor.yml 
new/wrapt-1.11.2/appveyor.yml
--- old/wrapt-1.11.1/appveyor.yml   2019-01-19 06:37:04.0 +0100
+++ new/wrapt-1.11.2/appveyor.yml   2019-06-18 03:10:12.0 +0200
@@ -3,9 +3,6 @@
 - PYTHON: "C:\\Python27-x64"
   TOX_ENV: 
"py27-install-extensions,py27-disable-extensions,py27-without-extensions"
 
-- PYTHON: "C:\\Python34-x64"
-  TOX_ENV: 
"py34-install-extensions,py34-disable-extensions,py34-without-extensions"
-
 - PYTHON: "C:\\Python35-x64"
   TOX_ENV: 
"py35-install-extensions,py35-disable-extensions,py35-without-extensions"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wrapt-1.11.1/docs/changes.rst 
new/wrapt-1.11.2/docs/changes.rst
--- old/wrapt-1.11.1/docs/changes.rst   2019-01-19 06:37:04.0 +0100
+++ new/wrapt-1.11.2/docs/changes.rst   2019-06-18 03:10:12.0 +0200
@@ -1,6 +1,14 @@
 Release Notes
 =
 
+Version 1.11.2
+---
+
+**Bugs Fixed**
+
+* Fix possible crash when garbage collection kicks in when invoking a
+  destructor of wrapped object.
+
 Version 1.11.1
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wrapt-1.11.1/docs/conf.py 
new/wrapt-1.11.2/docs/conf.py
--- old/wrapt-1.11.1/docs/conf.py   2019-01-19 06:37:04.0 +0100
+++ new/wrapt-1.11.2/docs/conf.py   2019-06-18 03:10:12.0 +0200
@@ -50,7 +50,7 @@
 # The short X.Y version.
 version = '1.11'
 # The full version, including alpha/beta/rc tags.
-release = '1.11.1'
+release = '1.11.2'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wrapt-1.11.1/setup.py new/wrapt-1.11.2/setup.py
--- old/wrapt-1.11.1/setup.py   2019-01-19 06:37:04.0 +0100
+++ new/wrapt-1.11.2/setup.py   2019-06-18 03:10:12.0 +0200
@@ -11,7 +11,7 @@
 
 if sys.platform == 'win32':
 build_ext_errors = (CCompilerError, DistutilsExecError,
-DistutilsPlatformError, IOError, OSError)
+DistutilsPlatformError, IOError, OSError, ValueError)
 else:
 build_ext_errors = (CCompilerError, DistutilsExecError,
 DistutilsPlatformError)
@@ -48,7 +48,7 @@
 
 setup_kwargs = dict(
   name='wrapt',
-  version='1.11.1',
+  version='1.11.2',
   description='Module for decorators, wrappers and monkey patching.',
   long_description=open('README.rst').read(),
   author='Graham Dumpleton',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wrapt-1.11.1/src/wrapt/__init__.py 
new/wrapt-1.11.2/src/wrapt/__init__.py
--- old/wrapt-1.11.1/src/wrapt/__init__.py  2019-01-19 06:37:04.0 
+0100
+++ new/wrapt-1.11.2/src/wrapt/__init__.py  2019-06-18 03:10:12.0 
+0200
@@ -1,4 +1,4 @@
-__version_info__ = ('1', '11', '1')
+__version_info__ = ('1', '11', '2')
 __version__ = '.'.join(__version_info__)
 
 from .wrappers import (ObjectProxy, CallableObjectProxy, FunctionWrapper,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--excl

commit python-wrapt for openSUSE:Factory

2019-03-12 Thread root
Hello community,

here is the log from the commit of package python-wrapt for openSUSE:Factory 
checked in at 2019-03-12 09:46:44

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


Package is "python-wrapt"

Tue Mar 12 09:46:44 2019 rev:7 rq:683895 version:1.11.1

Changes:

--- /work/SRC/openSUSE:Factory/python-wrapt/python-wrapt.changes
2017-09-23 21:33:19.781890030 +0200
+++ /work/SRC/openSUSE:Factory/.python-wrapt.new.28833/python-wrapt.changes 
2019-03-12 09:46:46.239617527 +0100
@@ -1,0 +2,8 @@
+Mon Mar 11 13:28:24 UTC 2019 - Tomáš Chvátal 
+
+- Update to 1.11.1:
+  * Many bugfixes all around
+  * see changes.rst for detailed list
+- Switch to github to include tests
+
+---

Old:

  wrapt-1.10.10.tar.gz

New:

  1.11.1.tar.gz



Other differences:
--
++ python-wrapt.spec ++
--- /var/tmp/diff_new_pack.TLOm0j/_old  2019-03-12 09:46:47.031617369 +0100
+++ /var/tmp/diff_new_pack.TLOm0j/_new  2019-03-12 09:46:47.031617369 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-wrapt
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2015 LISA GmbH, Bingen, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -13,23 +13,24 @@
 # 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-wrapt
-Version:1.10.10
+Version:1.11.1
 Release:0
 Summary:A Python module for decorators, wrappers and monkey patching
 License:BSD-2-Clause
 Group:  Development/Languages/Python
-Url:https://github.com/GrahamDumpleton/wrapt
-Source: https://pypi.io/packages/source/w/wrapt/wrapt-%{version}.tar.gz
+URL:https://github.com/GrahamDumpleton/wrapt
+Source: 
https://github.com/GrahamDumpleton/wrapt/archive/%{version}.tar.gz
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %python_subpackages
 
 %description
@@ -65,10 +66,14 @@
 
 %install
 %python_install
+%python_expand %fdupes %{buildroot}%{$python_sitearch}
+
+%check
+%pytest_arch
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc LICENSE README.rst
+%license LICENSE
+%doc README.rst docs/changes.rst
 %{python_sitearch}/*
 
 %changelog

++ wrapt-1.10.10.tar.gz -> 1.11.1.tar.gz ++
 16909 lines of diff (skipped)




commit python-wrapt for openSUSE:Factory

2017-09-23 Thread root
Hello community,

here is the log from the commit of package python-wrapt for openSUSE:Factory 
checked in at 2017-09-23 21:33:15

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


Package is "python-wrapt"

Sat Sep 23 21:33:15 2017 rev:6 rq:527615 version:1.10.10

Changes:

--- /work/SRC/openSUSE:Factory/python-wrapt/python-wrapt.changes
2017-07-21 22:46:49.218555849 +0200
+++ /work/SRC/openSUSE:Factory/.python-wrapt.new/python-wrapt.changes   
2017-09-23 21:33:19.781890030 +0200
@@ -4 +4,5 @@
-- update to version 1.10.10
+- update to version 1.10.10:
+  * Added back missing description and categorisations when releasing
+  to PyPi.
+  * Code for inspect.getargspec() when using Python 2.6 was missing 
+  import of sys module.



Other differences:
--



commit python-wrapt for openSUSE:Factory

2017-07-21 Thread root
Hello community,

here is the log from the commit of package python-wrapt for openSUSE:Factory 
checked in at 2017-07-21 22:46:46

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


Package is "python-wrapt"

Fri Jul 21 22:46:46 2017 rev:5 rq:509027 version:1.10.10

Changes:

--- /work/SRC/openSUSE:Factory/python-wrapt/python-wrapt.changes
2017-03-18 20:50:45.328136622 +0100
+++ /work/SRC/openSUSE:Factory/.python-wrapt.new/python-wrapt.changes   
2017-07-21 22:46:49.218555849 +0200
@@ -1,0 +2,5 @@
+Sun Jul  9 10:26:29 UTC 2017 - adr...@suse.de
+
+- update to version 1.10.10
+
+---

Old:

  wrapt-1.10.8.tar.gz

New:

  wrapt-1.10.10.tar.gz



Other differences:
--
++ python-wrapt.spec ++
--- /var/tmp/diff_new_pack.3ClIST/_old  2017-07-21 22:46:49.926455991 +0200
+++ /var/tmp/diff_new_pack.3ClIST/_new  2017-07-21 22:46:49.930455427 +0200
@@ -19,7 +19,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-wrapt
-Version:1.10.8
+Version:1.10.10
 Release:0
 Summary:A Python module for decorators, wrappers and monkey patching
 License:BSD-2-Clause

++ wrapt-1.10.8.tar.gz -> wrapt-1.10.10.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wrapt-1.10.8/PKG-INFO new/wrapt-1.10.10/PKG-INFO
--- old/wrapt-1.10.8/PKG-INFO   2016-04-11 01:34:05.0 +0200
+++ new/wrapt-1.10.10/PKG-INFO  2017-03-15 01:38:30.0 +0100
@@ -1,6 +1,6 @@
-Metadata-Version: 1.0
+Metadata-Version: 1.1
 Name: wrapt
-Version: 1.10.8
+Version: 1.10.10
 Summary: Module for decorators, wrappers and monkey patching.
 Home-page: https://github.com/GrahamDumpleton/wrapt
 Author: Graham Dumpleton
@@ -11,11 +11,137 @@
 
 |Travis| |Coveralls| |PyPI|
 
-A Python module for decorators, wrappers and monkey patching.
+The aim of the **wrapt** module is to provide a transparent object 
proxy
+for Python, which can be used as the basis for the construction of 
function
+wrappers and decorator functions.
+
+The **wrapt** module focuses very much on correctness. It therefore 
goes
+way beyond existing mechanisms such as ``functools.wraps()`` to ensure 
that
+decorators preserve introspectability, signatures, type checking 
abilities
+etc. The decorators that can be constructed using this module will 
work in
+far more scenarios than typical decorators and provide more 
predictable and
+consistent behaviour.
+
+To ensure that the overhead is as minimal as possible, a C extension 
module
+is used for performance critical components. An automatic fallback to a
+pure Python implementation is also provided where a target system does 
not
+have a compiler to allow the C extension to be compiled.
+
+Documentation
+-
+
+For further information on the **wrapt** module see:
+
+* http://wrapt.readthedocs.org/
+
+Quick Start
+---
+
+To implement your decorator you need to first define a wrapper 
function.
+This will be called each time a decorated function is called. The 
wrapper
+function needs to take four positional arguments:
+
+* ``wrapped`` - The wrapped function which in turns needs to be called 
by your wrapper function.
+* ``instance`` - The object to which the wrapped function was bound 
when it was called.
+* ``args`` - The list of positional arguments supplied when the 
decorated function was called.
+* ``kwargs`` - The dictionary of keyword arguments supplied when the 
decorated function was called.
+
+The wrapper function would do whatever it needs to, but would usually 
in
+turn call the wrapped function that is passed in via the ``wrapped``
+argument.
+
+The decorator ``@wrapt.decorator`` then needs to be applied to the 
wrapper
+function to convert it into a decorator which can in turn be applied to
+other functions.
+
+::
+
+import wrapt
+
+@wrapt.decorator
+def pass_through(wrapped, instance, args, kwargs):
+return wrapped(*args, **kwargs)
+
+@pass_through
+def function():
+pass
+
+If you wish to implement a decorator which accepts arguments, then 
wrap the
+definition of th

commit python-wrapt for openSUSE:Factory

2017-03-18 Thread root
Hello community,

here is the log from the commit of package python-wrapt for openSUSE:Factory 
checked in at 2017-03-18 20:50:44

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


Package is "python-wrapt"

Sat Mar 18 20:50:44 2017 rev:4 rq:479713 version:1.10.8

Changes:

--- /work/SRC/openSUSE:Factory/python-wrapt/python-wrapt.changes
2016-09-01 14:03:47.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-wrapt.new/python-wrapt.changes   
2017-03-18 20:50:45.328136622 +0100
@@ -1,0 +2,5 @@
+Mon Feb 27 13:54:07 UTC 2017 - jmate...@suse.com
+
+- update for singlespec
+
+---



Other differences:
--
++ python-wrapt.spec ++
--- /var/tmp/diff_new_pack.YTqU9X/_old  2017-03-18 20:50:45.804069199 +0100
+++ /var/tmp/diff_new_pack.YTqU9X/_new  2017-03-18 20:50:45.808068632 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-wrapt
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2015 LISA GmbH, Bingen, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,6 +17,7 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-wrapt
 Version:1.10.8
 Release:0
@@ -25,12 +26,11 @@
 Group:  Development/Languages/Python
 Url:https://github.com/GrahamDumpleton/wrapt
 Source: https://pypi.io/packages/source/w/wrapt/wrapt-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
 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)")}
-%endif
+%python_subpackages
 
 %description
 The aim of the **wrapt** module is to provide a transparent object proxy
@@ -60,12 +60,13 @@
 %setup -q -n wrapt-%{version}
 
 %build
-CFLAGS="%{optflags}" python setup.py build
+export CFLAGS="%{optflags}"
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc LICENSE README.rst
 %{python_sitearch}/*




commit python-wrapt for openSUSE:Factory

2016-09-01 Thread h_root
Hello community,

here is the log from the commit of package python-wrapt for openSUSE:Factory 
checked in at 2016-09-01 14:03:45

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


Package is "python-wrapt"

Changes:

--- /work/SRC/openSUSE:Factory/python-wrapt/python-wrapt.changes
2016-02-17 12:23:20.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-wrapt.new/python-wrapt.changes   
2016-09-01 14:03:47.0 +0200
@@ -1,0 +2,13 @@
+Thu Sep  1 05:30:31 UTC 2016 - tbecht...@suse.com
+
+update to version 1.10.8
+  * Increment version to 1.10.8.
+  * Fix modulo operator on ObjectProxy
+  * Increment version to 1.10.7.
+  * Document mod operator bug in Python variant of object proxy.
+  * Update copyright year.
+  * Fix tests for floordiv and mod.
+  * Remove reference to inspect.getargspec() as removed in Python 3.6. #64
+- Use pypi.io as Source url
+
+---

Old:

  wrapt-1.10.6.tar.gz

New:

  wrapt-1.10.8.tar.gz



Other differences:
--
++ python-wrapt.spec ++
--- /var/tmp/diff_new_pack.BMfz1K/_old  2016-09-01 14:03:47.0 +0200
+++ /var/tmp/diff_new_pack.BMfz1K/_new  2016-09-01 14:03:47.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-wrapt
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2015 LISA GmbH, Bingen, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -14,16 +14,17 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
 Name:   python-wrapt
-Version:1.10.6
+Version:1.10.8
 Release:0
-License:   BSD-2-Clause
 Summary:A Python module for decorators, wrappers and monkey patching
-Url:https://github.com/GrahamDumpleton/wrapt
+License:BSD-2-Clause
 Group:  Development/Languages/Python
-Source: 
https://pypi.python.org/packages/source/w/wrapt/wrapt-%{version}.tar.gz
+Url:https://github.com/GrahamDumpleton/wrapt
+Source: https://pypi.io/packages/source/w/wrapt/wrapt-%{version}.tar.gz
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ wrapt-1.10.6.tar.gz -> wrapt-1.10.8.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wrapt-1.10.6/LICENSE new/wrapt-1.10.8/LICENSE
--- old/wrapt-1.10.6/LICENSE2015-07-03 02:29:14.0 +0200
+++ new/wrapt-1.10.8/LICENSE2016-03-31 07:49:07.0 +0200
@@ -1,4 +1,4 @@
-Copyright (c) 2013-2015, Graham Dumpleton
+Copyright (c) 2013-2016, Graham Dumpleton
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wrapt-1.10.6/PKG-INFO new/wrapt-1.10.8/PKG-INFO
--- old/wrapt-1.10.6/PKG-INFO   2015-12-09 00:01:57.0 +0100
+++ new/wrapt-1.10.8/PKG-INFO   2016-04-11 01:34:05.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: wrapt
-Version: 1.10.6
+Version: 1.10.8
 Summary: Module for decorators, wrappers and monkey patching.
 Home-page: https://github.com/GrahamDumpleton/wrapt
 Author: Graham Dumpleton
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wrapt-1.10.6/setup.py new/wrapt-1.10.8/setup.py
--- old/wrapt-1.10.6/setup.py   2015-12-05 21:37:09.0 +0100
+++ new/wrapt-1.10.8/setup.py   2016-04-11 01:32:33.0 +0200
@@ -34,7 +34,7 @@
 
 setup_kwargs = dict(
   name = 'wrapt',
-  version = '1.10.6',
+  version = '1.10.8',
   description = 'Module for decorators, wrappers and monkey patching.',
   long_description = open('README.rst').read(),
   author = 'Graham Dumpleton',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wrapt-1.10.6/src/wrapt/__init__.py 
new/wrapt-1.10.8/src/wrapt/__init__.py
--- old/wrapt-1.10.6/src/wrapt/__init__.py  2015-12-05 21:34:05.0 
+0100
+++ new/wrapt-1.10.8/src/wrapt/__init__.py  2016-04-11 01:32:33.0 
+0200
@@ -1,4 +1,4 @@
-__version_info__ = ('1', '10', '6')
+__version_info__ = ('1', '10', '8')
 __version__ = '.'.join(__version_info__)
 
 from .wrappers import (ObjectProxy, CallableObjectProxy, FunctionWrapper,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wrapt-1.10.6/src/wrapt/decorators.py 
new/wrapt-1.10.8/src/wrapt/decorators.py
---

commit python-wrapt for openSUSE:Factory

2016-02-17 Thread h_root
Hello community,

here is the log from the commit of package python-wrapt for openSUSE:Factory 
checked in at 2016-02-17 10:26:35

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


Package is "python-wrapt"

Changes:

--- /work/SRC/openSUSE:Factory/python-wrapt/python-wrapt.changes
2015-08-05 06:50:51.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-wrapt.new/python-wrapt.changes   
2016-02-17 12:23:20.0 +0100
@@ -1,0 +2,5 @@
+Tue Feb 16 08:25:35 UTC 2016 - mich...@stroeder.com
+
+- update to 1.10.6
+
+---

Old:

  wrapt-1.9.0.tar.gz

New:

  wrapt-1.10.6.tar.gz



Other differences:
--
++ python-wrapt.spec ++
--- /var/tmp/diff_new_pack.bAGBT1/_old  2016-02-17 12:23:21.0 +0100
+++ /var/tmp/diff_new_pack.bAGBT1/_new  2016-02-17 12:23:21.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   python-wrapt
-Version:1.9.0
+Version:1.10.6
 Release:0
 License:   BSD-2-Clause
 Summary:A Python module for decorators, wrappers and monkey patching
@@ -66,7 +66,7 @@
 
 %files
 %defattr(-,root,root,-)
-%doc LICENSE README
+%doc LICENSE README.rst
 %{python_sitearch}/*
 
 %changelog

++ wrapt-1.9.0.tar.gz -> wrapt-1.10.6.tar.gz ++
 8880 lines of diff (skipped)