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,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 2 14:07:09 UTC 2020 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- switch from nose to pytest
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 16 12:31:15 UTC 2018 - tchvatal@suse.com
|
Mon Jul 16 12:31:15 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pystache
|
# 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
|
# 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
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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
|
Summary: Mustache for Python
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
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
|
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: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -58,7 +58,7 @@ https://github.com/mustache/spec.
|
|||||||
%{python_expand %fdupes %{buildroot}%$python_sitelib/}
|
%{python_expand %fdupes %{buildroot}%$python_sitelib/}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{python_expand nosetests-%$python_bin_suffix build/lib/pystache/}
|
%pytest build/lib/pystache
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{python_install_alternative pystache pystache-test}
|
%{python_install_alternative pystache pystache-test}
|
||||||
|
Reference in New Issue
Block a user