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:
commit
f27e6ccf47
@ -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
|
Wed Mar 22 15:44:17 UTC 2017 - aloisio@gmx.com
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ Summary: A simple wrapper around optparse for powerful command line utili
|
|||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://github.com/mitsuhiko/click
|
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 devel}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
@ -55,12 +55,12 @@ an intended CLI API.
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
export LANG=en_US.UTF-8
|
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}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc CHANGES LICENSE README
|
%doc CHANGES LICENSE README
|
||||||
%{python_sitelib}/click
|
%{python_sitelib}/click
|
||||||
%{python_sitelib}/click-%{version}-py%{py_ver}.egg-info
|
%{python_sitelib}/click-%{version}-py%{python_version}.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user