forked from pool/python-pystache
Accepting request 818343 from home:pgajdos:python
- switch from nose to pytest OBS-URL: https://build.opensuse.org/request/show/818343 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pystache?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
6b73122c6c
commit
c914e8e621
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pystache
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,7 +12,7 @@
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
@@ -23,9 +23,9 @@ Release: 0
|
||||
Summary: Mustache for Python
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: http://github.com/defunkt/pystache
|
||||
URL: https://github.com/defunkt/pystache
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pystache/pystache-%{version}.tar.gz
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -58,7 +58,7 @@ https://github.com/mustache/spec.
|
||||
%{python_expand %fdupes %{buildroot}%$python_sitelib/}
|
||||
|
||||
%check
|
||||
%{python_expand nosetests-%$python_bin_suffix build/lib/pystache/}
|
||||
%pytest build/lib/pystache
|
||||
|
||||
%post
|
||||
%{python_install_alternative pystache pystache-test}
|
||||
|
Reference in New Issue
Block a user