Accepting request 647569 from home:czerw:branches:devel:languages:python

- Removed copied link reference from spec file

OBS-URL: https://build.opensuse.org/request/show/647569
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=3
This commit is contained in:
Petr Cervinka 2018-11-09 12:06:02 +00:00 committed by Git OBS Bridge
parent f5e8ae4b21
commit 7e4902820a
2 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Nov 9 12:03:52 UTC 2018 - Petr Cervinka <petr@cervinka.net>
- Removed copied link reference from spec file
-------------------------------------------------------------------
Fri Nov 9 10:27:55 UTC 2018 - cgoll@suse.com

View File

@ -12,7 +12,8 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
@ -20,14 +21,14 @@
Name: python-astor
Version: 0.7.1
Release: 0
License: BSD-3-Clause
Summary: Read/rewrite/write Python ASTs
Url: https://github.com/berkerpeksag/astor
License: BSD-3-Clause
Group: Development/Languages/Python
Url: https://github.com/berkerpeksag/astor
Source: https://github.com/berkerpeksag/astor/archive/%{version}.tar.gz#/astor-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
@ -35,7 +36,7 @@ BuildArch: noarch
%description
astor is designed to allow easy manipulation of Python source via the AST.
There are some other similar libraries, but astor focuses on the following areas:
- Round-trip an AST back to Python [1]_:
- Round-trip an AST back to Python:
- Modified AST doesn't need linenumbers, ctx, etc. or otherwise
be directly compileable for the round-trip to work.
- Easy to read generated code as, well, code
@ -60,6 +61,7 @@ There are some other similar libraries, but astor focuses on the following areas
%setup -q -n astor-%{version}
# ugly fix for the use of /usr/bin/env
sed -i 's@env @@' astor/rtrip.py
%build
%python_build