Accepting request 697869 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/697869
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parse?expand=0&rev=5
This commit is contained in:
Yuchen Lin 2019-04-28 18:11:20 +00:00 committed by Git OBS Bridge
commit 8701dc5ea9
5 changed files with 37 additions and 5 deletions

19
LICENSE Normal file
View File

@ -0,0 +1,19 @@
Copyright (c) 2012-2019 Richard Jones <richard@python.org>
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.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:870dd675c1ee8951db3e29b81ebe44fd131e3eb8c03a79483a58ea574f3145c2
size 37027

3
parse-1.12.0.tar.gz Normal file
View File

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

View File

@ -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 <mcepl@suse.com>

View File

@ -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}/*