14
0

Accepting request 693687 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/693687
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-user-agents?expand=0&rev=3
This commit is contained in:
2019-04-14 10:22:57 +00:00
committed by Git OBS Bridge
4 changed files with 14 additions and 9 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Apr 12 08:59:10 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- update to version 2.0
* python-user-agents now require ua-parser>=0.8.0.
-------------------------------------------------------------------
Wed Aug 8 15:34:51 UTC 2018 - jengelh@inai.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-user-agents
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@@ -12,13 +12,13 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-user-agents
Version: 1.1.0
Version: 2.0
Release: 0
Summary: A library to identify device capabilities (phones, tablets)
License: MIT
@@ -27,11 +27,11 @@ URL: https://github.com/selwin/python-user-agents
Source: https://github.com/selwin/python-user-agents/archive/v%{version}.tar.gz
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module ua-parser}
BuildRequires: %{python_module ua-parser >= 0.8.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-PyYAML
Requires: python-ua-parser
Requires: python-ua-parser >= 0.8.0
BuildArch: noarch
%python_subpackages
@@ -51,7 +51,6 @@ strings.
%python_expand %fdupes -s %{buildroot}/%{$python_sitelib}
%check
# 5 known failures in tests
%python_expand $python -m unittest discover ||:
%files %{python_files}

View File

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

3
v2.0.tar.gz Normal file
View File

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