15
0

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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=42
This commit is contained in:
Tomáš Chvátal
2019-03-19 15:19:51 +00:00
committed by Git OBS Bridge
parent 787b8e8efe
commit f9c8c76296
4 changed files with 17 additions and 7 deletions

View File

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

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

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

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Mar 19 15:15:40 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- 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.
-------------------------------------------------------------------
Wed Feb 13 17:32:05 UTC 2019 - Todd R <toddrme2178@gmail.com>

View File

@@ -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 @@ redirecting_stdout, locked, etc. more accessible.
%prep
%setup -q -n decorator-%{version}
sed -i 's/\r//' README.rst # Fix EOL encoding
%build
%python_build
@@ -53,9 +53,12 @@ sed -i 's/\r//' README.rst # Fix EOL encoding
%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