14
0

Accepting request 697836 from home:pgajdos

- version update to 0.9.2
  * fix a situation in .help() where some code where colorized
    twice by Hanaasagi https://github.com/PyCQA/redbaron/pull/182
  * fix .names() and variations that didn't handle the case where
    there was "()" on FromImport nodes
  * full python 3.7 syntax support
  * BREAKING CHANGE: annotations are now member of
    {Def,List,Dict}Argument to flatten the data structure,
    TypedNameNode doesn't exist anymore
  * add support for return annotation by bram
  * add support for variable annotation
    https://github.com/PyCQA/redbaron/pull/177 by scottbelden
    and additional work by bram
  * add support for raise from by bram
- run tests

OBS-URL: https://build.opensuse.org/request/show/697836
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redbaron?expand=0&rev=4
This commit is contained in:
Tomáš Chvátal
2019-04-25 12:48:20 +00:00
committed by Git OBS Bridge
parent 1d235fd371
commit 73be0f4a0d
4 changed files with 29 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-redbaron
#
# 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
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-redbaron
Version: 0.8
Version: 0.9.2
Release: 0
Summary: Python module for writing code that modifies source code
License: LGPL-3.0-or-later
@@ -33,6 +33,7 @@ Requires: python-baron >= 0.7
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module baron >= 0.7}
BuildRequires: %{python_module pytest}
# /SECTION
%python_subpackages
@@ -52,6 +53,10 @@ IPython.
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
rm -r tests/__pycache__
%pytest
%files %{python_files}
%doc CHANGELOG README.md
%{python_sitelib}/*