Accepting request 555884 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/555884
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yarl?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2017-12-14 09:56:33 +00:00 committed by Git OBS Bridge
commit 23da42a0f5
4 changed files with 21 additions and 10 deletions

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Sat Dec 9 17:54:08 UTC 2017 - arun@gmx.de
- removed test conditional as requested in SR 555310
- enabled tests
- require pytest-runner
-------------------------------------------------------------------
Fri Dec 8 18:05:15 UTC 2017 - arun@gmx.de
- update to version 0.16.0:
* Fix raising TypeError by url.query_string() after
url.with_query({}) (empty mapping) #141
-------------------------------------------------------------------
Sun Nov 26 21:20:07 UTC 2017 - arun@gmx.de

View File

@ -18,9 +18,8 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%bcond_without test
Name: python-yarl
Version: 0.15.0
Version: 0.16.0
Release: 0
Summary: Yet another URL library
License: Apache-2.0
@ -31,10 +30,10 @@ BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
%if %{with test}
# test requirements
BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module pytest}
BuildRequires: python3-multidict >= 2.0
%endif
%ifpython3
Requires: python3-multidict >= 2.0
%endif
@ -56,9 +55,7 @@ export CFLAGS="%{optflags}"
%python_install
%check
%if %{with test}
# Tests fail unable to import modules.
%endif
%python_exec setup.py test
%files %{python_files}
%defattr(-,root,root,-)

View File

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

3
yarl-0.16.0.tar.gz Normal file
View File

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