From 5d6baceea496cffa0fe176f67dfcebb63f1d4bb63eaa423f8fe0104956626598 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 6 Mar 2019 12:31:22 +0000 Subject: [PATCH] - 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/package/show/devel:languages:python/python-astunparse?expand=0&rev=5 --- astunparse-1.5.0.tar.gz | 3 --- astunparse-1.6.2.tar.gz | 3 +++ python-astunparse.changes | 10 ++++++++++ python-astunparse.spec | 15 ++++++++++----- 4 files changed, 23 insertions(+), 8 deletions(-) delete mode 100644 astunparse-1.5.0.tar.gz create mode 100644 astunparse-1.6.2.tar.gz diff --git a/astunparse-1.5.0.tar.gz b/astunparse-1.5.0.tar.gz deleted file mode 100644 index c5be586..0000000 --- a/astunparse-1.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:55df3c2a659d6cb6a9a9041c750a8232a9925523405a8dfeb891b92d45a589cd -size 12722 diff --git a/astunparse-1.6.2.tar.gz b/astunparse-1.6.2.tar.gz new file mode 100644 index 0000000..b956b57 --- /dev/null +++ b/astunparse-1.6.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dab3e426715373fd76cd08bb1abe64b550f5aa494cf1e32384f26fd60961eb67 +size 16339 diff --git a/python-astunparse.changes b/python-astunparse.changes index c519e3b..97440a8 100644 --- a/python-astunparse.changes +++ b/python-astunparse.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Mar 6 12:29:21 UTC 2019 - Tomáš Chvátal + +- 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 diff --git a/python-astunparse.spec b/python-astunparse.spec index 5ae3eb9..a6c1843 100644 --- a/python-astunparse.spec +++ b/python-astunparse.spec @@ -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}/*