forked from pool/python-python3-openid
Accepting request 811893 from home:mcalabkova:branches:devel:languages:python
OK, now it works somehow... - replace nose (and launch tests) OBS-URL: https://build.opensuse.org/request/show/811893 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python3-openid?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
45b0ea1d0b
commit
caf7a2ce4e
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 4 12:01:43 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
- replace nose (and launch tests)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 4 12:53:14 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
Tue Dec 4 12:53:14 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-python3-openid
|
# spec file for package python-python3-openid
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -19,14 +19,14 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
# tests are partly broken
|
# tests are partly broken
|
||||||
%bcond_with tests
|
%bcond_without test
|
||||||
Name: python-python3-openid
|
Name: python-python3-openid
|
||||||
Version: 3.1.0
|
Version: 3.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: OpenID support for modern servers and consumers
|
Summary: OpenID support for modern servers and consumers
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: http://github.com/necaris/python3-openid
|
URL: https://github.com/necaris/python3-openid
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/python3-openid/python3-openid-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/python3-openid/python3-openid-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@@ -34,8 +34,10 @@ BuildRequires: python-rpm-macros
|
|||||||
Requires: python-defusedxml
|
Requires: python-defusedxml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
|
BuildRequires: %{python_module Django}
|
||||||
BuildRequires: %{python_module defusedxml}
|
BuildRequires: %{python_module defusedxml}
|
||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module mysqlclient}
|
||||||
|
BuildRequires: %{python_module psycopg2}
|
||||||
%endif
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -58,7 +60,7 @@ Includes example code and support for a variety of storage back-ends.
|
|||||||
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
%python_expand nosetests-%{$python_bin_suffix} --where=openid/test
|
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m unittest openid.test.test_suite
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
Reference in New Issue
Block a user