Accepting request 485696 from devel:languages:python:singlespec

- better test runner that works with pypy

OBS-URL: https://build.opensuse.org/request/show/485696
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=13
This commit is contained in:
Jan Matejek 2017-04-04 15:51:51 +00:00 committed by Git OBS Bridge
parent 82403748ad
commit d5eff54bea
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Apr 4 15:50:59 UTC 2017 - jmatejek@suse.com
- better test runner that works with pypy
-------------------------------------------------------------------
Wed Mar 22 15:44:17 UTC 2017 - aloisio@gmx.com

View File

@ -24,7 +24,7 @@ Summary: A simple wrapper around optparse for powerful command line utili
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://github.com/mitsuhiko/click
Source: https://pypi.io/packages/source/c/click/click-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/c/click/click-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
@ -55,12 +55,12 @@ an intended CLI API.
%check
export LANG=en_US.UTF-8
%{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} %{_bindir}/py.test-%{$python_version} --tb=short}
%{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m pytest --tb=short}
%files %{python_files}
%defattr(-,root,root,-)
%doc CHANGES LICENSE README
%{python_sitelib}/click
%{python_sitelib}/click-%{version}-py%{py_ver}.egg-info
%{python_sitelib}/click-%{version}-py%{python_version}.egg-info
%changelog