15
0
forked from pool/python-parso

Accepting request 597314 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/597314
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parso?expand=0&rev=2
This commit is contained in:
2018-04-19 13:29:27 +00:00
committed by Git OBS Bridge
4 changed files with 21 additions and 13 deletions

View File

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

3
parso-0.2.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Apr 17 01:53:46 UTC 2018 - arun@gmx.de
- specfile:
* update copyright year
- update to version 0.2.0:
* f-strings are now parsed as a part of the normal Python
grammar. This makes it way easier to deal with them.
-------------------------------------------------------------------
Thu Nov 9 06:12:31 UTC 2017 - arun@gmx.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-parso
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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,20 +18,19 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-parso
Version: 0.1.1
Version: 0.2.0
Release: 0
Summary: An autocompletion tool for Python
License: MIT and Python-2.0
License: MIT AND Python-2.0
Group: Development/Languages/Python
Url: https://github.com/davidhalter/parso
URL: https://github.com/davidhalter/parso
Source0: https://files.pythonhosted.org/packages/source/p/parso/parso-%{version}.tar.gz
BuildRequires: %{python_module devel}
# Test requirements
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# Test requirements
BuildRequires: %{python_module pytest}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@@ -47,7 +46,6 @@ useful for other projects as well.
Parso consists of a small API to parse Python and analyse the syntax
tree.
%prep
%setup -q -n parso-%{version}
@@ -62,8 +60,8 @@ tree.
%python_exec setup.py test
%files %{python_files}
%defattr(-,root,root,-)
%doc AUTHORS.txt CHANGELOG.rst LICENSE.txt README.rst
%license LICENSE.txt
%doc AUTHORS.txt CHANGELOG.rst README.rst
%{python_sitelib}/parso-%{version}-py*.egg-info
%{python_sitelib}/parso/