From 3fc92a0c94313ef63f2bffd56442efe4a2e80460f41c531a1ed55a5ce42f73a8 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 25 Apr 2019 15:18:28 +0000 Subject: [PATCH] Accepting request 697837 from home:pgajdos - version update to 1.12.0 * Do not assume closing brace when an opening one is found - added sources https://github.com/r1chardj0n3s/parse/issues/82 + LICENSE OBS-URL: https://build.opensuse.org/request/show/697837 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parse?expand=0&rev=11 --- LICENSE | 19 +++++++++++++++++++ parse-1.11.1.tar.gz | 3 --- parse-1.12.0.tar.gz | 3 +++ python-parse.changes | 9 +++++++++ python-parse.spec | 8 ++++++-- 5 files changed, 37 insertions(+), 5 deletions(-) create mode 100644 LICENSE delete mode 100644 parse-1.11.1.tar.gz create mode 100644 parse-1.12.0.tar.gz diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..e448c67 --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2012-2019 Richard Jones + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/parse-1.11.1.tar.gz b/parse-1.11.1.tar.gz deleted file mode 100644 index 8c15eac..0000000 --- a/parse-1.11.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:870dd675c1ee8951db3e29b81ebe44fd131e3eb8c03a79483a58ea574f3145c2 -size 37027 diff --git a/parse-1.12.0.tar.gz b/parse-1.12.0.tar.gz new file mode 100644 index 0000000..3f8f00f --- /dev/null +++ b/parse-1.12.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b68657434d371e5156048ca4a0c5aea5afc6ca59a2fea4dd1a575354f617142 +size 37213 diff --git a/python-parse.changes b/python-parse.changes index d838560..c00f938 100644 --- a/python-parse.changes +++ b/python-parse.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Apr 25 11:47:55 UTC 2019 - pgajdos@suse.com + +- version update to 1.12.0 + * Do not assume closing brace when an opening one is found +- added sources + https://github.com/r1chardj0n3s/parse/issues/82 + + LICENSE + ------------------------------------------------------------------- Thu Feb 14 10:29:49 CET 2019 - Matej Cepl diff --git a/python-parse.spec b/python-parse.spec index fc4390d..3f2667e 100644 --- a/python-parse.spec +++ b/python-parse.spec @@ -18,13 +18,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-parse -Version: 1.11.1 +Version: 1.12.0 Release: 0 Summary: Python module for parsing strings using a "format" syntax License: MIT Group: Development/Languages/Python URL: https://github.com/r1chardj0n3s/parse -Source: https://files.pythonhosted.org/packages/source/p/parse/parse-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/p/parse/parse-%{version}.tar.gz +# https://github.com/r1chardj0n3s/parse/issues/82 +Source1: https://raw.githubusercontent.com/r1chardj0n3s/parse/master/LICENSE BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -37,6 +39,7 @@ Parse strings using a specification based on the Python format() syntax. %prep %setup -q -n parse-%{version} chmod a-x README.rst +cp %{SOURCE1} . %build %python_build @@ -49,6 +52,7 @@ chmod a-x README.rst %python_exec setup.py test -v %files %{python_files} +%license LICENSE %doc README.rst %{python_sitelib}/*