14
0

Accepting request 682137 from devel:languages:python

- Update to 1.6.2:
  * Python 3.7 compatibility
  * Fix the roundtripping of very complex f-strings.
  * Add support for the Constant node in Python 3.8
  * Add tests to the sdist
- Execute tests

OBS-URL: https://build.opensuse.org/request/show/682137
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astunparse?expand=0&rev=3
This commit is contained in:
2019-03-06 14:52:38 +00:00
committed by Git OBS Bridge
4 changed files with 23 additions and 8 deletions

View File

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

3
astunparse-1.6.2.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Mar 6 12:29:21 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.6.2:
* Python 3.7 compatibility
* Fix the roundtripping of very complex f-strings.
* Add support for the Constant node in Python 3.8
* Add tests to the sdist
- Execute tests
-------------------------------------------------------------------
Tue Dec 4 12:45:45 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-astunparse
#
# 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,19 +18,21 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-astunparse
Version: 1.5.0
Version: 1.6.2
Release: 0
Summary: An AST unparser for Python
License: BSD-3-Clause AND Python-2.0
Group: Development/Languages/Python
Url: https://github.com/simonpercivall/astunparse
URL: https://github.com/simonpercivall/astunparse
Source: https://files.pythonhosted.org/packages/source/a/astunparse/astunparse-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.6.1}
BuildRequires: %{python_module wheel >= 0.23.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-six >= 1.6.1
Requires: python-wheel >= 0.23.0
BuildArch: noarch
%python_subpackages
%description
@@ -56,8 +58,11 @@ Added to this is a pretty-printing dump utility function.
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%files %{python_files}
%doc AUTHORS.rst README.rst
%doc AUTHORS.rst README.rst HISTORY.rst
%license LICENSE
%{python_sitelib}/*