15
0

Accepting request 674686 from home:TheBlackCat:branches:devel:languages:python

- 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.

OBS-URL: https://build.opensuse.org/request/show/674686
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=40
This commit is contained in:
Todd R
2019-02-13 17:55:13 +00:00
committed by Git OBS Bridge
parent f17cfb2da4
commit 787b8e8efe
4 changed files with 23 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c39efa13fbdeb4506c476c9b3babf6a718da943dab7811c206005a4a956c080c
size 33758

3
decorator-4.3.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33cd704aea07b4c28b3eb2c97d288a06918275dac0ecebdaf1bc8a48d98adb9e
size 34892

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed Feb 13 17:32:05 UTC 2019 - Todd R <toddrme2178@gmail.com>
- 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.
-------------------------------------------------------------------
Tue Dec 4 12:47:11 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -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 @@ 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 setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
@@ -43,17 +44,18 @@ redirecting_stdout, locked, etc. more accessible.
%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