SHA256
1
0
forked from pool/python-click

Accepting request 485697 from devel:languages:python

- better test runner that works with pypy (forwarded request 485696 from matejcik)

OBS-URL: https://build.opensuse.org/request/show/485697
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-click?expand=0&rev=5
This commit is contained in:
Yuchen Lin 2017-04-11 07:44:50 +00:00 committed by Git OBS Bridge
commit f27e6ccf47
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