commit python-astor for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/af22e20b6884acbc89be6d7736c43e92.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package python-astor for openSUSE:Factory checked in at 2019-09-11 10:39:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-astor (Old) and /work/SRC/openSUSE:Factory/.python-astor.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-astor" Wed Sep 11 10:39:58 2019 rev:3 rq:729897 version:0.8 Changes: -------- --- /work/SRC/openSUSE:Factory/python-astor/python-astor.changes 2019-06-03 18:56:40.876399680 +0200 +++ /work/SRC/openSUSE:Factory/.python-astor.new.7948/python-astor.changes 2019-09-11 10:39:58.703224488 +0200 @@ -1,0 +2,6 @@ +Tue Sep 10 13:45:54 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> + +- Add patch to build with py 3.8: + * python38.patch + +------------------------------------------------------------------- New: ---- python38.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-astor.spec ++++++ --- /var/tmp/diff_new_pack.SV4VH6/_old 2019-09-11 10:39:59.127224413 +0200 +++ /var/tmp/diff_new_pack.SV4VH6/_new 2019-09-11 10:39:59.131224412 +0200 @@ -17,24 +17,23 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} - Name: python-astor Version: 0.8 Release: 0 Summary: Read/rewrite/write Python ASTs License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/berkerpeksag/astor +URL: https://github.com/berkerpeksag/astor Source: https://github.com/berkerpeksag/astor/archive/%{version}.tar.gz#/astor-%{version}.tar.gz +Patch0: python38.patch BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module nose} BuildRequires: python2-unittest2 # /SECTION -BuildRequires: fdupes -BuildRequires: python-rpm-macros -BuildArch: noarch - %python_subpackages %description @@ -63,6 +62,7 @@ %prep %setup -q -n astor-%{version} +%patch0 -p1 # ugly fix for the use of /usr/bin/env sed -i 's@env @@' astor/rtrip.py ++++++ python38.patch ++++++
From ab682f6ded42f0a779986a31d8bc033e4d8ae909 Mon Sep 17 00:00:00 2001 From: isidentical <batuhanosmantaskaya@gmail.com> Date: Mon, 2 Sep 2019 20:07:41 +0300 Subject: [PATCH] put 2 newlines between func defs, resolves #156
--- tests/test_code_gen.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_code_gen.py b/tests/test_code_gen.py index 3cb7e64..c4935ae 100644 --- a/tests/test_code_gen.py +++ b/tests/test_code_gen.py @@ -171,9 +171,11 @@ def test_positional_only_arguments(self): def test(a, b, /, c, *, d, **kwargs): pass + def test(a=3, b=4, /, c=7): pass + def test(a, b=4, /, c=8, d=9): pass """
participants (1)
-
root