commit python-decorator for openSUSE:Factory

2020-03-26 Thread root
Hello community,

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

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


Package is "python-decorator"

Fri Mar 27 00:24:19 2020 rev:22 rq:785072 version:4.4.2

Changes:

--- /work/SRC/openSUSE:Factory/python-decorator/python-decorator.changes
2020-02-14 16:25:55.243208439 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-decorator.new.3160/python-decorator.changes  
2020-03-27 00:24:30.340232740 +0100
@@ -1,0 +2,8 @@
+Sat Mar 14 15:50:24 UTC 2020 - Dirk Mueller 
+
+- update to 4.4.2:
+  * removing the usage of `__file__`, that was breaking PyOxidizer.
+  * fixes for the future Python 3.9.
+  * some fixes for the future Python 3.10.
+
+---

Old:

  decorator-4.4.1.tar.gz

New:

  decorator-4.4.2.tar.gz



Other differences:
--
++ python-decorator.spec ++
--- /var/tmp/diff_new_pack.2gMoBx/_old  2020-03-27 00:24:31.288233221 +0100
+++ /var/tmp/diff_new_pack.2gMoBx/_new  2020-03-27 00:24:31.288233221 +0100
@@ -20,7 +20,7 @@
 #
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-decorator
-Version:4.4.1
+Version:4.4.2
 Release:0
 Summary:Decorators for Humans
 License:BSD-2-Clause

++ decorator-4.4.1.tar.gz -> decorator-4.4.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/decorator-4.4.1/CHANGES.md 
new/decorator-4.4.2/CHANGES.md
--- old/decorator-4.4.1/CHANGES.md  2019-10-27 08:58:49.0 +0100
+++ new/decorator-4.4.2/CHANGES.md  2020-02-29 06:22:24.0 +0100
@@ -3,6 +3,17 @@
 
 ## unreleased
 
+## 4.4.2 (2020-02-29)
+
+Sylvan Mosberger (https://github.com/Infinisil) contributed a patch to
+some doctests that were breaking on NixOS.
+John Vandenberg (https://github.com/jayvdb) made a case for removing the usage
+of `__file__`, that was breaking PyOxidizer.
+Miro Hrončok (https://github.com/hroncok) contributed some fixes for the
+future Python 3.9.
+Hugo van Kemenade (https://github.com/hugovk) contributed some fixes for the
+future Python 3.10.
+
 ## 4.4.1 (2019-10-27)
 
 Changed the description to "Decorators for Humans" are requested by
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/decorator-4.4.1/PKG-INFO new/decorator-4.4.2/PKG-INFO
--- old/decorator-4.4.1/PKG-INFO2019-10-27 09:08:56.0 +0100
+++ new/decorator-4.4.2/PKG-INFO2020-02-29 06:24:41.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: decorator
-Version: 4.4.1
+Version: 4.4.2
 Summary: Decorators for Humans
 Home-page: https://github.com/micheles/decorator
 Author: Michele Simionato
@@ -32,7 +32,7 @@
 
 in the main directory, possibly as superuser.
 
-.. _tarball: http://pypi.python.org/pypi/decorator
+.. _tarball: https://pypi.org/project/decorator/#files
 .. _GitHub repo: https://github.com/micheles/decorator
 
 Testing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/decorator-4.4.1/README.rst 
new/decorator-4.4.2/README.rst
--- old/decorator-4.4.1/README.rst  2019-10-27 08:59:19.0 +0100
+++ new/decorator-4.4.2/README.rst  2019-10-27 09:10:40.0 +0100
@@ -24,7 +24,7 @@
 
 in the main directory, possibly as superuser.
 
-.. _tarball: http://pypi.python.org/pypi/decorator
+.. _tarball: https://pypi.org/project/decorator/#files
 .. _GitHub repo: https://github.com/micheles/decorator
 
 Testing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/decorator-4.4.1/src/decorator.egg-info/PKG-INFO 
new/decorator-4.4.2/src/decorator.egg-info/PKG-INFO
--- old/decorator-4.4.1/src/decorator.egg-info/PKG-INFO 2019-10-27 
09:08:56.0 +0100
+++ new/decorator-4.4.2/src/decorator.egg-info/PKG-INFO 2020-02-29 
06:24:40.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: decorator
-Version: 4.4.1
+Version: 4.4.2
 Summary: Decorators for Humans
 Home-page: https://github.com/micheles/decorator
 Author: Michele Simionato
@@ -32,7 +32,7 @@
 
 in the main directory, possibly as superuser.
 
-.. _tarball: http://pypi.python.org/pypi/decorator
+.. _tarball: https://pypi.org/project/decorator/#files
 .. _GitHub repo: https://github.com/micheles/decorator
 
 Testing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 

commit python-decorator for openSUSE:Factory

2020-02-14 Thread root
Hello community,

here is the log from the commit of package python-decorator for 
openSUSE:Factory checked in at 2020-02-14 16:25:39

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


Package is "python-decorator"

Fri Feb 14 16:25:39 2020 rev:21 rq:773654 version:4.4.1

Changes:

--- /work/SRC/openSUSE:Factory/python-decorator/python-decorator.changes
2019-03-29 20:36:02.698543212 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-decorator.new.26092/python-decorator.changes 
2020-02-14 16:25:55.243208439 +0100
@@ -1,0 +2,7 @@
+Fri Dec 20 19:11:44 UTC 2019 - Dirk Mueller 
+
+- update to 4.4.1:
+  Changed the description to "Decorators for Humans" are requested by
+  several users. Fixed a .rst bug in the description as seen in PyPI.
+
+---

Old:

  decorator-4.4.0.tar.gz

New:

  decorator-4.4.1.tar.gz



Other differences:
--
++ python-decorator.spec ++
--- /var/tmp/diff_new_pack.cv8t0t/_old  2020-02-14 16:25:57.011209398 +0100
+++ /var/tmp/diff_new_pack.cv8t0t/_new  2020-02-14 16:25:57.011209398 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-decorator
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,9 +20,9 @@
 #
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-decorator
-Version:4.4.0
+Version:4.4.1
 Release:0
-Summary:Non-nested signature-retaining Python decorators
+Summary:Decorators for Humans
 License:BSD-2-Clause
 Group:  Development/Languages/Python
 URL:https://github.com/micheles/decorator
@@ -58,7 +58,7 @@
 
 %files %{python_files}
 %license LICENSE.txt
-%doc CHANGES.md README.md
+%doc CHANGES.md README.rst
 %{python_sitelib}/decorator.py*
 %pycache_only %{python_sitelib}/__pycache__/decorator.*.py*
 %{python_sitelib}/decorator-%{version}-py*.egg-info

++ decorator-4.4.0.tar.gz -> decorator-4.4.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/decorator-4.4.0/CHANGES.md 
new/decorator-4.4.1/CHANGES.md
--- old/decorator-4.4.0/CHANGES.md  2019-03-16 07:02:51.0 +0100
+++ new/decorator-4.4.1/CHANGES.md  2019-10-27 08:58:49.0 +0100
@@ -3,6 +3,11 @@
 
 ## unreleased
 
+## 4.4.1 (2019-10-27)
+
+Changed the description to "Decorators for Humans" are requested by
+several users. Fixed a .rst bug in the description as seen in PyPI.
+
 ## 4.4.0 (2019-03-16)
 
 Fixed a regression with decorator factories breaking the case with no
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/decorator-4.4.0/PKG-INFO new/decorator-4.4.1/PKG-INFO
--- old/decorator-4.4.0/PKG-INFO2019-03-16 07:41:53.0 +0100
+++ new/decorator-4.4.1/PKG-INFO2019-10-27 09:08:56.0 +0100
@@ -1,13 +1,13 @@
 Metadata-Version: 1.2
 Name: decorator
-Version: 4.4.0
-Summary: Better living through Python with decorators
+Version: 4.4.1
+Summary: Decorators for Humans
 Home-page: https://github.com/micheles/decorator
 Author: Michele Simionato
 Author-email: michele.simion...@gmail.com
 License: new BSD License
-Description: Decorator module
-=
+Description: Decorators for Humans
+=
 
 The goal of the decorator module is to make it easy to define
 signature-preserving function decorators and decorator factories.
@@ -21,29 +21,30 @@
 
 If you are lazy, just perform
 
-``$ pip install decorator``
+ ``$ pip install decorator``
 
 which will install just the module on your system.
 
 If you prefer to install the full distribution from source, including
-the documentation, clone the [GitHub repo](
-https://github.com/micheles/decorator) or download the
-[tarball](http://pypi.python.org/pypi/decorator), unpack it and run
+the documentation, clone the `GitHub repo`_ or download the tarball_, 
unpack it and run
 
-``$ pip install .``
+ ``$ pip install .``
 
 in the main directory, possibly as superuser.
 
+.. _tarball: http://pypi.python.org/pypi/decorator
+.. _GitHub repo: https://github.com/micheles/decorator
+
 Testing
 
 
 If you have the source code installation you can run the 

commit python-decorator for openSUSE:Factory

2019-03-29 Thread root
Hello community,

here is the log from the commit of package python-decorator for 
openSUSE:Factory checked in at 2019-03-29 20:36:01

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


Package is "python-decorator"

Fri Mar 29 20:36:01 2019 rev:20 rq:686454 version:4.4.0

Changes:

--- /work/SRC/openSUSE:Factory/python-decorator/python-decorator.changes
2019-02-25 17:44:36.298926051 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-decorator.new.25356/python-decorator.changes 
2019-03-29 20:36:02.698543212 +0100
@@ -1,0 +2,7 @@
+Tue Mar 19 15:15:40 UTC 2019 - Tomáš Chvátal 
+
+- Update to 4.4.0:
+  * Fixed a regression with decorator factories breaking the case with no
+arguments by going back to the syntax used in version 4.2.
+
+---

Old:

  decorator-4.3.2.tar.gz

New:

  decorator-4.4.0.tar.gz



Other differences:
--
++ python-decorator.spec ++
--- /var/tmp/diff_new_pack.m3Mye4/_old  2019-03-29 20:36:03.310544095 +0100
+++ /var/tmp/diff_new_pack.m3Mye4/_new  2019-03-29 20:36:03.310544095 +0100
@@ -20,14 +20,15 @@
 #
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-decorator
-Version:4.3.2
+Version:4.4.0
 Release:0
 Summary:Non-nested signature-retaining Python decorators
 License:BSD-2-Clause
 Group:  Development/Languages/Python
-URL:http://pypi.python.org/pypi/decorator
+URL:https://github.com/micheles/decorator
 Source: 
https://files.pythonhosted.org/packages/source/d/decorator/decorator-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  dos2unix
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:  noarch
@@ -44,7 +45,6 @@
 
 %prep
 %setup -q -n decorator-%{version}
-sed -i 's/\r//' README.rst # Fix EOL encoding
 
 %build
 %python_build
@@ -53,9 +53,12 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%check
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python 
src/tests/test.py -v
+
 %files %{python_files}
 %license LICENSE.txt
-%doc CHANGES.md README.rst
+%doc CHANGES.md README.md
 %{python_sitelib}/decorator.py*
 %pycache_only %{python_sitelib}/__pycache__/decorator.*.py*
 %{python_sitelib}/decorator-%{version}-py*.egg-info

++ decorator-4.3.2.tar.gz -> decorator-4.4.0.tar.gz ++
 1816 lines of diff (skipped)




commit python-decorator for openSUSE:Factory

2019-02-25 Thread root
Hello community,

here is the log from the commit of package python-decorator for 
openSUSE:Factory checked in at 2019-02-25 17:44:33

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


Package is "python-decorator"

Mon Feb 25 17:44:33 2019 rev:19 rq:674687 version:4.3.2

Changes:

--- /work/SRC/openSUSE:Factory/python-decorator/python-decorator.changes
2018-12-06 12:14:40.733689866 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-decorator.new.28833/python-decorator.changes 
2019-02-25 17:44:36.298926051 +0100
@@ -1,0 +2,14 @@
+Wed Feb 13 17:32:05 UTC 2019 - Todd R 
+
+- update to version 4.3.2
+   * now the decorator module can decorate generator functions by
+ preserving their being generator functions
+   * Set `python_requires='>=2.6, !=3.0.*, !=3.1.*'` in setup.py
+- update to version 4.3.1
+  * Added a section "For the impatient" to the README, addressing
+an issue raised by Amir Malekpour.
+  * Added support for Python 3.7.
+  * Now  the path to the decorator module appears in the
+tracebacks, as suggested by a user at EuroPython 2018.
+
+---

Old:

  decorator-4.3.0.tar.gz

New:

  decorator-4.3.2.tar.gz



Other differences:
--
++ python-decorator.spec ++
--- /var/tmp/diff_new_pack.V5S1IQ/_old  2019-02-25 17:44:37.882925400 +0100
+++ /var/tmp/diff_new_pack.V5S1IQ/_new  2019-02-25 17:44:37.886925399 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-decorator
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -20,7 +20,7 @@
 #
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-decorator
-Version:4.3.0
+Version:4.3.2
 Release:0
 Summary:Non-nested signature-retaining Python decorators
 License:BSD-2-Clause
@@ -28,6 +28,7 @@
 URL:http://pypi.python.org/pypi/decorator
 Source: 
https://files.pythonhosted.org/packages/source/d/decorator/decorator-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:  noarch
 %python_subpackages
@@ -43,17 +44,18 @@
 
 %prep
 %setup -q -n decorator-%{version}
-sed -i 's/\r//' docs/README.rst # Fix EOL encoding
+sed -i 's/\r//' README.rst # Fix EOL encoding
 
 %build
 %python_build
 
 %install
 %python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %files %{python_files}
 %license LICENSE.txt
-%doc CHANGES.md docs/README.rst
+%doc CHANGES.md README.rst
 %{python_sitelib}/decorator.py*
 %pycache_only %{python_sitelib}/__pycache__/decorator.*.py*
 %{python_sitelib}/decorator-%{version}-py*.egg-info

++ decorator-4.3.0.tar.gz -> decorator-4.3.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/decorator-4.3.0/CHANGES.md 
new/decorator-4.3.2/CHANGES.md
--- old/decorator-4.3.0/CHANGES.md  2018-04-15 14:45:04.0 +0200
+++ new/decorator-4.3.2/CHANGES.md  2019-01-24 15:02:13.0 +0100
@@ -1,7 +1,21 @@
 HISTORY
 
 
-## Unreleased
+## unreleased
+
+## 4.3.2 (2019-01-24)
+
+Accepted a patch from Sylvain Marie (https://github.com/smarie): now the
+decorator module can decorate generator functions by preserving their
+being generator functions. Set `python_requires='>=2.6, !=3.0.*, !=3.1.*'`
+in setup.py, as suggested by https://github.com/hugovk.
+
+## 4.3.1 (2018-08-04)
+
+Added a section "For the impatient" to the README, addressing an issue
+raised by Amir Malekpour. Added support for Python 3.7. Now 
+the path to the decorator module appears in the tracebacks, as suggested
+by an user at EuroPython 2018.
 
 ## 4.3.0 (2018-04-15)
 
@@ -205,7 +219,7 @@
 functions; referenced PEP 326; highlighted the snippets in the 
 documentation with pygments; slightly simplified the code.
 
-## 2.1.0. (3/07/2007)
+## 2.1.0. (2007-07-03)
 
 Replaced the utility 'update_wrapper' with 'new_wrapper' and
 updated the documentation accordingly; fixed and improved the 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/decorator-4.3.0/LICENSE.txt 
new/decorator-4.3.2/LICENSE.txt
--- old/decorator-4.3.0/LICENSE.txt 2017-01-15 10:59:31.0 +0100
+++ new/decorator-4.3.2/LICENSE.txt 2018-04-15 15:31:05.0 +0200
@@ -1,4 +1,4 @@
-Copyright (c) 2005-2017, Michele Simionato
+Copyright (c) 2005-2018, Michele 

commit python-decorator for openSUSE:Factory

2018-12-06 Thread root
Hello community,

here is the log from the commit of package python-decorator for 
openSUSE:Factory checked in at 2018-12-06 12:14:39

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


Package is "python-decorator"

Thu Dec  6 12:14:39 2018 rev:18 rq:654007 version:4.3.0

Changes:

--- /work/SRC/openSUSE:Factory/python-decorator/python-decorator.changes
2018-04-23 15:24:51.796724049 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-decorator.new.19453/python-decorator.changes 
2018-12-06 12:14:40.733689866 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:47:11 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-decorator.spec ++
--- /var/tmp/diff_new_pack.UensA8/_old  2018-12-06 12:14:41.421689127 +0100
+++ /var/tmp/diff_new_pack.UensA8/_new  2018-12-06 12:14:41.421689127 +0100
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -27,7 +27,6 @@
 Group:  Development/Languages/Python
 URL:http://pypi.python.org/pypi/decorator
 Source: 
https://files.pythonhosted.org/packages/source/d/decorator/decorator-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
 BuildArch:  noarch




commit python-decorator for openSUSE:Factory

2018-04-23 Thread root
Hello community,

here is the log from the commit of package python-decorator for 
openSUSE:Factory checked in at 2018-04-23 15:24:50

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


Package is "python-decorator"

Mon Apr 23 15:24:50 2018 rev:17 rq:597436 version:4.3.0

Changes:

--- /work/SRC/openSUSE:Factory/python-decorator/python-decorator.changes
2018-01-19 11:47:23.212118022 +0100
+++ /work/SRC/openSUSE:Factory/.python-decorator.new/python-decorator.changes   
2018-04-23 15:24:51.796724049 +0200
@@ -1,0 +2,15 @@
+Tue Apr 17 11:05:41 UTC 2018 - jeng...@inai.de
+
+- Ensure neutrality of description.
+
+---
+Tue Apr 17 01:52:09 UTC 2018 - a...@gmx.de
+
+- update to version 4.3.0:
+  * Extended the decorator family facility to work with positional
+arguments and updated the documentation. Removed
+decorator.getargspec and provided decorator.getfullargspec
+instead. This is convenient for users of Python 2.6/2.7, the
+others can just use inspect.getfullargspec.
+
+---

Old:

  decorator-4.2.1.tar.gz

New:

  decorator-4.3.0.tar.gz



Other differences:
--
++ python-decorator.spec ++
--- /var/tmp/diff_new_pack.PXav5r/_old  2018-04-23 15:24:52.524697607 +0200
+++ /var/tmp/diff_new_pack.PXav5r/_new  2018-04-23 15:24:52.524697607 +0200
@@ -18,35 +18,29 @@
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
-
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-decorator
-Version:4.2.1
+Version:4.3.0
 Release:0
-Url:http://pypi.python.org/pypi/decorator
-Summary:Better living through Python with decorators
+Summary:Non-nested signature-retaining Python decorators
 License:BSD-2-Clause
 Group:  Development/Languages/Python
+URL:http://pypi.python.org/pypi/decorator
 Source: 
https://files.pythonhosted.org/packages/source/d/decorator/decorator-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
 BuildArch:  noarch
-
 %python_subpackages
 
 %description
-As of now, writing custom decorators correctly requires some experience and it
-is not as easy as it could be. For instance, typical implementations of
-decorators involve nested functions, and we all know that flat is better than
-nested. Moreover, typical implementations of decorators do not preserve the
-signature of decorated functions, thus confusing both documentation tools and
-developers.
-
-The aim of the decorator module it to simplify the usage of decorators for the
-average programmer, and to popularize decorators usage giving examples of
-useful decorators, such as memoize, tracing, redirecting_stdout, locked, etc.
+Typical implementations of Python decorators involve nested
+functions, and do not preserve the signature of decorated functions,
+thus can be confusing to both developers and documentation tools.
+
+This module changes the usage of decorators for the average
+programmer so as to make decorators such as memoize, tracing,
+redirecting_stdout, locked, etc. more accessible.
 
 %prep
 %setup -q -n decorator-%{version}
@@ -59,8 +53,8 @@
 %python_install
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc CHANGES.md LICENSE.txt docs/README.rst
+%license LICENSE.txt
+%doc CHANGES.md docs/README.rst
 %{python_sitelib}/decorator.py*
 %pycache_only %{python_sitelib}/__pycache__/decorator.*.py*
 %{python_sitelib}/decorator-%{version}-py*.egg-info

++ decorator-4.2.1.tar.gz -> decorator-4.3.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/decorator-4.2.1/CHANGES.md 
new/decorator-4.3.0/CHANGES.md
--- old/decorator-4.2.1/CHANGES.md  2018-01-14 11:01:55.0 +0100
+++ new/decorator-4.3.0/CHANGES.md  2018-04-15 14:45:04.0 +0200
@@ -3,9 +3,17 @@
 
 ## Unreleased
 
+## 4.3.0 (2018-04-15)
+
+Extended the decorator family facility to work with positional
+arguments and updated the documentation. Removed
+`decorator.getargspec` and provided `decorator.getfullargspec`
+instead.  This is convenient for users of Python 2.6/2.7, the others
+can just use `inspect.getfullargspec`.
+
 ## 4.2.1 (2018-01-14)
 
-Fixed a regression breaking IPython and discovered by 
https://github.com/spapini
+Fixed a regression breaking IPython reported by https://github.com/spapini .
 
 ## 4.2.0 (2018-01-14)
 
diff -urN 

commit python-decorator for openSUSE:Factory

2018-01-19 Thread root
Hello community,

here is the log from the commit of package python-decorator for 
openSUSE:Factory checked in at 2018-01-19 11:47:23

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


Package is "python-decorator"

Fri Jan 19 11:47:23 2018 rev:16 rq:566562 version:4.2.1

Changes:

--- /work/SRC/openSUSE:Factory/python-decorator/python-decorator.changes
2017-08-14 12:37:43.867286425 +0200
+++ /work/SRC/openSUSE:Factory/.python-decorator.new/python-decorator.changes   
2018-01-19 11:47:23.212118022 +0100
@@ -1,0 +2,15 @@
+Wed Jan 17 04:02:48 UTC 2018 - a...@gmx.de
+
+- specfile:
+  - updated copyright year
+
+- updated to version 4.2.1:
+  * Fixed a regression breaking IPython reported by
+https://github.com/spapini .
+
+- changes from version 4.2.0 :
+  * Added a facility to define families of decorators (aka decorators
+with arguments) as requested by several users. Accepted a pylint
+patch by David Allouche.
+
+---

Old:

  decorator-4.1.2.tar.gz

New:

  decorator-4.2.1.tar.gz



Other differences:
--
++ python-decorator.spec ++
--- /var/tmp/diff_new_pack.zQSyxx/_old  2018-01-19 11:47:23.724093880 +0100
+++ /var/tmp/diff_new_pack.zQSyxx/_new  2018-01-19 11:47:23.728093692 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-decorator
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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,9 +16,12 @@
 #
 
 
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-decorator
-Version:4.1.2
+Version:4.2.1
 Release:0
 Url:http://pypi.python.org/pypi/decorator
 Summary:Better living through Python with decorators

++ decorator-4.1.2.tar.gz -> decorator-4.2.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/decorator-4.1.2/CHANGES.md 
new/decorator-4.2.1/CHANGES.md
--- old/decorator-4.1.2/CHANGES.md  2017-07-23 17:25:15.0 +0200
+++ new/decorator-4.2.1/CHANGES.md  2018-01-14 11:01:55.0 +0100
@@ -3,17 +3,27 @@
 
 ## Unreleased
 
+## 4.2.1 (2018-01-14)
+
+Fixed a regression breaking IPython and discovered by 
https://github.com/spapini
+
+## 4.2.0 (2018-01-14)
+
+Added a facility to define families of decorators (aka decorators with
+arguments) as requested by several users. Accepted a pylint patch by
+David Allouche.
+
 ## 4.1.2 (2017-07-23)
 
 Made it possible to define decorators converting coroutines into regular
 functions, as requested by Itaï Ben Yaacov.
 
-## 4.1.1 (2017-06-16)
+## 4.1.1 (2017-07-16)
 
 Changed the documentation build system to sphinx and uploaded the docs
 on readthedocs.org.
 
-## 4.1.0 (2017-06-15)
+## 4.1.0 (2017-07-15)
 
 Support for Python 3.5 coroutines defined with `async def`, thanks to
 Victor-Nicolae Savu who raised the issue of `iscoroutinefunction` not
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/decorator-4.1.2/PKG-INFO new/decorator-4.2.1/PKG-INFO
--- old/decorator-4.1.2/PKG-INFO2017-07-23 17:25:19.0 +0200
+++ new/decorator-4.2.1/PKG-INFO2018-01-14 11:12:16.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: decorator
-Version: 4.1.2
+Version: 4.2.1
 Summary: Better living through Python with decorators
 Home-page: https://github.com/micheles/decorator
 Author: Michele Simionato
@@ -61,8 +61,8 @@
 Documentation
 ---
 
-The documentation has been moved to 
http://decorator.readthedocs.io/en/stable/
-You can download a PDF version of it from 
http://media.readthedocs.org/pdf/decorator/stable/decorator.pdf
+The documentation has been moved to 
http://decorator.readthedocs.io/en/latest/
+You can download a PDF version of it from 
http://media.readthedocs.org/pdf/decorator/latest/decorator.pdf
 
 Keywords: decorators generic utility
 Platform: All
@@ -72,6 +72,15 @@
 Classifier: Natural Language :: English
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python
+Classifier: Programming Language :: Python :: 2
+Classifier: Programming Language :: Python :: 2.6
+Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.2

commit python-decorator for openSUSE:Factory

2017-08-14 Thread root
Hello community,

here is the log from the commit of package python-decorator for 
openSUSE:Factory checked in at 2017-08-14 12:37:41

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


Package is "python-decorator"

Mon Aug 14 12:37:41 2017 rev:15 rq:515769 version:4.1.2

Changes:

--- /work/SRC/openSUSE:Factory/python-decorator/python-decorator.changes
2017-04-28 09:12:27.309258688 +0200
+++ /work/SRC/openSUSE:Factory/.python-decorator.new/python-decorator.changes   
2017-08-14 12:37:43.867286425 +0200
@@ -1,0 +2,12 @@
+Wed Aug  9 14:14:10 UTC 2017 - tbecht...@suse.com
+
+- update to 4.1.2:
+  * Made it possible to define decorators converting coroutines into regular
+functions.
+  * Changed the documentation build system to sphinx and uploaded the docs
+on readthedocs.org.
+  * Support for Python 3.5 coroutines defined with `async def`, thanks to
+Victor-Nicolae Savu who raised the issue of `iscoroutinefunction` not
+giving the right answer for coroutines decorated with the decorator module.
+
+---

Old:

  decorator-4.0.11.tar.gz

New:

  decorator-4.1.2.tar.gz



Other differences:
--
++ python-decorator.spec ++
--- /var/tmp/diff_new_pack.51aewi/_old  2017-08-14 12:37:44.335220716 +0200
+++ /var/tmp/diff_new_pack.51aewi/_new  2017-08-14 12:37:44.339220154 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-decorator
-Version:4.0.11
+Version:4.1.2
 Release:0
 Url:http://pypi.python.org/pypi/decorator
 Summary:Better living through Python with decorators
@@ -57,7 +57,7 @@
 
 %files %{python_files}
 %defattr(-,root,root,-)
-%doc CHANGES.md LICENSE.txt documentation.pdf docs/README.rst
+%doc CHANGES.md LICENSE.txt docs/README.rst
 %{python_sitelib}/decorator.py*
 %pycache_only %{python_sitelib}/__pycache__/decorator.*.py*
 %{python_sitelib}/decorator-%{version}-py*.egg-info

++ decorator-4.0.11.tar.gz -> decorator-4.1.2.tar.gz ++
 10313 lines of diff (skipped)




commit python-decorator for openSUSE:Factory

2017-04-28 Thread root
Hello community,

here is the log from the commit of package python-decorator for 
openSUSE:Factory checked in at 2017-04-28 09:12:19

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


Package is "python-decorator"

Fri Apr 28 09:12:19 2017 rev:14 rq:485855 version:4.0.11

Changes:

--- /work/SRC/openSUSE:Factory/python-decorator/python-decorator.changes
2015-05-05 00:55:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-decorator.new/python-decorator.changes   
2017-04-28 09:12:27.309258688 +0200
@@ -1,0 +2,49 @@
+Wed Apr  5 15:13:12 UTC 2017 - jmate...@suse.com
+
+- fix source url
+
+---
+Sat Apr  1 21:20:43 UTC 2017 - toddrme2...@gmail.com
+
+- Update to 4.0.11
+  * Small improvements to the documentation and tested with Python 3.6
+- Update to 4.0.10
+  * Improved the documentation thanks to Tony Goodchild (zearin) who also
+provided a much better CSS than the one I was using.
+- Update to 4.0.9
+  * Same as 4.0.7 and 4.0.8, re-uploaded due to issues on PyPI.
+- Update to 4.0.7
+  * Switched to a new changelog format (the one in http://keepachangelog.com/)
+since it was contributed by Alexander Artemenko. Re-added a newline to 
support
+old version of Python, as requested by [azjps](https://github.com/azjps).
+- Update to 4.0.6
+  * Removed a file x.py accidentally entered in the tarball.
+- Update to 4.0.5
+  * Documented a quirk signaled by David Goldstein when writing decorators
+for functions with keyword arguments. Avoided copying the globals,
+as signaled by Benjamin Peterson.
+- Update to 4.0.4
+  * Included a patch from Zev Benjamin: now decorated functions play well
+with cProfile.
+- Update to 4.0.3
+  * Added a warning about the memoize example, as requested by Robert
+Buchholz.
+- Update to 4.0.2
+  * docs/README.rst was not included in MANIFEST.in by accident,
+thus breaking the source installation.
+- Update to 4.0.1
+  * Added docs directory and upload_docs command. Fixed bug with
+`__qualname__`, reported by Lucian Petrut.
+- Update to 4.0.0
+  * Removed the need for 2to3 by dropping the support for Python 2.5.
+  * Added a MANIFEST.in file and produced a proper wheel. Improved
+the integration with setuptools so that `python setup.py test` works.
+  * Reworked the documentation and introduced `decorator.decorated`.
+  * Removed any dependence from `inspect.getargspec`, which is deprecated
+in Python 3.5, as signaled by Ralf Gommers.
+  * Fixed `contextmanager` to work with Python 3.5.
+  * Copied the `__qualname__` attribute, as requested by Frazer McLean.
+  * Added a `dispatch_on` facility to implement generic functions.
+- Implement single-spec version.
+
+---

Old:

  decorator-3.4.2.tar.gz

New:

  decorator-4.0.11.tar.gz



Other differences:
--
++ python-decorator.spec ++
--- /var/tmp/diff_new_pack.6A0JIg/_old  2017-04-28 09:12:28.121144202 +0200
+++ /var/tmp/diff_new_pack.6A0JIg/_new  2017-04-28 09:12:28.121144202 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-decorator
 #
-# Copyright (c) 2015 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,24 +16,22 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-decorator
-Version:3.4.2
+Version:4.0.11
 Release:0
 Url:http://pypi.python.org/pypi/decorator
 Summary:Better living through Python with decorators
 License:BSD-2-Clause
 Group:  Development/Languages/Python
-Source: 
http://pypi.python.org/packages/source/d/decorator/decorator-%{version}.tar.gz
+Source: 
https://files.pythonhosted.org/packages/source/d/decorator/decorator-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-%if 0%{?suse_version}
-%py_requires
-%if 0%{?suse_version} > 1110
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
 BuildArch:  noarch
-%endif
-%endif
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
+%python_subpackages
 
 %description
 As of now, writing custom decorators correctly requires some experience and it
@@ -49,19 +47,19 @@
 
 %prep
 %setup -q -n 

commit python-decorator for openSUSE:Factory

2015-05-04 Thread h_root
Hello community,

here is the log from the commit of package python-decorator for 
openSUSE:Factory checked in at 2015-05-05 00:55:57

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


Package is python-decorator

Changes:

--- /work/SRC/openSUSE:Factory/python-decorator/python-decorator.changes
2013-10-25 11:13:06.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-decorator.new/python-decorator.changes   
2015-05-05 00:55:59.0 +0200
@@ -1,0 +2,16 @@
+Sat May  2 18:01:29 UTC 2015 - benoit.mo...@gmx.fr
+
+- update to version 3.4.2:
+  * Same as 3.4.1, re-uploaded to PyPI
+- additional changes from version 3.4.1:
+  * Ported the repository from GoogleCode to GitHub and added
+Travis CI support
+  * Tests are executed with the new command `python test.py -v`
+  * setuptools is now mandatory in Python 3
+  * The suggested installation tool is `pip`, not `easy_install`
+  * Supported IronPython and other Python implementations without
+sys._getframe, as requested by Doug Blank
+- remove python-nose from BuildRequires, unneeded
+- replace README.txt with README.rst: changed upstream
+
+---

Old:

  decorator-3.4.0.tar.gz

New:

  decorator-3.4.2.tar.gz



Other differences:
--
++ python-decorator.spec ++
--- /var/tmp/diff_new_pack.Ncqd1R/_old  2015-05-05 00:56:00.0 +0200
+++ /var/tmp/diff_new_pack.Ncqd1R/_new  2015-05-05 00:56:00.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-decorator
 #
-# 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-decorator
-Version:3.4.0
+Version:3.4.2
 Release:0
 Url:http://pypi.python.org/pypi/decorator
 Summary:Better living through Python with decorators
@@ -26,7 +26,6 @@
 Source: 
http://pypi.python.org/packages/source/d/decorator/decorator-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
-BuildRequires:  python-nose
 BuildRequires:  python-setuptools
 %if 0%{?suse_version}
 %py_requires
@@ -50,7 +49,7 @@
 
 %prep
 %setup -q -n decorator-%{version}
-sed -i 's/\r//' README.txt # Fix EOL encoding
+sed -i 's/\r//' README.rst # Fix EOL encoding
 
 %build
 python setup.py build
@@ -60,7 +59,7 @@
 
 %files
 %defattr(-,root,root,-)
-%doc README.txt
+%doc README.rst
 %{python_sitelib}/decorator.py
 %{python_sitelib}/decorator.pyc
 %{python_sitelib}/decorator-%{version}-py%{py_ver}.egg-info

++ decorator-3.4.0.tar.gz - decorator-3.4.2.tar.gz ++
 2975 lines of diff (skipped)




commit python-decorator for openSUSE:Factory

2013-10-25 Thread h_root
Hello community,

here is the log from the commit of package python-decorator for 
openSUSE:Factory checked in at 2013-10-25 11:13:05

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


Package is python-decorator

Changes:

--- /work/SRC/openSUSE:Factory/python-decorator/python-decorator.changes
2013-06-25 17:23:51.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-decorator.new/python-decorator.changes   
2013-10-25 11:13:06.0 +0200
@@ -1,0 +2,5 @@
+Thu Oct 24 11:01:04 UTC 2013 - speili...@suse.com
+
+- Require python-setuptools instead of distribute (upstreams merged)
+
+---



Other differences:
--
++ python-decorator.spec ++
--- /var/tmp/diff_new_pack.7tCwng/_old  2013-10-25 11:13:07.0 +0200
+++ /var/tmp/diff_new_pack.7tCwng/_new  2013-10-25 11:13:07.0 +0200
@@ -26,8 +26,8 @@
 Source: 
http://pypi.python.org/packages/source/d/decorator/decorator-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
-BuildRequires:  python-distribute
 BuildRequires:  python-nose
+BuildRequires:  python-setuptools
 %if 0%{?suse_version}
 %py_requires
 %if 0%{?suse_version}  1110

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-decorator for openSUSE:Factory

2013-06-25 Thread h_root
Hello community,

here is the log from the commit of package python-decorator for 
openSUSE:Factory checked in at 2013-06-25 17:19:01

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


Package is python-decorator

Changes:

--- /work/SRC/openSUSE:Factory/python-decorator/python-decorator.changes
2012-05-29 10:35:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-decorator.new/python-decorator.changes   
2013-06-25 17:23:51.0 +0200
@@ -1,0 +2,9 @@
+Tue Jun 25 12:01:33 UTC 2013 - dmuel...@suse.com
+
+- update to 3.4.0:
+ * Added the ability to use classes and generic callables as callers and
+ implemented a signature-preserving contexmanager decorator. Fixed a bug
+ with the signature f(**kw) in Python 3 and fixed a couple of doctests
+ broken by Python 3.3, both issues pointed out by Dominic Sacré (18/10/2012)
+
+---

Old:

  decorator-3.3.3.tar.gz

New:

  decorator-3.4.0.tar.gz



Other differences:
--
++ python-decorator.spec ++
--- /var/tmp/diff_new_pack.LrleRw/_old  2013-06-25 17:23:52.0 +0200
+++ /var/tmp/diff_new_pack.LrleRw/_new  2013-06-25 17:23:52.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python-decorator
-Version:3.3.3
+Version:3.4.0
 Release:0
 Url:http://pypi.python.org/pypi/decorator
 Summary:Better living through Python with decorators

++ decorator-3.3.3.tar.gz - decorator-3.4.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/decorator-3.3.3/PKG-INFO new/decorator-3.4.0/PKG-INFO
--- old/decorator-3.3.3/PKG-INFO2012-04-23 16:52:05.0 +0200
+++ new/decorator-3.4.0/PKG-INFO2012-10-18 10:53:16.0 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.0
+Metadata-Version: 1.1
 Name: decorator
-Version: 3.3.3
+Version: 3.4.0
 Summary: Better living through Python with decorators
 Home-page: http://pypi.python.org/pypi/decorator
 Author: Michele Simionato
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/decorator-3.3.3/documentation.py 
new/decorator-3.4.0/documentation.py
--- old/decorator-3.3.3/documentation.py2011-11-09 15:21:29.0 
+0100
+++ new/decorator-3.4.0/documentation.py2012-10-18 10:48:36.0 
+0200
@@ -340,18 +340,16 @@
 implemented as a function returning a decorator.
 For more complex situations, it is more
 convenient to implement decorator factories as classes returning
-callable objects that can be used as signature-preserving
-decorators. The suggested pattern to do that is to introduce
-a helper method ``call(self, func, *args, **kw)`` and to call
-it in the ``__call__(self, func)`` method.
+callable objects that can be converted into decorators. 
 
-As an example, here I show a decorator
+As an example, here will I show a decorator
 which is able to convert a blocking function into an asynchronous
 function. The function, when called, 
 is executed in a separate thread. Moreover, it is possible to set
 three callbacks ``on_success``, ``on_failure`` and ``on_closing``,
-to specify how to manage the function call.
-The implementation is the following:
+to specify how to manage the function call (of course the code here
+is just an example, it is not a recommended way of doing multi-threaded
+programming). The implementation is the following:
 
 $$on_success
 $$on_failure
@@ -369,7 +367,7 @@
 
 .. code-block:: python
 
-  async = Async(threading.Thread)
+  async = decorator(Async(threading.Thread))
 
   datalist = [] # for simplicity the written data are stored into a list.
 
@@ -399,6 +397,71 @@
   print datalist
  ['data1', 'data2']
 
+contextmanager
+-
+
+For a long time Python had in its standard library a ``contextmanager``
+decorator, able to convert generator functions into ``GeneratorContextManager``
+factories. For instance if you write
+
+.. code-block:: python
+
+  from contextlib import contextmanager
+  @contextmanager
+ ... def before_after(before, after):
+ ... print(before)
+ ... yield
+ ... print(after)
+
+
+then ``before_after`` is a factory function returning
+``GeneratorContextManager`` objects which can be used with 
+the ``with`` statement:
+
+.. code-block:: python
+
+  ba = before_after('BEFORE', 'AFTER')
+  type(ba)
+ class 'contextlib.GeneratorContextManager'
+  with ba:
+ ... print 'hello'
+ BEFORE
+ hello
+ AFTER
+
+Basically, it is as if the content of the ``with`` block was executed
+in the place of the ``yield`` expression in the generator function.
+In Python 3.2 

commit python-decorator for openSUSE:Factory

2013-06-19 Thread h_root
Hello community,

here is the log from the commit of package python-decorator for 
openSUSE:Factory checked in at 2013-06-19 16:28:22

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


Package is python-decorator

Changes:


Old:

  python3-decorator.changes
  python3-decorator.spec



Other differences:
--
++ python-decorator.spec ++
--- /var/tmp/diff_new_pack.dHyK4v/_old  2013-06-19 16:28:24.0 +0200
+++ /var/tmp/diff_new_pack.dHyK4v/_new  2013-06-19 16:28:24.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-decorator
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products 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,7 +16,6 @@
 #
 
 
-
 Name:   python-decorator
 Version:3.3.3
 Release:0

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-decorator for openSUSE:Factory

2012-11-26 Thread h_root
Hello community,

here is the log from the commit of package python-decorator for 
openSUSE:Factory checked in at 2012-11-26 19:51:43

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


Package is python-decorator, Maintainer is cth...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/python-decorator/python3-decorator.changes   
2012-06-15 14:05:23.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-decorator.new/python3-decorator.changes  
2012-11-26 19:57:27.0 +0100
@@ -1,0 +2,5 @@
+Thu Nov 22 13:47:34 UTC 2012 - toddrme2...@gmail.com
+
+- Removed openSUSE 11.4 spec file workarounds
+
+---



Other differences:
--
++ python3-decorator.spec ++
--- /var/tmp/diff_new_pack.IrakuK/_old  2012-11-26 19:57:44.0 +0100
+++ /var/tmp/diff_new_pack.IrakuK/_new  2012-11-26 19:57:44.0 +0100
@@ -25,16 +25,11 @@
 Group:  Development/Languages/Python
 Source: 
http://pypi.python.org/packages/source/d/decorator/decorator-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  python3
 BuildRequires:  python3-2to3
 BuildRequires:  python3-devel
 BuildRequires:  python3-distribute
 BuildRequires:  python3-nose
-%if 0%{?suse_version}  0%{?suse_version} = 1140
-%{!?python3_sitelib: %global python3_sitelib %(python3 -c from 
distutils.sysconfig import get_python_lib; print(get_python_lib()))}
-%{!?py3_ver: %global py3_ver %(python3 -c import sys; 
version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); 
print(version) 2/dev/null || echo PYTHON-NOT-FOUND)}
-%else
-BuildRequires:  python3-base
-%endif
 Requires:   python(abi) = %{py3_ver}
 BuildArch:  noarch
 
@@ -66,8 +61,5 @@
 %doc README.txt
 %{python3_sitelib}/decorator.py*
 %{python3_sitelib}/decorator-%{version}-py%{py3_ver}.egg-info
-%if 0%{?suse_version} = 1140
-%dir %{_prefix}/lib/python%{py3_ver}
-%endif
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-decorator for openSUSE:Factory

2012-06-15 Thread h_root
Hello community,

here is the log from the commit of package python-decorator for 
openSUSE:Factory checked in at 2012-06-15 14:05:21

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


Package is python-decorator, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/python-decorator/python3-decorator.changes   
2012-05-29 10:35:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-decorator.new/python3-decorator.changes  
2012-06-15 14:05:23.0 +0200
@@ -1,0 +2,6 @@
+Thu Jun 14 12:06:48 UTC 2012 - toddrme2...@gmail.com
+
+- Fix building on openSUSE = 12.1
+- Minor spec file cleanups
+
+---



Other differences:
--
++ python3-decorator.spec ++
--- /var/tmp/diff_new_pack.H8W8Wr/_old  2012-06-15 14:05:24.0 +0200
+++ /var/tmp/diff_new_pack.H8W8Wr/_new  2012-06-15 14:05:24.0 +0200
@@ -16,7 +16,6 @@
 #
 
 
-
 Name:   python3-decorator
 Version:3.3.3
 Release:0
@@ -26,23 +25,18 @@
 Group:  Development/Languages/Python
 Source: 
http://pypi.python.org/packages/source/d/decorator/decorator-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  python3-2to3
 BuildRequires:  python3-devel
 BuildRequires:  python3-distribute
 BuildRequires:  python3-nose
-BuildRequires: python3-2to3
-
 %if 0%{?suse_version}  0%{?suse_version} = 1140
 %{!?python3_sitelib: %global python3_sitelib %(python3 -c from 
distutils.sysconfig import get_python_lib; print(get_python_lib()))}
 %{!?py3_ver: %global py3_ver %(python3 -c import sys; 
version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); 
print(version) 2/dev/null || echo PYTHON-NOT-FOUND)}
-%endif
-Requires:   python(abi) = %{py3_ver}
-%if 0%{?suse_version}  0%{?suse_version}  1140
+%else
 BuildRequires:  python3-base
 %endif
-
-%if %{?suse_version: %{suse_version}  1110} %{!?suse_version:1}
-BuildArchitectures: noarch
-%endif
+Requires:   python(abi) = %{py3_ver}
+BuildArch:  noarch
 
 %description
 As of now, writing custom decorators correctly requires some experience and it
@@ -65,9 +59,7 @@
 
 %install
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
-%if 0%{?suse_version}  1210
-rm -r %{buildroot}%{python3_sitelib}/__pycache__/
-%endif
+rm -rf %{buildroot}%{python3_sitelib}/__pycache__/
 
 %files
 %defattr(-,root,root,-)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-decorator for openSUSE:Factory

2012-05-29 Thread h_root
Hello community,

here is the log from the commit of package python-decorator for 
openSUSE:Factory checked in at 2012-05-29 10:35:18

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


Package is python-decorator, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/python-decorator/python-decorator.changes
2012-02-16 12:26:56.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-decorator.new/python-decorator.changes   
2012-05-29 10:35:26.0 +0200
@@ -1,0 +2,7 @@
+Wed May 23 07:56:17 UTC 2012 - highwaystar...@gmail.com
+
+- update to version 3.3.3
+- minor spec improvement
+- python3 package added 
+
+---
New Changes file:

--- /dev/null   2012-05-03 01:24:41.895590051 +0200
+++ /work/SRC/openSUSE:Factory/.python-decorator.new/python3-decorator.changes  
2012-05-29 10:35:26.0 +0200
@@ -0,0 +1,11 @@
+---
+Fri May 25 08:33:12 UTC 2012 - toddrme2...@gmail.com
+
+- Fix building on openSUSE 11.4
+- spec file cleanups
+
+---
+Wed May 23 07:56:47 UTC 2012 - highwaystar...@gmail.com
+
+- python3-decorator package added 
+

Old:

  decorator-3.3.2.tar.gz

New:

  decorator-3.3.3.tar.gz
  python3-decorator.changes
  python3-decorator.spec



Other differences:
--
++ python-decorator.spec ++
--- /var/tmp/diff_new_pack.oXhh5Q/_old  2012-05-29 10:35:27.0 +0200
+++ /var/tmp/diff_new_pack.oXhh5Q/_new  2012-05-29 10:35:27.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-decorator
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 
 Name:   python-decorator
-Version:3.3.2
+Version:3.3.3
 Release:0
 Url:http://pypi.python.org/pypi/decorator
 Summary:Better living through Python with decorators
@@ -62,6 +62,8 @@
 %files
 %defattr(-,root,root,-)
 %doc README.txt
-%{python_sitelib}/*
+%{python_sitelib}/decorator.py
+%{python_sitelib}/decorator.pyc
+%{python_sitelib}/decorator-%{version}-py%{py_ver}.egg-info
 
 %changelog

++ python3-decorator.spec ++
#
# spec file for package python3-decorator
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An Open Source License is a
# 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/
#



Name:   python3-decorator
Version:3.3.3
Release:0
Url:http://pypi.python.org/pypi/decorator
Summary:Better living through Python with decorators
License:BSD-2-Clause
Group:  Development/Languages/Python
Source: 
http://pypi.python.org/packages/source/d/decorator/decorator-%{version}.tar.gz
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python3-devel
BuildRequires:  python3-distribute
BuildRequires:  python3-nose
BuildRequires:  python3-2to3

%if 0%{?suse_version}  0%{?suse_version} = 1140
%{!?python3_sitelib: %global python3_sitelib %(python3 -c from 
distutils.sysconfig import get_python_lib; print(get_python_lib()))}
%{!?py3_ver: %global py3_ver %(python3 -c import sys; 
version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); 
print(version) 2/dev/null || echo PYTHON-NOT-FOUND)}
%endif
Requires:   python(abi) = %{py3_ver}
%if 0%{?suse_version}  0%{?suse_version}  1140
BuildRequires:  python3-base
%endif

%if %{?suse_version: %{suse_version}  1110} %{!?suse_version:1}
BuildArchitectures: noarch
%endif

%description
As of now, writing custom decorators correctly requires some experience and it
is not as easy as it could be. For instance, typical implementations of
decorators involve nested functions, and we all know that flat is better than
nested. Moreover, typical implementations of decorators do not preserve the
signature of decorated functions, thus confusing 

commit python-decorator for openSUSE:Factory

2012-02-16 Thread h_root
Hello community,

here is the log from the commit of package python-decorator for 
openSUSE:Factory checked in at 2012-02-16 12:26:55

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


Package is python-decorator, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/python-decorator/python-decorator.changes
2011-12-06 13:53:18.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-decorator.new/python-decorator.changes   
2012-02-16 12:26:56.0 +0100
@@ -1,0 +2,6 @@
+Tue Nov 29 19:14:17 UTC 2011 - cfarr...@suse.com
+
+- license update: BSD-2-Clause
+  SPDX format
+
+---



Other differences:
--
++ python-decorator.spec ++
--- /var/tmp/diff_new_pack.4XNk1W/_old  2012-02-16 12:26:58.0 +0100
+++ /var/tmp/diff_new_pack.4XNk1W/_new  2012-02-16 12:26:58.0 +0100
@@ -22,7 +22,7 @@
 Release:0
 Url:http://pypi.python.org/pypi/decorator
 Summary:Better living through Python with decorators
-License:BSD License
+License:BSD-2-Clause
 Group:  Development/Languages/Python
 Source: 
http://pypi.python.org/packages/source/d/decorator/decorator-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org