From 818cab24cf872e19c409a36043982d2066a96da285e8f3367ff210d6e1ff6ca6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 17 Apr 2018 11:20:19 +0000 Subject: [PATCH] Accepting request 597431 from home:jengelh:branches:devel:languages:python - Ensure neutrality of description. OBS-URL: https://build.opensuse.org/request/show/597431 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=36 --- python-decorator.changes | 5 +++++ python-decorator.spec | 17 +++++++---------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/python-decorator.changes b/python-decorator.changes index 5010162..38dcaee 100644 --- a/python-decorator.changes +++ b/python-decorator.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 17 11:05:41 UTC 2018 - jengelh@inai.de + +- Ensure neutrality of description. + ------------------------------------------------------------------- Tue Apr 17 01:52:09 UTC 2018 - arun@gmx.de diff --git a/python-decorator.spec b/python-decorator.spec index fe659d2..6591c73 100644 --- a/python-decorator.spec +++ b/python-decorator.spec @@ -22,7 +22,7 @@ Name: python-decorator Version: 4.3.0 Release: 0 -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 @@ -34,16 +34,13 @@ 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. +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. -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. +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}