15
0

Accepting request 919130 from home:pgajdos:python

- %check: note tests are online, do not run them

OBS-URL: https://build.opensuse.org/request/show/919130
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fake-useragent?expand=0&rev=3
This commit is contained in:
2021-09-15 12:09:27 +00:00
committed by Git OBS Bridge
parent 29f994ff6e
commit ca9b5e8deb
2 changed files with 12 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Sep 15 10:31:22 UTC 2021 - pgajdos@suse.com
- %check: note tests are online, do not run them
-------------------------------------------------------------------
Thu Apr 4 00:40:32 UTC 2019 - Todd R <toddrme2178@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-fake-useragent
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -13,6 +13,7 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
@@ -21,15 +22,15 @@ Version: 0.1.11
Release: 0
License: Apache-2.0
Summary: Useragent faker package for Python
Url: https://github.com/hellysmile/fake-useragent
URL: https://github.com/hellysmile/fake-useragent
Group: Development/Languages/Python
Source: https://github.com/hellysmile/fake-useragent/archive/%{version}.tar.gz#/fake-useragent-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytest-cov}
# /SECTION
BuildArch: noarch
@@ -49,7 +50,8 @@ Useragent faker with real world database.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
# online tests
#%%pytest
%files %{python_files}
%license LICENSE