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,3 +1,22 @@
-------------------------------------------------------------------
Thu Apr 25 11:16:40 UTC 2019 - pgajdos@suse.com
- 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
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 30 13:43:45 UTC 2018 - Jan Engelhardt <jengelh@inai.de> Fri Nov 30 13:43:45 UTC 2018 - Jan Engelhardt <jengelh@inai.de>

View File

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

View File

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

3
redbaron-0.9.2.tar.gz Normal file
View File

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