From 48f6a4c268bd7b5ebb8fb26a319f9fa5d055b2f1ed329d90b20e1462255cf545 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 17 Apr 2018 06:36:07 +0000 Subject: [PATCH] Accepting request 597253 from home:apersaud:branches:devel:languages:python update to latest version OBS-URL: https://build.opensuse.org/request/show/597253 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parso?expand=0&rev=4 --- parso-0.1.1.tar.gz | 3 --- parso-0.2.0.tar.gz | 3 +++ python-parso.changes | 10 ++++++++++ python-parso.spec | 18 ++++++++---------- 4 files changed, 21 insertions(+), 13 deletions(-) delete mode 100644 parso-0.1.1.tar.gz create mode 100644 parso-0.2.0.tar.gz diff --git a/parso-0.1.1.tar.gz b/parso-0.1.1.tar.gz deleted file mode 100644 index 1b96784..0000000 --- a/parso-0.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5815f3fe254e5665f3c5d6f54f086c2502035cb631a91341591b5a564203cffb -size 379443 diff --git a/parso-0.2.0.tar.gz b/parso-0.2.0.tar.gz new file mode 100644 index 0000000..cfc6375 --- /dev/null +++ b/parso-0.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:62bd6bf7f04ab5c817704ff513ef175328676471bdef3629d4bdd46626f75551 +size 380532 diff --git a/python-parso.changes b/python-parso.changes index e61ae1c..5c44006 100644 --- a/python-parso.changes +++ b/python-parso.changes @@ -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 diff --git a/python-parso.spec b/python-parso.spec index ed6cbb9..b1ea366 100644 --- a/python-parso.spec +++ b/python-parso.spec @@ -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/